Commit Graph

42687 Commits

Author SHA1 Message Date
luoxu
44dabf960a feat(ble): split log compression Kconfig into separate mesh and host files 2026-07-16 11:50:23 +08:00
Luo Xu
1e4709a1e4 fix(ble): fix Bluedroid log compression for newly added modules
(cherry picked from commit 8d4f1cb608)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-07-16 11:50:23 +08:00
Martin Vychodil
a2f7d4b004 Merge branch 'fix/cleanup_after_failed_nvs_set_blob_v5.3' into 'release/v5.3'
Fixed cleanup after nvs_set_blob failed on ESP_ERR_NVS_NOT_ENOUGH_SPACE (v5.3)

See merge request espressif/esp-idf!50746
2026-07-15 18:38:48 +08:00
Euripedes Rocha
dddeb71ef8 Merge branch 'fix/lwip_sec_high_v5.3' into 'release/v5.3'
fix(lwip): high severity lwip fixes (v5.3)

See merge request espressif/esp-idf!50596
2026-07-15 10:49:18 +02:00
Island
1cb47dcaa7 Merge branch 'feat/support_bluedroid_le_coc_and_eatt_v5.3' into 'release/v5.3'
feat(ble/bluedroid): Support bluedroid LE COC and EATT features (5.3)

See merge request espressif/esp-idf!50712
2026-07-15 14:02:56 +08:00
morris
a6008cbeea Merge branch 'bugfix/dma2d_dequeue_mechanism_v5.3' into 'release/v5.3'
fix(dma2d): add a dequeue mechanism for dma2d driver (v5.3)

See merge request espressif/esp-idf!50517
2026-07-15 12:01:18 +08:00
morris
947281f046 Merge branch 'contrib/github_pr_18677_v5.3' into 'release/v5.3'
fix(uart): fix threshold configuration loss when interrupts are disabled (v5.3)

See merge request espressif/esp-idf!50527
2026-07-15 11:59:15 +08:00
morris
33ab160fa5 Merge branch 'fix/fix_rgb_frame_buffer_alignment_v5.3' into 'release/v5.3'
fix(gdma): fix buffer alignment when psram ecc enabled (v5.3)

See merge request espressif/esp-idf!50000
2026-07-15 11:53:58 +08:00
morris
7249bdd890 Merge branch 'fix/fix_i2c_olde_example_hang_v5.3' into 'release/v5.3'
fix(i2c_oled): fix example hang when i2c transaction fails (v5.3)

See merge request espressif/esp-idf!50384
2026-07-15 11:53:14 +08:00
radek.tandler
1d8ca0c66b fix(nvs_flash): fixed cleanup after nvs_set_blob failed on ESP_ERR_NVS_NOT_ENOUGH_SPACE
- fixed identification of blob parts to be cleaned by using right starting chunk index
  - improved localisation of blobs for cases where some of pages get reclaimed
  - created host test cases covering the edge cases above
2026-07-14 17:34:41 +02:00
Euripedes Rocha
7a911c980d Merge branch 'fix/w5500_rx_buffer_corruption_recovery_v5.3' into 'release/v5.3'
fix(esp_eth): recover W5500 RX path on corrupted frame length (v5.3)

See merge request espressif/esp-idf!50649
2026-07-14 14:34:00 +02:00
Zhi Wei Jian
607c5833ef feat(ble/bluedroid): Add bluedroid dual identify server example
(cherry picked from commit 1de0d2fef7)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 15:01:30 +08:00
zhiweijian
bfdb6f5c9e fix(ble/bluedroid): guard GATT database hash and serialization 2026-07-14 14:59:15 +08:00
Zhi Wei Jian
329c1c8f8e feat(ble/bluedroid): Support bluedroid dual identity
(cherry picked from commit 2358786647)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 14:26:15 +08:00
Rahul Tank
43280d9be8 Merge branch 'bugfix/fix_bond_store_overflow_v5.3' into 'release/v5.3'
fix(nimble): Fix bond-store overflow when IRK is enabled (v5.3)

