CVE-2023-53252
Bluetooth: use RCU for hci_conn_params and iterate safely in hci_sync
Mitigation
- Upgrade Linux to 195ef75e19287b4bc413da3e3e3722b030ac881e or later.
Who should check
- Anyone running Linux >= e8907f76544ffe225ab95d70f7313267b1d0c76d, < 13ad45ad14df992a6754a130a19abc8c142d54e2; >= e8907f76544ffe225ab95d70f7313267b1d0c76d, < cef88a0fd8e9c2e838162fbb742b3e713b811a7e; >= e8907f76544ffe225ab95d70f7313267b1d0c76d, < 195ef75e19287b4bc413da3e3e3722b030ac881e
- Anyone running Linux 5.17
Vulnerability facts
- Affected
- Linux >= e8907f76544ffe225ab95d70f7313267b1d0c76d, < 13ad45ad14df992a6754a130a19abc8c142d54e2; >= e8907f76544ffe225ab95d70f7313267b1d0c76d, < cef88a0fd8e9c2e838162fbb742b3e713b811a7e; >= e8907f76544ffe225ab95d70f7313267b1d0c76d, < 195ef75e19287b4bc413da3e3e3722b030ac881e; Linux 5.17
- Fixed in
- Linux 13ad45ad14df992a6754a130a19abc8c142d54e2, Linux 195ef75e19287b4bc413da3e3e3722b030ac881e
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: use RCU for hci_conn_params and iterate safely in hci_sync hci_update_accept_list_sync iterates over hdev->pend_le_conns and hdev->pend_le_reports, and waits for controller events in the loop body, without holding hdev lock. Meanwhile, these lists and the items may be modified e.g. by le_scan_cleanup. This can invalidate the list cursor or any other item in the list, resulting to invalid behavior (eg use-after-free). Use RCU for the hci_conn_params action lists. Since the loop bodies in hci_sync block and we cannot use RCU or hdev->lock for the whole loop, copy list items first and then iterate on the copy. Only the flags field is written from elsewhere, so READ_ONCE/WRITE_ONCE should guarantee we read valid values. Free params everywhere with hci_conn_params_free so the cleanup is guaranteed to be done properly. This fixes the following, which can be triggered e.g. by BlueZ new mgmt-tester case "Add + Remove Device Nowait - Success", or by changing hci_le_set_cig_params to always return false, and running iso-tester: ================================================================== BUG: KASAN: slab-use-after-free in hci_update_passive_scan_sync (net/bluetooth/hci_sync.c:2536 net/bluetooth/hci_sync.c:2723 net/bluetooth/hci_sync.c:2841) Read of size 8 at addr ffff888001265018 by task kworker/u3:0/32 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-1.fc38 04/01/2014 Workqueue: hci0 hci_cmd_sync_work Call Trace: <TASK> dump_stack_lvl (./arch/x86/include/asm/irqflags.h:134 lib/dump_stack.c:107) print_report (mm/kasan/report.c:320 mm/kasan/report.c:430) ? __virt_addr_valid (./include/linux/mmzone.h:1915 ./include/linux/mmzone.h:2011 arch/x86/mm/physaddr.c:65) ? hci_update_passive_scan_sync (net/bluetooth/hci_sync.c:2536 net/bluetooth/hci_sync.c:2723 net/bluetooth/hci_sync.c:2841) kasan_report (mm/kasan/report.c:538) ? hci_update_passive_scan_sync (net/bluetooth/hci_sync.c:2536 net/bluetooth/hci_sync.c:2723 net/bluetooth/hci_sync.c:2841) hci_update_passive_scan_sync (net/bluetooth/hci_sync.c:2536 net/bluetooth/hci_sync.c:2723 net/bluetooth/hci_sync.c:2841) ? __pfx_hci_update_passive_scan_sync (net/bluetooth/hci_sync.c:2780) ? mutex_lock (kernel/locking/mutex.c:282) ? __pfx_mutex_lock (kernel/locking/mutex.c:282) ? __pfx_mutex_unlock (kernel/locking/mutex.c:538) ? __pfx_update_passive_scan_sync (net/bluetooth/hci_sync.c:2861) hci_cmd_sync_work (net/bluetooth/hci_sync.c:306) process_one_work (./arch/x86/include/asm/preempt.h:27 kernel/workqueue.c:2399) worker_thread (./include/linux/list.h:292 kernel/workqueue.c:2538) ? __pfx_worker_thread (kernel/workqueue.c:2480) kthread (kernel/kthread.c:376) ? __pfx_kthread (kernel/kthread.c:331) ret_from_fork (arch/x86/entry/entry_64.S:314) </TASK> Allocated by task 31: kasan_save_stack (mm/kasan/common.c:46) kasan_set_track (mm/kasan/common.c:52) __kasan_kmalloc (mm/kasan/common.c:374 mm/kasan/common.c:383) hci_conn_params_add (./include/linux/slab.h:580 ./include/linux/slab.h:720 net/bluetooth/hci_core.c:2277) hci_connect_le_scan (net/bluetooth/hci_conn.c:1419 net/bluetooth/hci_conn.c:1589) hci_connect_cis (net/bluetooth/hci_conn.c:2266) iso_connect_cis (net/bluetooth/iso.c:390) iso_sock_connect (net/bluetooth/iso.c:899) __sys_connect (net/socket.c:2003 net/socket.c:2020) __x64_sys_connect (net/socket.c:2027) do_syscall_64 (arch/x86/entry/common.c:50 arch/x86/entry/common.c:80) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:120) Freed by task 15: kasan_save_stack (mm/kasan/common.c:46) kasan_set_track (mm/kasan/common.c:52) kasan_save_free_info (mm/kasan/generic.c:523) __kasan_slab_free (mm/kasan/common.c:238 mm/kasan/common.c:200 mm/kasan/common.c:244) __kmem_cache_free (mm/slub.c:1807 mm/slub.c:3787 mm/slub.c:3800) hci_conn_params_del (net/bluetooth/hci_core.c:2323) le_scan_cleanup (net/bluetooth/hci_conn.c:202) process_one_work (./arch/x86/include/asm/preempt. ---truncated---
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= e8907f76544ffe225ab95d70f7313267b1d0c76d, < 13ad45ad14df992a6754a130a19abc8c142d54e2; >= e8907f76544ffe225ab95d70f7313267b1d0c76d, < cef88a0fd8e9c2e838162fbb742b3e713b811a7e; >= e8907f76544ffe225ab95d70f7313267b1d0c76d, < 195ef75e19287b4bc413da3e3e3722b030ac881e | — | cvelist |
| Linux | 5.17 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-53252. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-53252.md Affected: Linux >= e8907f76544ffe225ab95d70f7313267b1d0c76d, < 13ad45ad14df992a6754a130a19abc8c142d54e2; >= e8907f76544ffe225ab95d70f7313267b1d0c76d, < cef88a0fd8e9c2e838162fbb742b3e713b811a7e; >= e8907f76544ffe225ab95d70f7313267b1d0c76d, < 195ef75e19287b4bc413da3e3e3722b030ac881e; Linux 5.17 Fixed in: Linux 13ad45ad14df992a6754a130a19abc8c142d54e2, Linux 195ef75e19287b4bc413da3e3e3722b030ac881e Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2023-53252 being exploited?
There is no confirmed exploitation: CVE-2023-53252 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-53252?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-53252?
Linux >= e8907f76544ffe225ab95d70f7313267b1d0c76d, < 13ad45ad14df992a6754a130a19abc8c142d54e2; >= e8907f76544ffe225ab95d70f7313267b1d0c76d, < cef88a0fd8e9c2e838162fbb742b3e713b811a7e; >= e8907f76544ffe225ab95d70f7313267b1d0c76d, < 195ef75e19287b4bc413da3e3e3722b030ac881e; Linux 5.17.
Is there a fix for CVE-2023-53252?
Yes. Fixed in Linux 13ad45ad14df992a6754a130a19abc8c142d54e2, Linux 195ef75e19287b4bc413da3e3e3722b030ac881e. Upgrade Linux to 195ef75e19287b4bc413da3e3e3722b030ac881e or later.
How do I check if I'm affected by CVE-2023-53252?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.