Commit Graph
26591 Commits
Author SHA1 Message Date
Mahavir Jain e6354612eb Merge branch 'fix/fix_possible_null_dereference_wifi_provisioning_v5.2' into 'release/v5.2'
fix(wifi_provisioning): fixes potential null dereference on malformed packet (v5.2)

See merge request espressif/esp-idf!48024
2026-05-05 15:44:21 +05:30
Mahavir Jain 3f127af1fc Merge branch 'fix/fix_protocomm_sec2_input_validations_v5.2' into 'release/v5.2'
fix(protocomm): fixes potential issues that can lead to crash during device provisioning (v5.2)

See merge request espressif/esp-idf!48023
2026-05-04 15:24:26 +05:30
Mahavir Jain 305efa67ab Merge branch 'fix/fix_ws_server_subprotocols_null_dereference_v5.2' into 'release/v5.2'
fix: fixes websocket server possible null dereference (v5.2)

See merge request espressif/esp-idf!48021
2026-05-04 10:36:25 +05:30
Ashish Sharma dcc46710f7 feat(esp_http_server): adds check for crlf in response creation 2026-04-28 15:14:04 +08:00
Ashish Sharma 450ccdcb9a fix(wifi_provisioning): fixes memory leak on OOM 2026-04-28 15:06:12 +08:00
Ashish Sharma bfc62578de fix(wifi_provisioning): fixes potential null dereference on malformed packet 2026-04-28 15:06:12 +08:00
Ashish Sharma 56c3e38561 fix(protocomm): fixes potential issues that can lead to crash during device provisioning 2026-04-28 15:05:14 +08:00
Ashish Sharma 83790f32b6 fix: fixes memory leak with subprotocols 2026-04-28 15:03:31 +08:00
Ashish Sharma dc46dc5135 fix: fixes websocket server possible null dereference 2026-04-28 15:03:28 +08:00
Mahavir Jain 5b72b65d61 Merge branch 'change/exclude_cve-2025-66442_5.5_v5.2' into 'release/v5.2'
change(mbedtls): adds CVE-2025-66442 to exclude list. (v5.2)

See merge request espressif/esp-idf!47971
2026-04-27 12:35:07 +05:30
Ashish Sharma 06b3c019b6 change(mbedtls): adds CVE-2025-66442 to exclude list.
The CVE is applicable with Clang using LLVM's select-optimize feature. ESP-IDF uses GCC as default compiler and sets -Os as the default optimisation flag
2026-04-27 14:11:56 +08:00
Ashish Sharma 39b56cbdba fix(esp_srp): reject SRP client public key when A mod N is zero 2026-04-27 13:06:54 +08:00
Sarvesh Bodakhe fc987e3b1a fix(wifi): use reason 210 when AP found but security incompatible
When an AP is found during a connecting scan but filtered out due to security
mismatch (FT-PSK only with FT disabled, WPA3 without PMF-required,
OWE without MFPR), set authmode_incompatible flag so the disconnect
reason is WIFI_REASON_NO_AP_FOUND_W_COMPATIBLE_SECURITY (210) instead
of WIFI_REASON_NO_AP_FOUND (201).
2026-04-24 19:26:37 +05:30
Jiang Jiang Jian 5c5a4740fa Merge branch 'bugfix/fix_c6_fragment_tx_enable_dhcp_request_fail_issue_v5.2' into 'release/v5.2'
fix(wifi): fix DHCP failure due to fragment TX being enabled on C6 v5.2

See merge request espressif/esp-idf!47804
2026-04-24 20:23:22 +08:00
Jiang Jiang Jian dba77f55c6 Merge branch 'bugfix/validate_ptk_generation_v5.2' into 'release/v5.2'
fix(esp_wifi): fail if ptk derivation fails (v5.2)

See merge request espressif/esp-idf!47855
2026-04-24 20:18:20 +08:00
Kapil Gupta 47885e6a62 fix(esp_wifi): fail if ptk derivation fails 2026-04-23 12:01:59 +05:30
muhaidong d3b3e8bbf9 fix(wifi): fix DHCP failure due to fragment TX being enabled on C6 2026-04-21 14:58:07 +08:00
Mahavir Jain 4aac6c4da4 fix(bootloader): fix signature verification skip in deep sleep scenario
For CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP enabled and exit from
deep sleep case the secure boot signature verification must be skipped
to improve the wakeup performance.

