Commit Graph

35252 Commits

Author SHA1 Message Date
Sudeep Mohanty
ef14b4984e test(freertos): Added stability fixes to the delete blocked tasks test 2025-12-24 08:10:50 +01:00
Jiang Jiang Jian
cee385a459 Merge branch 'fix/fix_an_ot_kconfig_error_v5.1' into 'release/v5.1'
fix(openthread): fix an error in Kconfig (v5.1)

See merge request espressif/esp-idf!44000
2025-12-21 15:43:35 +08:00
Jiang Jiang Jian
44e2e05c23 Merge branch 'bugfix/fix_some_bugs_related_to_ampdu_v5.1' into 'release/v5.1'
Bugfix/fix some bugs related to ampdu v5.1(backport v5.1)

See merge request espressif/esp-idf!44322
2025-12-19 19:13:03 +08:00
Jiang Jiang Jian
c0c18750e5 Merge branch 'ci/fix_wifi_cases_5.1' into 'release/v5.1'
Ci: fix wifi cases 5.1

See merge request espressif/esp-idf!44022
2025-12-19 19:12:35 +08:00
Island
f4d5c598cb Merge branch 'fix/ble_log_v2_dual_core_iwt_v5.1' into 'release/v5.1'
fix(ble): added missed spin lock initialization (v5.1)

See merge request espressif/esp-idf!44377
2025-12-19 15:12:13 +08:00
Zhou Xiao
ed5b9667a8 fix(ble): added missed spin lock initialization
(cherry picked from commit 069262e513)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-12-18 17:13:33 +08:00
Jiang Jiang Jian
dc6d6bd947 Merge branch 'fix/fix_esp32s2_phy_issue_v51' into 'release/v5.1'
fix(phy): fix esp32s2 phy lib issue v51

See merge request espressif/esp-idf!44339
2025-12-18 15:47:54 +08:00
Island
83aa397d4d Merge branch 'fix/ble_log_v2_cache_error_v5.1' into 'release/v5.1'
BLE Log v2 Function Update 251125 (v5.1)

See merge request espressif/esp-idf!43866
2025-12-18 13:28:03 +08:00
Island
e421c70877 Merge branch 'bugfix/fix_bt_4205_v5.1' into 'release/v5.1'
Fixed BLE assert lld_con.c 1479 on ESP32-C3 and ESP32-S3(5106725) (v5.1)

See merge request espressif/esp-idf!44324
2025-12-18 11:28:58 +08:00
Island
844213cd3a Merge branch 'bugfix/fix_ble_security_issue_2025_v5.1' into 'release/v5.1'
Fix potential CVE-2024-0039 out-of-bounds write in attp_build_value_cmd (v5.1)

See merge request espressif/esp-idf!43803
2025-12-18 10:58:26 +08:00
Island
5a9a1bba75 Merge branch 'bugfix/fix_reconnect_failed_with_extend_adv_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Fixed the issue that extend advertising might not restart if the connection fails (v5.1)

See merge request espressif/esp-idf!44247
2025-12-18 10:53:12 +08:00
wangtao@espressif.com
b4a32c8610 fix(phy): fix esp32s2 phy lib issue 2025-12-17 20:08:43 +08:00
Jiang Jiang Jian
7137596fb8 Merge branch 'bugfix/fix_esp32_coex_cache_disable_crash_v5.1' into 'release/v5.1'
fix(coex): fix esp32 coex crash issue (e0421fa8)

See merge request espressif/esp-idf!44293
2025-12-17 16:31:08 +08:00
Chen Jian Hua
24dc81221d fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(5106725)
- Fixed BLE assert lld_con.c 1479


(cherry picked from commit 22641241fa)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-12-17 12:53:50 +08:00
yinqingzhao
a0d51456c9 fix(wifi): fix cannot send omc 2025-12-17 11:28:01 +08:00
yinqingzhao
2f0bb9fdd0 fix(wifi): fix some bugs related to ampdu 2025-12-17 11:27:33 +08:00
zhiweijian
1023637148 fix(ble/bluedroid): Fixed reconnection failed with extend adv 2025-12-17 11:16:52 +08:00
Jiang Jiang Jian
c1e26334ab Merge branch 'fix/small-limit-for-kconfserver_v5.1' into 'release/v5.1'
fix: allow larger buffer size for commands (especially for idf.py confserver) (v5.1)