See merge request espressif/esp-idf!50627
2026-07-14 11:17:48 +05:30
Zhi Wei Jian
ebd9ca130e fix(ble/bluedroid): use BOOLEAN for BLE HCI command builders
(cherry picked from commit abbf001120)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:03:55 +08:00
Zhi Wei Jian
5f7deedd8b fix(ble/bluedroid): clean up LE CoC connect on CCB alloc failure
(cherry picked from commit 4fd1ebb4a9)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:03:54 +08:00
Zhi Wei Jian
f080478455 docs(ble/bluedroid): note ISO BIG HCI alloc failure not checked
(cherry picked from commit 34b59d30ae)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:03:54 +08:00
Zhi Wei Jian
ea9fdcd2e0 fix(ble/bluedroid): fix direct-connect cleanup and adv bounds
(cherry picked from commit 82e71c1767)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:03:54 +08:00
Zhi Wei Jian
1f3d235a9f fix(ble/bluedroid): validate BLE confirm/OOB and sec-check device
(cherry picked from commit 93ab11d564)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:03:53 +08:00
Zhi Wei Jian
7e677879a6 fix(ble/bluedroid): validate SMP pair-fail reason and OOB device
(cherry picked from commit 98efe02385)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:03:53 +08:00
Zhi Wei Jian
de4598284a fix(ble/bluedroid): route ATT indication-conf timeout separately
(cherry picked from commit 6c3267ee84)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:03:52 +08:00
Zhi Wei Jian
315ff40e71 fix(ble/bluedroid): validate ATT PDU sizes
(cherry picked from commit bb00b9817d)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:03:52 +08:00
Zhi Wei Jian
c3d78e8c66 fix(ble/bluedroid): re-lookup GATT TCB after enc-complete callback
(cherry picked from commit 37562af0ea)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:03:52 +08:00
Zhi Wei Jian
80992db5a6 fix(ble/bluedroid): fix GATT long read and Service Changed CCC
(cherry picked from commit 4ce692ac0c)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:03:51 +08:00
Zhi Wei Jian
c5ee2be0ed fix(ble/bluedroid): validate GATT client discovery handles
(cherry picked from commit ac35ae6f2d)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:03:51 +08:00
Zhi Wei Jian
c202b37fa8 fix(ble/bluedroid): cap Read By Type length and free failed service decl
(cherry picked from commit 27ff0cf8c7)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:03:51 +08:00
Zhi Wei Jian
6fa7f4195d fix(ble/bluedroid): fix GATT server busy errors and sr_cmd handling
(cherry picked from commit f86739b03d)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:03:50 +08:00
Zhi Wei Jian
a6fed3daae fix(ble/bluedroid): fix GATT teardown and service-change flow
(cherry picked from commit 0645ba469d)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:03:50 +08:00
Zhi Wei Jian
0927c1990d fix(ble/bluedroid): fix GATT service lifecycle leaks
(cherry picked from commit ac93d94958)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:03:49 +08:00
Zhi Wei Jian
c33e3c13bc fix(ble/bluedroid): add GATT resource-cleanup helpers
(cherry picked from commit b83327f3ca)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:03:49 +08:00
Zhi Wei Jian
1b3a7a04c2 feat(ble/bluedroid): Support bluedroid LE COC and EATT features
(cherry picked from commit 83f0831c53)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 11:56:00 +08:00
Island
28e501b89d Merge branch 'ble-log-console-migration-notice_v5.3' into 'release/v5.3'
Ble log console repository migration (5.3)

See merge request espressif/esp-idf!50604
2026-07-14 10:20:38 +08:00
Island
9c65614fa5 Merge branch 'fix/ble_mesh_fixed_issues_v5.3' into 'release/v5.3'
Resolve reported BLE mesh stack issues (5.3)

See merge request espressif/esp-idf!50404
2026-07-14 10:16:53 +08:00
Guilherme Ferreira
724897ecc2 fix(esp_eth): recover W5500 RX path on corrupted frame length
Reject an implausible SPI-read frame-length header and drain the
socket RX buffer to resync Sn_RX_RD, instead of looping forever on
the unrecoverable descriptor and starving the system.
2026-07-10 23:06:13 +00:00
Euripedes Rocha
b6234bb6fc Merge branch 'fix/sec-347-hostname-null-check_v5.3' into 'release/v5.3'
fix(esp_netif): reject NULL hostname in esp_netif_set_hostname_api (SEC_347) (v5.3)

