# CVE-2026-98737: Bluetooth: hci\_sync: Fix inquiry cache use-after-free

> 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 6, 2026-11-26)
- **Published:** 2026-10-18T15:47:14.936Z
- **Modified:** 2026-10-21T13:21:40.930Z

## Who should check

- Anyone running Linux \>= cf75ad8b41d2aa06f98f365d42a3ae8b059daddd, \< ddc9edb244cc8b5266595e8fc220e7813f2b603a; \>= cf75ad8b41d2aa06f98f365d42a3ae8b059daddd, \< 52edf1c0e59dea37b8368c4a2559dca96b2fdfea; \>= cf75ad8b41d2aa06f98f365d42a3ae8b059daddd, \< 333257e6e4a7bcaaea82fd357121d0f1e6b76c7b; \>= cf75ad8b41d2aa06f98f365d42a3ae8b059daddd, \< a642f498f0b08f2aa9f4a69468db92f57a72349d; \>= cf75ad8b41d2aa06f98f365d42a3ae8b059daddd, \< 8ed67535fdff40ca652bcd4ac7da68d11d01bd34
- Anyone running Linux 5.17

## Description

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

Bluetooth: hci\_sync: Fix inquiry cache use-after-free

The sync command worker holds hdev-\>req\_lock, but inquiry-cache updates
and flushes use hdev-\>lock. Both hci\_acl\_create\_conn\_sync() and
hci\_stop\_discovery\_sync() look up entries and read their fields without
taking hdev-\>lock.

After either lookup returns, a concurrent HCIINQUIRY ioctl can acquire
hdev-\>lock and flush the cache, freeing the entry. The worker then reads
the freed entry while preparing a create-connection or remote-name-cancel
command. The list traversal also races with cache updates and removal.

KASAN reported these accesses:

  BUG: KASAN: slab-use-after-free in hci\_acl\_create\_conn\_sync+0x5f1/0x650
  Workqueue: hci0 hci\_cmd\_sync\_work
  Call Trace:
   hci\_acl\_create\_conn\_sync+0x5f1/0x650
   hci\_cmd\_sync\_work+0x13c/0x290

  Allocated by task 90:
   hci\_inquiry\_cache\_update+0x3e6/0x7d0
   hci\_inquiry\_result\_evt+0x3cb/0x560

  Freed by task 93:
   hci\_inquiry\_cache\_flush+0x111/0x2b0
   hci\_inquiry+0x2f2/0x780
   hci\_sock\_ioctl+0x269/0x5f0

  BUG: KASAN: slab-use-after-free in hci\_stop\_discovery\_sync+0x3b1/0x3c0
  Workqueue: hci0 hci\_cmd\_sync\_work
  Call Trace:
   hci\_stop\_discovery\_sync+0x3b1/0x3c0
   hci\_cmd\_sync\_work+0x173/0x300

  Allocated by task 86:
   hci\_inquiry\_cache\_update+0x483/0x940
   hci\_inquiry\_result\_evt+0x3cb/0x560

  Freed by task 91:
   hci\_inquiry\_cache\_flush+0x13e/0x2f0
   hci\_inquiry+0x2f2/0x780
   hci\_sock\_ioctl+0x269/0x5f0

Hold hdev-\>lock across each lookup and all reads from its result. Copy the
remote address before unlocking so discovery cancellation does not retain
a cache entry pointer. Release the lock before sending synchronous HCI
commands, since their completion handlers may need the same lock.

## Affected and fixed versions

- Linux: \>= cf75ad8b41d2aa06f98f365d42a3ae8b059daddd, \< ddc9edb244cc8b5266595e8fc220e7813f2b603a; \>= cf75ad8b41d2aa06f98f365d42a3ae8b059daddd, \< 52edf1c0e59dea37b8368c4a2559dca96b2fdfea; \>= cf75ad8b41d2aa06f98f365d42a3ae8b059daddd, \< 333257e6e4a7bcaaea82fd357121d0f1e6b76c7b; \>= cf75ad8b41d2aa06f98f365d42a3ae8b059daddd, \< a642f498f0b08f2aa9f4a69468db92f57a72349d; \>= cf75ad8b41d2aa06f98f365d42a3ae8b059daddd, \< 8ed67535fdff40ca652bcd4ac7da68d11d01bd34 (cvelist)
- Linux: 5.17 (cvelist)

## Mitigation

- Upgrade Linux to 8ed67535fdff40ca652bcd4ac7da68d11d01bd34 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-98737. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98737.md
Affected: Linux >= cf75ad8b41d2aa06f98f365d42a3ae8b059daddd, < ddc9edb244cc8b5266595e8fc220e7813f2b603a; >= cf75ad8b41d2aa06f98f365d42a3ae8b059daddd, < 52edf1c0e59dea37b8368c4a2559dca96b2fdfea; >= cf75ad8b41d2aa06f98f365d42a3ae8b059daddd, < 333257e6e4a7bcaaea82fd357121d0f1e6b76c7b; >= cf75ad8b41d2aa06f98f365…
Fixed in: Linux 52edf1c0e59dea37b8368c4a2559dca96b2fdfea, Linux 333257e6e4a7bcaaea82fd357121d0f1e6b76c7b, Linux 8ed67535fdff40ca652bcd4ac7da68d11d01bd34

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-98737 being exploited?

There is no confirmed exploitation: CVE-2026-98737 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-98737?

It has no CVSS score yet. Unknown.

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

Linux \>= cf75ad8b41d2aa06f98f365d42a3ae8b059daddd, \< ddc9edb244cc8b5266595e8fc220e7813f2b603a; \>= cf75ad8b41d2aa06f98f365d42a3ae8b059daddd, \< 52edf1c0e59dea37b8368c4a2559dca96b2fdfea; \>= cf75ad8b41d2aa06f98f365d42a3ae8b059daddd, \< 333257e6e4a7bcaaea82fd357121d0f1e6b76c7b; \>= cf75ad8b41d2aa06f98f365d42a3ae8b059daddd, \< a642f498f0b08f2aa9f4a69468db92f57a72349d; \>= cf75ad8b41d2aa06f98f365d42a3ae8b059daddd, \< 8ed67535fdff40ca652bcd4ac7da68d11d01bd34; Linux 5.17.

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

Yes. Fixed in Linux 52edf1c0e59dea37b8368c4a2559dca96b2fdfea, Linux 333257e6e4a7bcaaea82fd357121d0f1e6b76c7b, Linux 8ed67535fdff40ca652bcd4ac7da68d11d01bd34. Upgrade Linux to 8ed67535fdff40ca652bcd4ac7da68d11d01bd34 or later.

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

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/ddc9edb244cc8b5266595e8fc220e7813f2b603a>
- other: <https://git.kernel.org/stable/c/52edf1c0e59dea37b8368c4a2559dca96b2fdfea>
- other: <https://git.kernel.org/stable/c/333257e6e4a7bcaaea82fd357121d0f1e6b76c7b>
- other: <https://git.kernel.org/stable/c/a642f498f0b08f2aa9f4a69468db92f57a72349d>
- other: <https://git.kernel.org/stable/c/8ed67535fdff40ca652bcd4ac7da68d11d01bd34>

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

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