See merge request espressif/esp-idf!44303
2025-12-17 10:37:37 +08:00
Jiang Jiang Jian
8a19d06fb8 Merge branch 'bugfix/fix_gcmp_fragment_tx_issue_v5.1' into 'release/v5.1'
fix(wifi): fix some wapi and fragment issues(Backport v5.1)

See merge request espressif/esp-idf!44166
2025-12-17 10:22:45 +08:00
zhanghaipeng
fd4599fb53 fix(ble/bluedroid): Fix VLA in a2dp_gatts_coex example 2025-12-17 00:04:45 +08:00
zhanghaipeng
f981b1e86d fix(ble/bluedroid): Fix security issues in HCI module 2025-12-17 00:04:45 +08:00
Zhang Hai Peng
de0d79fa1e fix(ble/bluedroid): Fix security issues in GATT module
(cherry picked from commit f502b2aab1)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-17 00:04:45 +08:00
Zhang Hai Peng
32d608fdf5 fix(ble/bluedroid): Fix security issues in GAP module
(cherry picked from commit 1ed5a4465d)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-17 00:04:45 +08:00
Zhang Hai Peng
9d67270327 fix(ble/bluedroid): Add length check in prepare write response
(cherry picked from commit b03ff3cf21)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-17 00:04:45 +08:00
Zhang Hai Peng
7e53fe2b4c fix(ble/bluedroid): Add boundary check for adv_handle in btm_ble_adv_set_terminated_evt
(cherry picked from commit d2baf3b0d4)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-17 00:04:45 +08:00
Zhang Hai Peng
0d7ed9e048 fix(ble/bluedroid): Add NULL checks in GATT APIs
(cherry picked from commit a6730c7da6)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-17 00:04:45 +08:00
Zhang Hai Peng
677e3c1284 fix(ble/bluedroid): Add NULL checks in esp_gap_ble_api
(cherry picked from commit b71c51564a)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-17 00:04:45 +08:00
Zhang Hai Peng
3e5810b5f4 fix(ble/bluedroid): Add NULL check in esp_ble_gap_add_device_to_resolving_list
(cherry picked from commit 4b44d8e814)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-17 00:04:45 +08:00
Zhang Hai Peng
73f8cc0826 fix(ble/bt): Add NULL check in esp_hid_device example
(cherry picked from commit 8e0f74a2cc)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-17 00:04:45 +08:00
Zhang Hai Peng
2a5d00e314 fix(ble/bt): Add NULL check in esp_hid_host example
(cherry picked from commit 8b5dd75368)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-17 00:04:45 +08:00
Zhang Hai Peng
867c76f83d fix(ble/blufi): Add DH param length validation
(cherry picked from commit 773814c087)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-17 00:04:45 +08:00
Zhang Hai Peng
8c58dbaa3c fix(ble/bluedroid): Use snprintf in ble_eddystone example
(cherry picked from commit 24e023e307)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-17 00:04:45 +08:00
Zhang Hai Peng
4f0e60fe0b fix(ble/bluedroid): Fix potential out-of-bounds issue
- add length check in hci_hal_h4_hdl_rx_packet to prevent OOB
- add adv data length check in btm_ble_cache_adv_data
- add indicate data length check in BTA_GATTS_HandleValueIndication
- add report length check in bta_hh_parse_keybd_rpt
- add report length check in BTA_HdSendReport
- add descriptor length check in BTA_HdRegisterApp
- prevent buffer overflow in attribute processing


(cherry picked from commit 71efec78c5)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-17 00:04:45 +08:00
Zhang Hai Peng
4bda17200f fix(ble/bluedroid): Fix potential CVE-2024-0039 out-of-bounds write in attp_build_value_cmd
- Reference: https://source.android.com/docs/security/bulletin/2024-03-01?hl=zh-cn


(cherry picked from commit e1d39f630f)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-17 00:04:45 +08:00
Zhang Hai Peng
754a18a2b0 fix(ble/bluedroid): Fix potential CVE-2020-0022 in reassemble_and_dispatch
- Reference: https://nvd.nist.gov/vuln/detail/CVE-2020-0022


