# CVE-2026-98246: Bluetooth: hci\_sync: Serialize local codec list cleanup

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-10-06T08:45:15.411Z
- **Modified:** 2026-10-19T10:18:25.497Z

## Who should check

- Anyone running Linux \>= 626535077ba9dc110787540d1fe24881094c15a1, \< 9f407d52c0d881430d689836d3e7d32aa36f98b5; \>= b938790e70540bf4f2e653dcd74b232494d06c8f, \< 560ed4373c06a58123ecdf9ad5ecaddc87a73382; \>= b938790e70540bf4f2e653dcd74b232494d06c8f, \< 1ee0c5429dc4a92879bda2554b1bfd4abc6c587c; \>= b938790e70540bf4f2e653dcd74b232494d06c8f, \< 4dc1ae5ff75b17e17ec4b74b11cc4b0099e71e00; \>= b938790e70540bf4f2e653dcd74b232494d06c8f, \< 1276c2fafd18499769a28f96f45c5a76d6fc990e; \>= b938790e70540bf4f2e653dcd74b232494d06c8f, \< 9a10987a2f160a44a638c9a35994ca6e3089696e; eea5a8f0c3b7c884d2351e75fbdd0a3d7def5ae1; \>= 6.1.57, \< 6.1.189; \>= 6.5.7, \< 6.6
- Anyone running Linux 6.6

## Description

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: hci\_sync: Serialize local codec list cleanup

hci\_dev\_close\_sync() clears hdev-\>local\_codecs after releasing hdev-\>lock.
Codec list additions and both traversals in sco\_sock\_getsockopt() use that
lock, but the close path does not. A close and BT\_CODEC query can therefore
interleave as follows:

  hci\_dev\_close\_sync()          sco\_sock\_getsockopt()
                                hci\_dev\_lock()
                                fetch codec entry
  hci\_codec\_list\_clear()
    kfree(entry)
                                read entry-\>id

The reader then accesses an entry which the close path has freed. KASAN

  BUG: KASAN: slab-use-after-free in sco\_sock\_getsockopt+0xfa0/0xfe0
  Read of size 1 at addr ffff8881001c3450
  Call Trace:
   sco\_sock\_getsockopt+0xfa0/0xfe0
   do\_sock\_getsockopt+0x537/0x7b0
   \_\_sys\_getsockopt+0xf2/0x170
  Allocated by task 92:
   hci\_codec\_list\_add.isra.0+0x2c/0x440
   hci\_read\_codec\_capabilities+0x224/0x590
   hci\_read\_supported\_codecs+0x2c2/0x640
  Freed by task 92:
   kfree+0x131/0x3c0
   hci\_codec\_list\_clear+0xd8/0x160
   hci\_dev\_close\_sync+0x92a/0xfa0

Take hdev-\>lock around the clear operation at its existing point in the
close path. This makes the clear wait for active readers and prevents a new
traversal until the list is empty without changing teardown ordering.

## Affected and fixed versions

- Linux: \>= 626535077ba9dc110787540d1fe24881094c15a1, \< 9f407d52c0d881430d689836d3e7d32aa36f98b5; \>= b938790e70540bf4f2e653dcd74b232494d06c8f, \< 560ed4373c06a58123ecdf9ad5ecaddc87a73382; \>= b938790e70540bf4f2e653dcd74b232494d06c8f, \< 1ee0c5429dc4a92879bda2554b1bfd4abc6c587c; \>= b938790e70540bf4f2e653dcd74b232494d06c8f, \< 4dc1ae5ff75b17e17ec4b74b11cc4b0099e71e00; \>= b938790e70540bf4f2e653dcd74b232494d06c8f, \< 1276c2fafd18499769a28f96f45c5a76d6fc990e; \>= b938790e70540bf4f2e653dcd74b232494d06c8f, \< 9a10987a2f160a44a638c9a35994ca6e3089696e; eea5a8f0c3b7c884d2351e75fbdd0a3d7def5ae1; \>= 6.1.57, \< 6.1.189; \>= 6.5.7, \< 6.6 (cvelist)
- Linux: 6.6 (cvelist)