Closes https://github.com/espressif/esp-idf/issues/15590
2026-04-14 20:45:03 +05:30
Sarvesh Bodakhe 89c4a1748e fix(wifi): add improvements in scan and connect path
- Validate PMF and TKIP cipher combinations (TKIP incompatible with
  MFPR - Management Frame Protection Required)
- Acknolwdege FT-PSK only  as WPA2_PSK AP
2026-04-13 23:13:24 +05:30
Jiang Jiang Jian eed38621ec Merge branch 'feat/sae_calculation_optimizations_v5.2' into 'release/v5.2'
fix(esp_wifi): Optimize crypto operations in supplicant (v5.2)

See merge request espressif/esp-idf!47485
2026-04-13 22:58:07 +08:00
Jiang Jiang Jian 08ae4683c2 Merge branch 'fix/sae_identifier_pmk_cache_v5.2' into 'release/v5.2'
Add conditions to check pmk flushing for similar ssid(v5.2)

See merge request espressif/esp-idf!47519
2026-04-13 22:12:34 +08:00
Jiang Jiang Jian 3920e5db7d Apply 1 suggestion(s) to 1 file(s) 2026-04-13 22:08:20 +08:00
Jiang Jiang Jian 4b3b4eef38 Merge branch 'bugfix/esp_task_wdt_v5.2' into 'release/v5.2'
fix(esp_system): Handle failures correctly in esp_task_wdt_reconfigure() (backport v5.2)

See merge request espressif/esp-idf!45901
2026-04-13 19:28:49 +08:00
tarun.kumar 6c47dddaf2 fix(wifi) : Add conditions to check pmk flushing for similar ssid 2026-04-13 14:58:37 +05:30
Jiang Jiang Jian 4aad317cfa Merge branch 'fix/add_check_and_fix_docs_for_154_v5.2' into 'release/v5.2'
fix(802.15.4) added some error checks to make the code more robust(Backport v5.2)

See merge request espressif/esp-idf!47166
2026-04-13 15:40:26 +08:00
Marius Vikhammer 1b3b807eb5 Merge branch 'docs/refresh-broken-links_v5.2' into 'release/v5.2'
docs: refresh broken documentation links (v5.2)

See merge request espressif/esp-idf!47497
2026-04-13 13:37:34 +08:00
Kapil Gupta 06aac5643b ci(wpa_supplicant): Add UT for supplicant crypto 2026-04-13 09:23:29 +05:30
morris b592fde441 Merge branch 'bugfix/flash_user_command_with_pms_v5.2' into 'release/v5.2'
fix(flash): flash erase operation may fail to raise PMS exception (v5.2)

See merge request espressif/esp-idf!47458
2026-04-13 11:42:32 +08:00
Zhang Wen Xu 8126874b2e Merge branch 'feat/radio_spinel_driver_interface_optimization_v5.2' into 'release/v5.2'
feat(openthread): optimize radio spinel uart interface (v5.2)

See merge request espressif/esp-idf!47414
2026-04-13 02:56:05 +00:00
Marius Vikhammer 073c886c15 docs: refresh broken documentation links 2026-04-13 09:50:57 +08:00
Jiang Jiang Jian 15085fd29c Merge branch 'bugfix/fix_some_bt_coex_bugs_v5.2' into 'release/v5.2'
fix(coex): fix some esp32 coexistence bugs (Backport v5.2)

See merge request espressif/esp-idf!47406
2026-04-12 14:56:36 +08:00
zwx 46b4607b26 fix(802.15.4) added some error checks to make the code more robust 2026-04-12 14:56:34 +08:00
Angus Gratton ef704d556e fix(esp_system): Allow esp_task_wdt_reconfigure() if timer is stopped
If Task WDT is initialised but not start, the call to esp_timer_stop() in
the reconfigure path returns ESP_ERR_INVALID_STATE and reconfiguring the
Task WDT fails. This isn't the case when the Timer Group is used for Task
WDT.

(This failure cascades into the failure due to disabled interrupts, fixed
in the parent commit.)

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2026-04-12 14:49:28 +08:00
Angus Gratton 0a11c35c5e fix(esp_system): Handle failures correctly in esp_task_wdt_reconfigure()
- Failures were being masked as function always returned ESP_OK
- In the failure path the spinlock was not unlocked, so interrupts
  became permanently disabled.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2026-04-12 14:49:28 +08:00
