CVE-2023-52518
Bluetooth: hci_codec: Fix leaking content of local_codecs
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 8961987f3f5fa2f2618e72304d013c8dd5e604a6, < 626535077ba9dc110787540d1fe24881094c15a1; >= 8961987f3f5fa2f2618e72304d013c8dd5e604a6, < eea5a8f0c3b7c884d2351e75fbdd0a3d7def5ae1; >= 8961987f3f5fa2f2618e72304d013c8dd5e604a6, < b938790e70540bf4f2e653dcd74b232494d06c8f
- Anyone running Linux 5.16
Vulnerability facts
- Affected
- Linux >= 8961987f3f5fa2f2618e72304d013c8dd5e604a6, < 626535077ba9dc110787540d1fe24881094c15a1; >= 8961987f3f5fa2f2618e72304d013c8dd5e604a6, < eea5a8f0c3b7c884d2351e75fbdd0a3d7def5ae1; >= 8961987f3f5fa2f2618e72304d013c8dd5e604a6, < b938790e70540bf4f2e653dcd74b232494d06c8f; Linux 5.16
- Fixed in
- Linux 626535077ba9dc110787540d1fe24881094c15a1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-770
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_codec: Fix leaking content of local_codecs The following memory leak can be observed when the controller supports codecs which are stored in local_codecs list but the elements are never freed: unreferenced object 0xffff88800221d840 (size 32): comm "kworker/u3:0", pid 36, jiffies 4294898739 (age 127.060s) hex dump (first 32 bytes): f8 d3 02 03 80 88 ff ff 80 d8 21 02 80 88 ff ff ..........!..... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<ffffffffb324f557>] __kmalloc+0x47/0x120 [<ffffffffb39ef37d>] hci_codec_list_add.isra.0+0x2d/0x160 [<ffffffffb39ef643>] hci_read_codec_capabilities+0x183/0x270 [<ffffffffb39ef9ab>] hci_read_supported_codecs+0x1bb/0x2d0 [<ffffffffb39f162e>] hci_read_local_codecs_sync+0x3e/0x60 [<ffffffffb39ff1b3>] hci_dev_open_sync+0x943/0x11e0 [<ffffffffb396d55d>] hci_power_on+0x10d/0x3f0 [<ffffffffb30c99b4>] process_one_work+0x404/0x800 [<ffffffffb30ca134>] worker_thread+0x374/0x670 [<ffffffffb30d9108>] kthread+0x188/0x1c0 [<ffffffffb304db6b>] ret_from_fork+0x2b/0x50 [<ffffffffb300206a>] ret_from_fork_asm+0x1a/0x30
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 8961987f3f5fa2f2618e72304d013c8dd5e604a6, < 626535077ba9dc110787540d1fe24881094c15a1; >= 8961987f3f5fa2f2618e72304d013c8dd5e604a6, < eea5a8f0c3b7c884d2351e75fbdd0a3d7def5ae1; >= 8961987f3f5fa2f2618e72304d013c8dd5e604a6, < b938790e70540bf4f2e653dcd74b232494d06c8f | — | cvelist |
| Linux | 5.16 | — | 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-52518. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-52518.md Affected: Linux >= 8961987f3f5fa2f2618e72304d013c8dd5e604a6, < 626535077ba9dc110787540d1fe24881094c15a1; >= 8961987f3f5fa2f2618e72304d013c8dd5e604a6, < eea5a8f0c3b7c884d2351e75fbdd0a3d7def5ae1; >= 8961987f3f5fa2f2618e72304d013c8dd5e604a6, < b938790e70540bf4f2e653dcd74b232494d06c8f; Linux 5.16 Fixed in: Linux 626535077ba9dc110787540d1fe24881094c15a1 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-52518 being exploited?
There is no confirmed exploitation: CVE-2023-52518 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-52518?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-52518?
Linux >= 8961987f3f5fa2f2618e72304d013c8dd5e604a6, < 626535077ba9dc110787540d1fe24881094c15a1; >= 8961987f3f5fa2f2618e72304d013c8dd5e604a6, < eea5a8f0c3b7c884d2351e75fbdd0a3d7def5ae1; >= 8961987f3f5fa2f2618e72304d013c8dd5e604a6, < b938790e70540bf4f2e653dcd74b232494d06c8f; Linux 5.16.
Is there a fix for CVE-2023-52518?
Yes. Fixed in Linux 626535077ba9dc110787540d1fe24881094c15a1. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2023-52518?
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.