## Mitigation

- Upgrade Linux to 6.6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98246. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98246.md
Affected: Linux >= 626535077ba9dc110787540d1fe24881094c15a1, < 9f407d52c0d881430d689836d3e7d32aa36f98b5; >= b938790e70540bf4f2e653dcd74b232494d06c8f, < 560ed4373c06a58123ecdf9ad5ecaddc87a73382; >= b938790e70540bf4f2e653dcd74b232494d06c8f, < 1ee0c5429dc4a92879bda2554b1bfd4abc6c587c; >= b938790e70540bf4f2e653d…
Fixed in: Linux 9f407d52c0d881430d689836d3e7d32aa36f98b5, Linux 560ed4373c06a58123ecdf9ad5ecaddc87a73382, Linux 1ee0c5429dc4a92879bda2554b1bfd4abc6c587c, Linux 4dc1ae5ff75b17e17ec4b74b11cc4b0099e71e00, Linux 1276c2fafd18499769a28f96f45c5a76d6fc990e, Linux 9a10987a2f160a44a638c9a35994ca6e3089696e, Linux 6.1.1…

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-2026-98246 being exploited?

There is no confirmed exploitation: CVE-2026-98246 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98246?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98246?

Linux \>= 626535077ba9dc110787540d1fe24881094c15a1, \< 9f407d52c0d881430d689836d3e7d32aa36f98b5; \>= b938790e70540bf4f2e653dcd74b232494d06c8f, \< 560ed4373c06a58123ecdf9ad5ecaddc87a73382; \>= b938790e70540bf4f2e653dcd74b232494d06c8f, \< 1ee0c5429dc4a92879bda2554b1bfd4abc6c587c; \>= b938790e70540bf4f2e653dcd74b232494d06c8f, \< 4dc1ae5ff75b17e17ec4b74b11cc4b0099e71e00; \>= b938790e70540bf4f2e653dcd74b232494d06c8f, \< 1276c2fafd18499769a28f96f45c5a76d6fc990e; \>= b938790e70540bf4f2e653dcd74b232494d06c8f, \< 9a10987a2f160a44a638c9a35994ca6e3089696e; eea5a8f0c3b7c884d2351e75fbdd0a3d7def5ae1; \>= 6.1.57, \< 6.1.189; \>= 6.5.7, \< 6.6; Linux 6.6.

### Is there a fix for CVE-2026-98246?

Yes. Fixed in Linux 9f407d52c0d881430d689836d3e7d32aa36f98b5, Linux 560ed4373c06a58123ecdf9ad5ecaddc87a73382, Linux 1ee0c5429dc4a92879bda2554b1bfd4abc6c587c, Linux 4dc1ae5ff75b17e17ec4b74b11cc4b0099e71e00, Linux 1276c2fafd18499769a28f96f45c5a76d6fc990e, Linux 9a10987a2f160a44a638c9a35994ca6e3089696e, Linux 6.1.189, Linux 6.6. Upgrade Linux to 6.6 or later.

### How do I check if I'm affected by CVE-2026-98246?

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

- other: <https://git.kernel.org/stable/c/9f407d52c0d881430d689836d3e7d32aa36f98b5>
- other: <https://git.kernel.org/stable/c/560ed4373c06a58123ecdf9ad5ecaddc87a73382>
- other: <https://git.kernel.org/stable/c/1ee0c5429dc4a92879bda2554b1bfd4abc6c587c>
- other: <https://git.kernel.org/stable/c/4dc1ae5ff75b17e17ec4b74b11cc4b0099e71e00>
- other: <https://git.kernel.org/stable/c/1276c2fafd18499769a28f96f45c5a76d6fc990e>
- other: <https://git.kernel.org/stable/c/9a10987a2f160a44a638c9a35994ca6e3089696e>

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

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