Kapil Gupta 729441e8b3 fix(esp_wifi): Optimize crypto operations in supplicant
- Montgomery multiplication fast path for P-256 mulmod
- Jacobi symbol for legendre (replacing exp_mod)
- Software Jacobian point multiplication for MPI-only chips
- ECC hardware acceleration for supported chips
- ECDH fast path for P-256
2026-04-11 11:57:23 +05:30
Xu Si Yu 1da6d5a1ba feat(openthread): optimize radio spinel uart interface 2026-04-10 20:03:25 +08:00
Song Ruo Jing 9d2d125c85 fix(flash): flash erase operation may fail to raise PMS exception 2026-04-10 15:51:02 +08:00
Island 10e699212d Merge branch 'change/ble_update_lib_20260409_v5.2' into 'release/v5.2'
change(ble): [AUTO_MR] 20260409 - Update ESP BLE Controller Lib (5.2)

See merge request espressif/esp-idf!47415
2026-04-10 15:43:22 +08:00
Island 8d2bfb58e4 Merge branch 'bugfix/fix_ble_pair_fail_v5.2' into 'release/v5.2'
fix(bt/bluedroid): fix BLE SMP pairing failure on BLE-only devices when using defalut param (5.2)

See merge request espressif/esp-idf!47397
2026-04-10 11:13:50 +08:00
Zhao Wei Liang fcfeaaeb4a feat(ble): add adv tx options on ESP32-H2
(cherry picked from commit 8ef46541cd)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-10 10:22:40 +08:00
Zhao Wei Liang 347a5a14dd feat(ble): add adv tx options on ESP32-C6
(cherry picked from commit e85bb5cca8)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-10 10:22:40 +08:00
Zhao Wei Liang 437a32c9b1 change(ble): [AUTO_MR] Update lib_esp32c6 to c9fbba6f
(cherry picked from commit 24d0f0fad1)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-10 10:22:40 +08:00
Zhao Wei Liang 9540ae562c change(ble): [AUTO_MR] Update lib_esp32h2 to c9fbba6f
(cherry picked from commit 9bfcc76221)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-10 10:22:40 +08:00
linruihao 7e36a1ad5a fix(coex): fix some esp32 coexistence bugs
- fix ble scan may restart twice in coex scenarios
- fix bredr page/pscan coex request/release not match
- fix bredr incorrect inquiry length calculation
- update bredr page/inquiry pti
- add coex pti protection for entire page/inquiry event
2026-04-10 10:12:03 +08:00
Tan Yan Quan 85f792f756 fix(openthread): update OT upstream to b1a37932b to fix mbedtls version check 2026-04-09 19:54:25 +08:00
morris 8f599c82f1 Merge branch 'fix/fix_mmu_dirom_reserve_search_logic_v5.2' into 'release/v5.2'
mmu: fixed drom/irom reservation bus cap search logic (v5.2)

See merge request espressif/esp-idf!47393
2026-04-09 15:23:26 +08:00
Jiang Jiang Jian 966e5b698c Merge branch 'bugfix/oob_read_in_continue_packet_v5.2' into 'release/v5.2'
fix(bt/bluedroid): fix ACL reassembly dropping valid continuation fragments (v5.2)

See merge request espressif/esp-idf!47382
2026-04-09 14:36:21 +08:00
Jiang Jiang Jian fae7503e65 Merge branch 'bugfix/fix_legacy_touch_driver_stuck_after_dsleep_v5.2' into 'release/v5.2'
fix(legacy_touch): fixed the read stuck issue after deep sleep (v5.2)

See merge request espressif/esp-idf!46013
2026-04-09 12:21:40 +08:00
Jiang Jiang Jian bceba82ae8 Merge branch 'feat/update_mbedtls_3_6_6_v5.2' into 'release/v5.2'
feat(mbedtls): Update to v3.6.6 (v5.2)

See merge request espressif/esp-idf!47299
2026-04-09 12:21:19 +08:00
Jiang Jiang Jian fc8ced73ee Merge branch 'fix/esp32_adc_continuous_loss_sample_v5.2' into 'release/v5.2'
Fix/esp32 adc continuous loss sample (v5.2)

See merge request espressif/esp-idf!42832
2026-04-09 12:21:11 +08:00