Commit Graph

37750 Commits

Author SHA1 Message Date
zhangyanjiao
a3fa56db51 fix(wifi): fixed the buffer overflow issues
1. Added validation for password and reserved data length in ESPTouch v2
2. Added bound check for data index in ESPTouch v1 HT40
3. prevent buffer overflow when parsing MBSSID beacon
2026-07-21 14:09:35 +08:00
morris
e8a5192a18 Merge branch 'ci/fix_the_parlio_rx_spi_test_case' into 'master'
ci(parlio_rx): fixed the parlio rx spi test case

Closes IDF-9806

See merge request espressif/esp-idf!43536
2026-07-21 10:54:05 +08:00
Jiang Jiang Jian
e41650a966 Merge branch 'bugfix/remove_phy_lib_librfate' into 'master'
fix(phy): removed all librfate logic from cmake

Closes IDFCI-13345

See merge request espressif/esp-idf!50940
2026-07-21 10:49:48 +08:00
Island
de98d9d4ad Merge branch 'feat/feat_support_phy_enable_using_regdma' into 'master'
Feat/feat support phy enable using regdma

Closes BLERP-2376, BLERP-2381, and PM-635

See merge request espressif/esp-idf!46356
2026-07-21 10:40:03 +08:00
Island
c3083dfae5 Merge branch 'opt/bluedroid_trace_none_without_ble_log_host' into 'master'
change(ble/bluedroid): disable host trace logs when BLE Log host is off

See merge request espressif/esp-idf!50902
2026-07-21 10:39:36 +08:00
Island
30c632bebb Merge branch 'bugfix/fix_bluedroid_set_rand_addr_during_scan' into 'master'
fix(ble/bluedroid): report set rand addr result on HCI complete

Closes BLERP-2965

See merge request espressif/esp-idf!50663
2026-07-21 10:39:27 +08:00
Island
bf05267d95 Merge branch 'fix/ble_hidd_remove_ccc_gating' into 'master'
fix(esp_hid/bluedroid): remove app-layer CCC gating in HID device

Closes BCI-601

See merge request espressif/esp-idf!50766
2026-07-21 10:39:23 +08:00
Chen Jichang
cf57711b09 ci(parlio_rx): fixed the parlio rx spi test case 2026-07-20 19:31:42 +08:00
Erhan Kurubas
2411f0f52d feat(hal): implement enable_debug/enable_record for ESP32-S31 CPU utility 2026-07-20 12:13:21 +02:00
Island
756b89c852 Merge branch 'change/ble_update_lib_20260717' into 'master'
change(ble): [AUTO_MR] 20260717 - Update ESP BLE Controller Lib

Closes BLERP-2973, BLERP-2974, BLERP-2975, and BLERP-2976

See merge request espressif/esp-idf!50861
2026-07-20 16:42:19 +08:00
Island
e309933c07 Merge branch 'feat/optimize_for_esp32h4_light_sleep_ble_current' into 'master'
Feat/optimize for esp32h4 light sleep ble current

Closes BLERP-2958, BLERP-2959, BLERP-2960, and BLERP-2961

See merge request espressif/esp-idf!50415
2026-07-20 16:42:13 +08:00
zhanghaipeng
1f8f935e3f change(ble/bluedroid): disable host trace logs when BLE Log host is off
Default all Bluedroid layer trace levels to NONE when BLE async log
is enabled without BLE_LOG_HOST_LOG.
2026-07-20 15:43:27 +08:00
Erhan Kurubas
44bc2ac703 Merge branch 'esp_riscv_trace' into 'master'
RISC-V Trace Encoder

See merge request espressif/esp-idf!49821
2026-07-20 09:15:17 +02:00
morris
2da1deee3b Merge branch 'contrib/github_pr_18864' into 'master'
docs: fix duplicate word typos across docs and hal (GitHub PR)

Closes IDFGH-18006

See merge request espressif/esp-idf!50942
2026-07-20 15:02:23 +08:00
muhaidong
d4f6638b07 fix(phy): removed all librfate logic from cmake 2026-07-20 14:24:52 +08:00
Marius Vikhammer
71c8c6df3a Merge branch 'fix/ringbuf_max_item_size' into 'master'
fix(esp_ringbuf): harden ringbuf creation sizes checks

Closes SEC-1118

See merge request espressif/esp-idf!50445
2026-07-20 13:33:18 +08:00
Mahavir Jain
ef2d5c887d Merge branch 'feat/mbedtls_update_4.1.1' into 'master'
Feat/mbedtls update 4.1.1

See merge request espressif/esp-idf!50602
2026-07-20 09:34:19 +05:30
Wang Meng Yang
0a43435b7b Merge branch 'fix/ble_log_compression_add_local_header_file' into 'master'
feat(ble_log): mirror local compression headers

