Commit Graph

29155 Commits

Author SHA1 Message Date
Jiang Jiang Jian
eb66d56d95 Merge branch 'fix/ble_mesh_friend_send_seg_msg_failed_v5.3' into 'release/v5.3'
fix(ble_mesh): fix Friend queue losing segmented messages for LPN (5.3)

See merge request espressif/esp-idf!47933
2026-05-06 10:33:27 +08:00
ShenWeilong
b3409aa6e3 fix(ble): always init the default os queue for all of controllers 2026-05-05 00:05:41 +08:00
Mahavir Jain
d1894abdc1 Merge branch 'fix/fix_ws_server_subprotocols_null_dereference_v5.3' into 'release/v5.3'
fix: fixes websocket server possible null dereference (v5.3)

See merge request espressif/esp-idf!48020
2026-05-04 11:14:54 +05:30
Mahavir Jain
1fcc90497d Merge branch 'fix/fix_protocomm_sec2_input_validations_v5.3' into 'release/v5.3'
fix(protocomm): fixes potential issues that can lead to crash during device provisioning (v5.3)

See merge request espressif/esp-idf!48022
2026-05-04 10:33:29 +05:30
Mahavir Jain
22c03fefc0 Merge branch 'fix/relax_rsa_operation_performance_numbers_v5.3' into 'release/v5.3'
fix(mbedtls): relaxes performance numbers for RSA operations (v5.3)

See merge request espressif/esp-idf!48019
2026-05-04 10:32:43 +05:30
Mahavir Jain
46b707de5a Merge branch 'feat/check_crlf_http_server_response_headers_v5.3' into 'release/v5.3'
feat(esp_http_server): adds check for crlf in response creation (v5.3)

See merge request espressif/esp-idf!48026
2026-05-04 10:32:15 +05:30
Rahul Tank
93454c1da0 fix(nimble): cleanup: remove extraneous script file
Removed files that were unintentionally included in an earlier commit
2026-05-01 19:22:40 +05:30
Jiang Jiang Jian
72a42f9957 Merge branch 'bugfix/fastpsk_optimization_v5.3' into 'release/v5.3'
fast psk optimization (v5.3)

See merge request espressif/esp-idf!47958
2026-04-30 17:56:29 +08:00
Jiang Jiang Jian
c42048ace1 Merge branch 'bugfix/wps_frag_handling_v5.3' into 'release/v5.3'
fix(wps): harden enrollee WSC fragment handling (v5.3)

See merge request espressif/esp-idf!47963
2026-04-30 17:56:10 +08:00
Jiang Jiang Jian
913fde844c Merge branch 'feat/sae_calculation_optimizations_v5.3' into 'release/v5.3'
esp_wifi: Optimize crypto operations for SAE (v5.3)

See merge request espressif/esp-idf!47962
2026-04-30 17:55:53 +08:00
Zhang Wen Xu
15f7e0a7e3 Merge branch 'fix/handle_escape_characters_v5.3' into 'release/v5.3'
Fix/handle escape characters (v5.3)

See merge request espressif/esp-idf!48098
2026-04-30 06:34:53 +00:00
Euripedes Rocha
6388861fd1 Merge branch 'fix/lwip_dhcps_oob_read_v5.3' into 'release/v5.3'
fix(lwip): Fix DHCP servver OOB read issue (v5.3)

See merge request espressif/esp-idf!48052
2026-04-30 07:41:43 +02:00
Xu Si Yu
de06b16392 fix(openthread): always reserve null-terminator space when appending escaped args 2026-04-30 11:04:42 +08:00
Xu Si Yu
53852099a7 feat(openthread): align spinel radio caps with RCP CSMA backoff and TX retry support 2026-04-29 20:09:12 +08:00
Xu Si Yu
d9fe4f61c8 fix(openthread): escape CLI arguments and enforce command buffer bounds 2026-04-29 20:09:12 +08:00
zwx
4903a35812 fix(openthread): fix SPI host-RCP communication loss
- 1. H2 SPI slave DMA transaction length insufficient for CMD_RESET
  frame
- 2. H2 SPI slave BUSY race at boot causing permanent deadlock
- 3. H2 INT pin spurious NEGEDGE on chip reset
- 4. H2 SPI slave trans_len exceeding buffer size
- 5. S3 host RST flag handling preventing Spinel-layer reset detection
- 6. S3 stale eventfd events after HardwareReset causing WaitResponse
  timeout
- 7. ot_br missing coprocessor reset failure callback
2026-04-29 19:37:26 +08:00
zwx
cf7d017e1f fix(openthread): make the code more robust 2026-04-29 19:32:34 +08:00
gaoxu
5f0fec460e fix(adc): fix ESP32-H2/C5/C61 clock divide error 2026-04-29 12:11:35 +08:00
gaoxu
bc589604b5 ci(adc): add adc continuous sample frequency test 2026-04-29 12:11:30 +08:00
morris
fcf344d218 Merge branch 'feat/soc_usb_fsls_phy_num_backport_v5.3' into 'release/v5.3'
feat(soc): add SOC_USB_FSLS_PHY_NUM for USB-OTG targets (backport v5.3)

See merge request espressif/esp-idf!47945
2026-04-29 10:58:43 +08:00
Jiang Jiang Jian
270e7a8d22 Merge branch 'bugfix/ai_review_a2dp_v5.3' into 'release/v5.3'
fix(bt): fix A2DP issues reported by AI code review (v5.3)

See merge request espressif/esp-idf!47757
2026-04-29 10:34:06 +08:00
Island
b181eb8430 Merge branch 'change/ble_update_lib_20260424_v5.3' into 'release/v5.3'
change(ble): [AUTO_MR] 20260424 - Update ESP BLE Controller Lib (5.3)