(cherry picked from commit 1f7fd91b5a)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-17 00:04:45 +08:00
Jan Beran
05e3c24322 fix: set sufficient buffer limit for idf.py confserver 2025-12-16 12:15:20 +01:00
liuning
e8c61f0d27 fix(coex): fix esp32 coex crash issue (e0421fa8) 2025-12-16 16:03:40 +08:00
muhaidong
e85b0b5017 docs(wifi): update wifi fragment doc 2025-12-16 14:10:03 +08:00
muhaidong
b5ae0ada3d fix(wifi): fix some wapi and fragment issues
1. fix gcmp fragment rx issue
2. support wapi fragment tx and rx
3. fix wapi uskid issue
2025-12-16 14:09:54 +08:00
Jiang Jiang Jian
a247a4dbe1 Merge branch 'fix/avoid_unncessary_encryption_for_mgmt_packets_v5.1' into 'release/v5.1'
fix(wifi): fix memory corruption by avoiding unncessary encryption of Mgmt frames (Backport v5.1)

See merge request espressif/esp-idf!44212
2025-12-16 14:00:48 +08:00
Sarvesh Bodakhe
c7ba439230 fix(wifi): fix memory corruption by avoiding unncessary encryption of Mgmt frames
When wpa_supplicant sends an authentication response for an already
connection station (with keys installed after a successful 4-way
handshake), the Mgmt packet was encrypted unconditionaly based on
'bss->pmf_enable'. This lead to memory corruption since extra space for
the encryption header was assumed even when it was not there.

Fix this by verifying that the packet is actually a robust management
frame before enabling the encryption.
2025-12-15 09:58:47 +05:30
Jiang Jiang Jian
ba7e73349e Merge branch 'bugfix/ftm_memory_corruption_v5.1' into 'release/v5.1'
bugfix(wifi): Resolve the memory corruption issue in FTM (backport v5.1)

See merge request espressif/esp-idf!44192
2025-12-15 10:34:42 +08:00
Akshat Agrawal
669df500c3 bugfix(wifi): Resolve the memory corruption issue in FTM 2025-12-12 15:52:54 +05:30
Jiang Jiang Jian
c4b992a0fa Merge branch 'fix/fix_clear_reason_status_issue' into 'release/v5.1'
fix(wifi): fix not clear disconnect reason status issue

See merge request espressif/esp-idf!44164
2025-12-12 17:19:10 +08:00
Jiang Jiang Jian
63c78a51e1 Merge branch 'fix/correct_adc_periph_num_on_c2_v5.1' into 'release/v5.1'
fix(adc): fix ESP32-C2/P4 wrong adc periph num (v5.1)

See merge request espressif/esp-idf!41540
2025-12-12 10:21:35 +08:00
Jiang Jiang Jian
dd754fc2a4 Merge branch 'bugfix/fix_event_filter_bug_v5.1' into 'release/v5.1'
fix(bt/controller): Fixed hci connection request event filter bug (v5.1)

See merge request espressif/esp-idf!43879
2025-12-12 10:17:51 +08:00
Jiang Jiang Jian
43b1fa99d7 Merge branch 'feature/extend_h2_conon_num_to_70_v5.1' into 'release/v5.1'
change(ble): Updated the maximum number of concurrent connections to 70 on ESP32-H2 (v5.1)

See merge request espressif/esp-idf!43831
2025-12-12 10:17:06 +08:00
Jiang Jiang Jian
d7793f860f Merge branch 'fix/fix_an_ot_trel_risk_v5.1' into 'release/v5.1'
fix(openthread): fix a potential stack overflow in TREL (v5.1)

See merge request espressif/esp-idf!43936
2025-12-12 10:15:22 +08:00
Jiang Jiang Jian
a2448622ff Merge branch 'fix/v55_lib_update_v5.1' into 'release/v5.1'
fix(openthread): resolve deadlock issues due to switching_lock (v5.1)

See merge request espressif/esp-idf!44085
2025-12-12 10:13:14 +08:00
wangtao@espressif.com
1914c32c3e fix(wifi): fix not clear disconnect reason status issue 2025-12-11 19:42:13 +08:00