# CVE-2023-53252: Bluetooth: use RCU for hci\_conn\_params and iterate safely in hci\_sync

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-09-15T14:46:21.720Z
- **Modified:** 2026-08-05T09:13:16.128Z

## Who should check

- Anyone running Linux \>= e8907f76544ffe225ab95d70f7313267b1d0c76d, \< 13ad45ad14df992a6754a130a19abc8c142d54e2; \>= e8907f76544ffe225ab95d70f7313267b1d0c76d, \< cef88a0fd8e9c2e838162fbb742b3e713b811a7e; \>= e8907f76544ffe225ab95d70f7313267b1d0c76d, \< 195ef75e19287b4bc413da3e3e3722b030ac881e
- Anyone running Linux 5.17

## 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

- Linux: \>= e8907f76544ffe225ab95d70f7313267b1d0c76d, \< 13ad45ad14df992a6754a130a19abc8c142d54e2; \>= e8907f76544ffe225ab95d70f7313267b1d0c76d, \< cef88a0fd8e9c2e838162fbb742b3e713b811a7e; \>= e8907f76544ffe225ab95d70f7313267b1d0c76d, \< 195ef75e19287b4bc413da3e3e3722b030ac881e (cvelist)
- Linux: 5.17 (cvelist)

## Mitigation

- Upgrade Linux to 195ef75e19287b4bc413da3e3e3722b030ac881e or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- patch: <https://git.kernel.org/stable/c/13ad45ad14df992a6754a130a19abc8c142d54e2>
- patch: <https://git.kernel.org/stable/c/cef88a0fd8e9c2e838162fbb742b3e713b811a7e>
- patch: <https://git.kernel.org/stable/c/195ef75e19287b4bc413da3e3e3722b030ac881e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53252>

HTML: <https://flawdb.com/CVE-2023-53252> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53252>
