Commit Graph

1835 Commits

Author SHA1 Message Date
Shen Wei Long
2ae7e45424 Merge branch 'feature/extend_h2_conon_num_to_70' into 'master'
change(ble): Updated the maximum number of concurrent connections to 70 on ESP32-H2

See merge request espressif/esp-idf!43664
2025-12-02 08:30:57 +00:00
Zhang Hai Peng
9a21040626 Merge branch 'bugfix/fix_ble_security_issue_2025_v2' into 'master'
fix(ble/bluedroid): Enhanced security in ble_ancs example

Closes BHOST2025-59

See merge request espressif/esp-idf!43800
2025-12-01 16:16:06 +08:00
zhanghaipeng
f502b2aab1 fix(ble/bluedroid): Fix security issues in GATT module 2025-11-30 16:22:26 +08:00
zhanghaipeng
b163685c06 fix(ble/bluedroid): Fix security issues in HCI module 2025-11-30 16:06:25 +08:00
zhanghaipeng
1ed5a4465d fix(ble/bluedroid): Fix security issues in GAP module 2025-11-30 15:48:24 +08:00
zhanghaipeng
b03ff3cf21 fix(ble/bluedroid): Add length check in prepare write response 2025-11-30 15:00:26 +08:00
zhanghaipeng
d2baf3b0d4 fix(ble/bluedroid): Add boundary check for adv_handle in btm_ble_adv_set_terminated_evt 2025-11-28 17:44:57 +08:00
zhanghaipeng
a6730c7da6 fix(ble/bluedroid): Add NULL checks in GATT APIs 2025-11-27 19:36:35 +08:00
zhanghaipeng
b71c51564a fix(ble/bluedroid): Add NULL checks in esp_gap_ble_api 2025-11-27 19:28:21 +08:00
zhanghaipeng
4b44d8e814 fix(ble/bluedroid): Add NULL check in esp_ble_gap_add_device_to_resolving_list 2025-11-27 19:12:54 +08:00
yangfeng
8e9bdda713 fix(bt/bluedroid): Fix the status judgment of the A2DP source registration SEP 2025-11-27 14:22:04 +08:00
Island
652b6aad4e Merge branch 'bugfix/fix_ble_security_issue_2025' into 'master'
Fix potential CVE-2024-0039 out-of-bounds write in attp_build_value_cmd

Closes BLERP-2295

See merge request espressif/esp-idf!42095
2025-11-27 10:37:25 +08:00
Wang Meng Yang
683ddf8a6e Merge branch 'bugfix/a2dp_deinit_crash' into 'master'
fix(bt): fixed crash caused by deinit during A2DP connection initiation

Closes IDFCI-3092, BT-4158, BTQABR2023-617, IDFCI-6268, and BT-4134

See merge request espressif/esp-idf!43534
2025-11-27 09:34:35 +08:00
xiongweichao
86975e6487 fix(bt): fixed crash caused by deinit during A2DP connection initiation
- Only clean up when idle
2025-11-26 11:31:56 +08:00
ShenWeilong
cd33f13521 change(ble): Updated the maximum number of concurrent connections to 70 on ESP32-H2 2025-11-24 21:03:47 +08:00
zhanghaipeng
71efec78c5 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
2025-11-24 14:42:26 +08:00
zhanghaipeng
e1d39f630f 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
2025-11-24 14:42:26 +08:00
zhanghaipeng
1f7fd91b5a fix(ble/bluedroid): Fix potential CVE-2020-0022 in reassemble_and_dispatch
- Reference: https://nvd.nist.gov/vuln/detail/CVE-2020-0022
2025-11-24 11:59:12 +08:00
Rahul Tank
c9090a57f2 fix(nimble): Add a check for psync before processing 2025-11-24 08:27:41 +05:30
zhanghaipeng
60a028fb17 feat(ble/blufi): Support setting BLE encryption for blufi 2025-11-21 16:41:33 +08:00
Wang Meng Yang
e48d37f307 Merge branch 'feat/add_param_indicate_create_spp_records' into 'master'
feat(bt): Add an SPP API parameter to indicate whether to create the SPP record

See merge request espressif/esp-idf!43485
2025-11-21 15:47:10 +08:00
Island
b978710fd1 Merge branch 'feat/support_bhost2025_52' into 'master'
feat(ble/nimble): support runtime allocation for mempool

Closes BLERP-2341

See merge request espressif/esp-idf!42963
2025-11-21 15:24:01 +08:00
Island
80454bbc59 Merge branch 'bugfix/bug_ble_max_device_record' into 'master'
fix(ble/bluedroid): Fixed BLE incorrect device record count issue

Closes BLERP-2405

See merge request espressif/esp-idf!43450
2025-11-21 11:37:47 +08:00
Island
e7e5a82a02 Merge branch 'bugfix/fix_ble_no_conn_and_disconn_evt' into 'master'
fix(ble/bluedroid): Fixed missing BLE connect and disconnect events