See merge request espressif/esp-idf!50870
2026-07-20 11:47:44 +08:00
cjin
8f845298c1 feat(ble): supported placing bt function in iram on esp32-h4 and esp32-s31 2026-07-20 10:48:26 +08:00
cjin
5db0097a27 feat(modem_clock): rename ble mac module to bt mac 2026-07-20 10:48:26 +08:00
cjin
7275f6ffbf feat(modem_clock): separete btmac module to btmac and bt peripheral 2026-07-20 10:48:26 +08:00
cjin
48c53023c8 feat(modem_clock): separate bt sec apb clock and add to bt apb module 2026-07-20 10:48:26 +08:00
cjin
9c432f41b5 feat(modem_clock): added bt_apb module and separete bt_apb from bt_mac module 2026-07-20 10:48:26 +08:00
Ma Jing Jing
fef97f4436 Merge branch 'feature/add_asrc_sleep_retention' into 'master'
feat(asrc): Add sleep retention

See merge request espressif/esp-idf!50719
2026-07-20 02:00:19 +00:00
Atharva-2708
f8544b40df docs: fix duplicate word typos across docs and hal
Removes duplicated "the" typos in FreeRTOS, eFuse, Kconfig documentation, and the HAL README.

Signed-off-by: Atharva-2708 <atharva.btech27@gmail.com>
2026-07-19 15:31:16 +05:30
Kapil Gupta
578e51b26b Merge branch 'bugfix/rmac_scan' into 'master'
fix(esp_wifi): fix issues for scan, and NULL packets tx for random mac

Closes WIFIBUG-2009, WIFIBUG-2008, and WIFIBUG-2029

See merge request espressif/esp-idf!50298
2026-07-18 20:22:49 +05:30
Shreyas Sheth
37646ec2d5 fix(esp_wifi): fix issues for scan, and NULL packets tx for random mac (9bbd59c) 2026-07-18 17:38:50 +08:00
Rahul Tank
4e3756889e Merge branch 'bugfix/add_dis_ieee_udi_to_config' into 'master'
fix(nimble): Add option to disable IEEE and UDI Characteristic in DIS

See merge request espressif/esp-idf!50254
2026-07-18 09:31:15 +05:30
Jiang Jiang Jian
3b11b2d810 Merge branch 'bugfix/nan_mem_corruption' into 'master'
Fix(NAN): fix Memory Corruption due to BIP encryption

Closes WIFIBUG-2035, WIFIBUG-1946, and WIFIBUG-1947

See merge request espressif/esp-idf!50469
2026-07-17 20:39:48 +08:00
Wang Meng Yang
c1eb1922bb Merge branch 'bugfix/hid_host_oob_read' into 'master'
fix(bt/bluedroid): fixed possible 1-byte OOB read in bta_hh_ctrl_dat_act

Closes SEC-786

See merge request espressif/esp-idf!50703
2026-07-17 20:06:45 +08:00
Wang Mengyang
bbd20cae01 fix(bt): Fixed build error on array-bounds in HFP AG 2026-07-17 19:36:51 +08:00
Shu Chen
73b55e893f Merge branch 'support/ot_register_154_event_cb' into 'master'
feat(openthread): use ieee802154 event callback list instead of weak overrides

See merge request espressif/esp-idf!50825
2026-07-17 11:08:50 +00:00
Martin Vychodil
ce31bdda6d Merge branch 'contrib/github_pr_18829' into 'master'
fix(spiffs): fix off-by-one in spiffsgen.py obj name length check (GitHub PR)

Closes IDFGH-17964

See merge request espressif/esp-idf!50671
2026-07-17 18:51:37 +08:00
Erhan Kurubas
2c11810ad9 feat(esp_riscv_trace): add riscv trace encoder driver with hal/ll layer 2026-07-17 12:42:13 +02:00
Sonika Rathi
6f95ab46f1 Merge branch 'contrib/github_pr_18822' into 'master'
fix(esp_partition): prevent size_t overflow bypassing bounds checks on linux target (GitHub PR)

Closes IDFGH-17957

See merge request espressif/esp-idf!50894
2026-07-17 18:35:24 +08:00
Martin Vychodil
d450308955 Merge branch 'bugfix/nvs-flash-erase-partition-leak' into 'master'
fix(nvs_flash): delete temporary NVSPartition after erase

Closes IDF-15869 and SEC-1168

See merge request espressif/esp-idf!50736
2026-07-17 18:13:08 +08:00
Martin Vychodil
eed724484e Merge branch 'bugfix/vfs_fat_readdir_stat_cache' into 'master'
fix(fatfs): move readdir-stat cache to per-DIR stream

See merge request espressif/esp-idf!50509
2026-07-17 18:06:35 +08:00
Sumeet Singh
63d14290cc fix(nimble): Add option to disable IEEE and UDI Characteristic in DIS 2026-07-17 14:54:21 +05:30
Martin Vychodil
cb1e4f4859 Merge branch 'bugfix/sdmmc-ddr-response-buffer-leak' into 'master'
fix(sdmmc): free DMA response buffer on DDR mode switch failure

Closes IDFGH-17929