See merge request espressif/esp-idf!47992
2026-04-29 10:33:52 +08:00
David Cermak
9f713dbc94 fix(lwip): Fix DHCP servver OOB read issue 2026-04-28 17:06:58 +02:00
Wang Meng Yang
e0f6a878c9 Merge branch 'bugfix/ai_review_hfp_v5.3' into 'release/v5.3'
fix(bt): fix HFP issues reported by AI code review (v5.3)

See merge request espressif/esp-idf!47764
2026-04-28 15:18:25 +08:00
Ashish Sharma
a60e1546fb feat(esp_http_server): adds check for crlf in response creation 2026-04-28 15:13:50 +08:00
Ashish Sharma
0ea58d7984 fix(protocomm): fixes potential issues that can lead to crash during device provisioning 2026-04-28 15:05:01 +08:00
Ashish Sharma
83bb83a75d fix: fixes memory leak with subprotocols 2026-04-28 15:02:00 +08:00
Ashish Sharma
f88a47e4f3 fix: fixes websocket server possible null dereference 2026-04-28 15:02:00 +08:00
Ashish Sharma
7428bcfcc0 fix(mbedtls): relaxes performance numbers for RSA operations 2026-04-28 14:41:40 +08:00
Rahul Tank
0f58a092ee Merge branch 'bugfix/gap_name_appearance_clobber_v5.3' into 'release/v5.3'
fix(nimble): Fix few nimble issues 21042026 (v5.3)

See merge request espressif/esp-idf!47942
2026-04-28 11:57:36 +05:30
Marius Vikhammer
8122a88b2d Merge branch 'fix/freertos_mutex_not_given_by_owner_v5.3' into 'release/v5.3'
fix(freertos): hide obsolete mutex-owner config and harden assert test (v5.3)

See merge request espressif/esp-idf!47773
2026-04-28 10:15:37 +08:00
Shen Wei Long
df99116768 change(ble_log): update ble log version to 5 for esp ble controller log encoding indication
(cherry picked from commit 836f87cc4a)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-04-27 11:43:35 +00:00
Shen Wei Long
9361b1c43f change(ble): [AUTO_MR] Update lib_esp32c6 to 6c6de5d6
(cherry picked from commit 70acbd85f2)

Co-authored-by: ShenWeilong <shenweilong@espressif.com>
2026-04-27 11:43:25 +00:00
Shen Wei Long
56f2a2446a change(ble): [AUTO_MR] Update lib_esp32h2 to 6c6de5d6
(cherry picked from commit f3b2bf78aa)

Co-authored-by: ShenWeilong <shenweilong@espressif.com>
2026-04-27 11:43:24 +00:00
Rahul Tank
5411674692 fix(nimble): Move ble_log_init/deinit to esp_nimble_init/deinit 2026-04-27 16:25:09 +05:30
Astha Verma
f488b5a930 fix(nimble): Preserve device name across ble_svc_gap_init re-call 2026-04-27 16:01:13 +05:30
Jiang Jiang Jian
984b886ea0 Merge branch 'bugfix/esp_task_wdt_v5.3' into 'release/v5.3'
fix(esp_system): Handle failures correctly in esp_task_wdt_reconfigure() (backport v5.3)

See merge request espressif/esp-idf!45900
2026-04-27 17:27:38 +08:00
Ashish Sharma
8061d573c7 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:42 +08:00
Omar Chebib
35ec172eaf fix(esp_system): fix a typo in the comments 2026-04-27 10:43:53 +08:00
Angus Gratton
eba4259a73 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-27 10:39:58 +08:00
Angus Gratton
08ca6ccc96 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-27 10:39:58 +08:00
yangfeng
fffb3adf3c fix(bt): fix HFP api and btc component issues reported by AI review 2026-04-27 09:54:32 +08:00
yangfeng
b13e110097 fix(bt): fix HFP bta component issues reported by AI review 2026-04-27 09:54:32 +08:00
Kapil Gupta
5207880ddb ci(wpa_supplicant): Add UT for supplicant crypto 2026-04-26 10:09:48 +05:30
Kapil Gupta
41980d9e85 fix(esp_wifi): Optimize crypto operations for SAE
- 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-25 16:54:16 +05:30
Kapil Gupta
37c48a5548 fix(esp_wifi): clean up fragment rx flow 2026-04-25 16:45:39 +05:30
Kapil Gupta
e873d0ce79 fix(esp_wifi): Address review comments on MR 2026-04-25 16:41:55 +05:30
Kapil Gupta
dfdc3002df fix(esp_wifi): Disconnect before sending WPS success event 2026-04-25 16:36:44 +05:30
Kapil Gupta
43eb40f5fa fix(esp_wifi): Address some issues in esp_supplicant WPS states
* Use atomic operations for s_wps_enabled flag access across tasks
  * Add bounds checking on WPS IE length and SSID before copying
  * Validate EAP-Expanded vendor/type and EAP-Request truncation
  * Use new EAP-WSC fragment helpers and length constants for clarity
  * Treat unexpected WSC opcodes/states as recoverable (no FAIL)
  * Use os_zalloc + proper cleanup in wifi_station_wps_init error path
  * Use wpa_hexdump_ascii_key for credential keys to avoid leaking PSK
  * Restore previous wps_type / s_wps_enabled if disable post fails
2026-04-25 16:31:09 +05:30
Kapil Gupta
096ef3aef0 fix(wps): harden enrollee WSC fragment handling 2026-04-25 16:23:21 +05:30