See merge request espressif/esp-idf!50593
2026-07-10 14:14:51 +02:00
Chen Jichang
0dad295632 fix(i2c_oled): fix example hang when i2c transaction fails
Closes https://github.com/espressif/esp-idf/issues/18713
2026-07-10 17:57:11 +08:00
Rahul Tank
dd42e3ced3 fix(nimble): Fix bond-store overflow when IRK is enabled 2026-07-10 13:31:39 +05:30
guozifan
e654698551 remove(ble): migrate BLE Log Console out of ESP-IDF 2026-07-10 15:37:26 +08:00
morris
e11c30437a Merge branch 'fix/uhci_rx_fsm_v5.3' into 'release/v5.3'
fix(uhci): rx fsm race condition (v5.3)

See merge request espressif/esp-idf!50581
2026-07-10 11:22:38 +08:00
Jiang Jiang Jian
f6bad005cf Merge branch 'change/change_regdma_malloc_caps_v5.3' into 'release/v5.3'
change(esp_hw_support): change regdma malloc caps to allow getting memory in the DMA pool (v5.3)

See merge request espressif/esp-idf!50261
2026-07-10 10:28:44 +08:00
David Cermak
2e2d398904 fix(lwip): Adds nullchecks after DHCP server alloc'd pools 2026-07-09 16:09:22 +02:00
David Cermak
3c4d786a2c fix(lwip): reject invalid DHCP MTU option values
Validate MTU from DHCP option 26 against RFC 2132 minimum (68 bytes)
before applying to netif->mtu, preventing rogue DHCP servers from
setting MTU to 0 or other dangerously low values that cause integer
wraparound in IPv4 fragmentation.
2026-07-09 16:09:21 +02:00
Euripedes Rocha Filho
5e65088205 fix(esp_netif): reject NULL hostname in esp_netif_set_hostname_api
esp_netif_set_hostname_api() dereferenced hostname via strlen() without
checking it for NULL first, causing a NULL pointer dereference.
2026-07-09 16:08:17 +02:00
Hu Rui
9bcf04ab89 fix(uhci): rx fsm race condition
Closes https://github.com/espressif/esp-idf/issues/18746
2026-07-09 19:06:08 +08:00
Zhang Wen Xu
b6860b2db5 Merge branch 'feat/update_openthread_submodule_and_br_lib_20260624_v5.3' into 'release/v5.3'
feat(openthread): update openthread submodule (v5.3)

See merge request espressif/esp-idf!50521
2026-07-09 10:16:54 +00:00
Mahavir Jain
6f389eb69b Merge branch 'change/sbom_exclude_fixed_cves_v5.3' into 'release/v5.3'
change(sbom): exclude ESP-IDF CVEs already fixed on release/v5.3 (v5.3)

See merge request espressif/esp-idf!50573
2026-07-09 15:28:01 +05:30
Frantisek Hrbata
94ce057ccc change(sbom): exclude ESP-IDF CVEs already fixed on release/v5.3
esp-idf-sbom reports four ESP-IDF CVEs against this branch because NVD
pins them to 5.3.5 -- the version release/v5.3 still reports until 5.3.6
is released -- even though the fixes are already merged here:

  - CVE-2026-45160  DHCP server OOB read (9f713dbc94)
  - CVE-2026-45541  esp_http_server WebSocket NULL dereference (f88a47e4f3)
  - CVE-2026-45542  protocomm SRP6a heap overflow (0ea58d7984)
  - CVE-2026-46532  BlueDroid AVRCP vendor-command parser OOB read (7c004d3fe3)

esp-idf-sbom merges this repository-local excluded_cves.yaml into its
exclusion list when scanning the tree, so these CVEs are reported as
excluded for this branch while the released v5.3.5 tag, which predates
this file, is still reported. Once version.cmake is bumped to 5.3.6 the
entries become no-ops (NVD does not list 5.3.6) and can be removed.

Compared to the release/v5.5 file this backport was adapted from, the
two ESP-TEE CVEs do not apply (NVD pins them to 5.5.4 and 6.0 only) and
CVE-2026-46532 is added (fixed in the released v5.5.4, but only after
v5.3.5 on this branch).

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-07-09 11:52:14 +02:00
wuzhenghui
82712313ea change(heap): reserve DMA pool with low priority MALLOC_CAP_DEFAULT caps 2026-07-09 17:37:14 +08:00
morris
afede76609 Merge branch 'fix/dac_continuous_flag_v5.3' into 'release/v5.3'
fix(dac): dac_continuous set is_cyclic flag in async mode (v5.3)

See merge request espressif/esp-idf!50542
2026-07-09 16:51:44 +08:00