See merge request espressif/esp-idf!50586
2026-07-17 16:45:10 +08:00
Martin Vychodil
e10d55619c Merge branch 'contrib/github_pr_18823' into 'master'
fix(vfs): use MAX_FDS instead of VFS_MAX_COUNT when clearing fd table on unregister (GitHub PR)

Closes IDFGH-17954, IDF-15868, and SEC-254

See merge request espressif/esp-idf!50678
2026-07-17 16:40:46 +08:00
Akshat Agrawal
4f93a6777b Fix(NAN): fix Memory Corruption due to BIP encryption
- Set internal NAN params based on the user configurable Platform

 - On a secured NDP the responder could not derive keys
   (passphrase/credential mismatch); reject cleanly and
   fire ndp_terminated/ndp_confirm(REJECTED) on every
   teardown path so the host frees the NDP-ID.

 - Tear down the old NDP when the same peer re-initiates with
   a new M1, instead of rejecting and leaking the NDL.
2026-07-17 13:51:16 +05:30
Nachiket Kukade
a8ff7d2ab3 fix(nan): Guard netif calls in NAN_STARTED default event handler
- Commit 08e98f6f30 utilises CONFIG_LWIP_ND6_SUPPORT_STATIC_ENTRIES
  for adding static entries.
- It moves netif calls that generate GOT IPv6 to NAN_STARTED default
  handler without guard, but guards the removal in NDP Confirm handler
- Fix the possible duplicate calls by putting calls from NAN_STARTED
  handler under CONFIG_LWIP_ND6_SUPPORT_STATIC_ENTRIES guard
2026-07-17 13:51:16 +05:30
Sarvesh Bodakhe
161197138a fix(nan): log service match only after the security gate passes
- subscriber security gate, so a gated (dropped) match still logged an
   affirmative match line while no WIFI_EVENT_NAN_SVC_MATCH was posted.
   Log only when the event is sent.

 - security_cfg was copied into the service slot even with security_reqd=0,
   while credential validation only runs when security_reqd is set. Such an
   undeclared config silently armed the subscriber service-match security
   gate, suppressing match events. Scrub security_cfg from the working copy
   and warn instead.
2026-07-17 13:51:05 +05:30
Jiang Jiang Jian
a7c44ab4a0 Merge branch 'bugfix/add_en_rst_in_pvt_func_for_p4' into 'master'
fix(pvt): add en reset in pvt func for p4 on master

Closes IDFCI-12684, IDFCI-12696, IDFCI-12692, IDFCI-12694, IDFCI-12698, IDFCI-12724, IDFCI-12799, IDFCI-13041, IDFCI-13044, IDFCI-13043, IDFCI-12364, IDFCI-13073, IDFCI-7257, IDFCI-7261, IDFCI-12470, IDFCI-12471, IDFCI-13088, IDFCI-13042, IDFCI-7258, IDFCI-12693, IDFCI-12697, IDFCI-12695, IDFCI-11510, IDFCI-12465, IDFCI-12582, IDFCI-12474, IDFCI-12473, IDFCI-12463, IDFCI-7248, IDFCI-12469, IDFCI-12583, IDFCI-13098, IDFCI-13100, IDFCI-13099, IDFCI-13097, IDFCI-12363, and IDFCI-13217

See merge request espressif/esp-idf!50466
2026-07-17 16:20:39 +08:00
Martin Vychodil
d03292cd46 Merge branch 'contrib/github_pr_18817' into 'master'
fix(wear_levelling): guard WL_Flash::write()/read() against size==0 underflow (GitHub PR)

Closes IDFGH-17948, IDF-15867, and SEC-1132

See merge request espressif/esp-idf!50722
2026-07-17 16:08:19 +08:00
Jiang Jiang Jian
d75007fdfa Merge branch 'fix/update_phylib_to_fix_esp32c61_bod_rts' into 'master'
fix(phy): fix esp32c61 bod rst

Closes WIFIBUG-1755

See merge request espressif/esp-idf!49374
2026-07-17 15:53:01 +08:00
luoxu
ee732a4591 feat(ble_log): mirror local compression headers 2026-07-17 15:46:50 +08:00
Laukik Hase
f3db589cdc Merge branch 'ci/fix_esp_tee_cli_app_build' into 'master'
Fix `tee_cli_app` build failure due to heap overflow

Closes IDFCI-13287

See merge request espressif/esp-idf!50864
2026-07-17 12:10:29 +05:30
Chen Chen
836471c6b7 Merge branch 'feat/i2s_duplex_update' into 'master'
feat(i2s): allow full duplex mode in less strict condition

Closes IDF-15787

See merge request espressif/esp-idf!49662
2026-07-17 14:36:51 +08:00
Jiang Jiang Jian
23b3c3d4ca Merge branch 'bugfix/supplicant_crypto_code_correction' into 'master'
fix(wpa_supplicant): Correct some functions in crypto porting layer

See merge request espressif/esp-idf!50236
2026-07-17 14:12:59 +08:00