Closes BLERP-2340

See merge request espressif/esp-idf!42962
2025-11-21 11:25:03 +08:00
xiongweichao
67efd21f3d feat(bt): Adds an SPP API parameter to indicate whether to create SPP record 2025-11-19 06:06:01 +00:00
zhanghaipeng
9bfd9c5340 fix(ble/bluedroid): Fixed BLE incorrect device record count issue 2025-11-18 11:25:22 +08:00
zhiweijian
ec4052c1c7 fix(ble/bluedroid): Fixed reconnection failed with extend adv 2025-11-18 10:05:00 +08:00
chenjianhua
1e89ab704e feat(ble/nimble): support runtime allocation for mempool 2025-11-17 15:26:35 +08:00
Wang Meng Yang
3c447d998d Merge branch 'bugfix/fix_hid_memory_leak' into 'master'
fix(bt/bluedroid): Fixed HID memory leak

Closes BTQABR2023-602

See merge request espressif/esp-idf!43118
2025-11-13 16:30:47 +08:00
zhiweijian
738a684c36 fix(ble/bluedroid): Fixed CTE IQ sample data copy error 2025-11-11 20:00:44 +08:00
zhiweijian
a742abdcf5 fix(ble/bluedroid): Optimize some bluedroid code 2025-11-11 20:00:44 +08:00
zhiweijian
38e3f2ad3b fix(ble/bluedroid): Fixed big event status error 2025-11-11 20:00:44 +08:00
zhiweijian
d0f7140057 feat(ble/bluedroid): support bluedroid host channel sounding feature 2025-11-11 20:00:44 +08:00
zhiweijian
cb8b4df798 feat(ble/bluedroid): Supported BLE bluedroid host pawr connection 2025-11-11 20:00:34 +08:00
zhiweijian
865bccedbf feat(ble/bluedroid): Support LE Security Levels Characteristic 2025-11-11 19:58:38 +08:00
zhiweijian
9405c68bed feat(ble/bluedroid): Add bluedroid host Advertising Coding Selection feature 2025-11-11 19:58:26 +08:00
zhiweijian
056e83e3b8 feat(ble/bluedroid): Add bluedroid host PAwR feature 2025-11-11 19:58:14 +08:00
Wang Meng Yang
b712ec5696 Merge branch 'bugfix/cod_chg_by_scan_ena' into 'master'
fix(bt/bluedroid): update the COD before enabling inquiry scan

Closes BTQABR2023-546

See merge request espressif/esp-idf!41481
2025-11-11 15:45:07 +08:00
chenjianhua
1aeb965607 feat(ble/bluedroid): Add more debug log for bluedroid 2025-11-10 16:59:16 +08:00
Jin Cheng
6ca6f422da fix(bt/blurdoird): fixed an OOB write in bta_dm_sdp_result 2025-11-06 18:57:55 +08:00
liqigan
fa813a666d fix(bt/bluedroid): Fixed HID memory leak 2025-11-05 15:06:01 +08:00
Rahul Tank
3d71614836 Merge branch 'bugfix/fix_compilation_issues' into 'master'
fix(nimble): Address compilation issues in nimble examples

See merge request espressif/esp-idf!42563
2025-11-03 13:57:31 +05:30
Island
583cca8f8d Merge branch 'feat/support_blecrt_361' into 'master'
fix(ble/bluedroid): Fixed GATT response timeout setting

Closes BLERP-2041 and BLERP-2042

See merge request espressif/esp-idf!40187
2025-10-30 17:11:19 +08:00
Rahul Tank
2738c5ac76 fix(nimble): Address compilation issues in nimble examples 2025-10-30 10:54:36 +05:30
zhanghaipeng
2dcbd64616 fix(ble/bluedroid): Fixed missing BLE connect and disconnect events 2025-10-28 16:56:07 +08:00
chenjianhua
b936d0075c fix(ble/bluedroid): Fixed GATT response timeout setting 2025-10-27 17:34:52 +08:00
Rahul Tank
d27fb27181 feat(nimble): Add support for HCI commands / events
1. Read all local supported feature
      2. Read remote supported feature
      3. Advertising monitor.
2025-10-23 09:52:25 +05:30
Wang Meng Yang
f95a5f5231 Merge branch 'bugfix/oob_in_avrc_vendor_msg' into 'master'
fix(bt/bluedroid): fixed potential OOB in AVRCP vendor command composition

Closes BT-4130

See merge request espressif/esp-idf!42410
2025-10-23 09:52:42 +08:00
Island
160df75e64 Merge branch 'feat/support_get_ble_local_irk' into 'master'
feat(ble/bluedroid): add API to get local BLE IRK

Closes BLERP-2278

See merge request espressif/esp-idf!42214
2025-10-21 18:03:09 +08:00
zhanghaipeng
9df828835c fix(ble/bluedroid): fix memory leak during deinit when service table is created but not started 2025-10-17 17:45:35 +08:00