CVE-2026-98295: Bluetooth: coredump: Quiesce dump work on unregister
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: coredump: Quiesce dump work on unregister
hci_devcd_handle_pkt_init() arms dump_timeout and coredump producers queue dump_rx without holding an hdev reference. Unregister leaves both works live, so disconnecting during an active dump lets them access hdev after hci_release_dev() frees it.
Shut down coredump processing during unregister. Close the producer gate under dump_q.lock before disabling both works, then free the active buffer and queued packets under hci_dev_lock. Serializing the gate with enqueue prevents controller-specific workers from adding packets after the final purge.
The Linux kernel CVE team has assigned CVE-2026-98295 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.4 with commit 9695ef876fd122cb7bbc04a4a93b8727d2e36bda and fixed in 6.12.112 with commit 24af375d7d8aa5f698e4dc41317102f44114351a Issue introduced in 6.4 with commit 9695ef876fd122cb7bbc04a4a93b8727d2e36bda and fixed in 6.18.54 with commit dcaf10ef27f928568c25de3e9fc242e538de5c67 Issue introduced in 6.4 with commit 9695ef876fd122cb7bbc04a4a93b8727d2e36bda and fixed in 7.2.8 with commit 82699d1b727ba5980b94f1eb8dc3d346f41b7c67 Issue introduced in 6.4 with commit 9695ef876fd122cb7bbc04a4a93b8727d2e36bda and fixed in 7.3-rc4 with commit d236517c264e41dc09833c708ef23bccb7a91219 Issue introduced in 6.1.188 with commit deb8156ebe5cb63a5988e7f86cc46aa062527c2b
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-98295
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
include/net/bluetooth/coredump.h
net/bluetooth/coredump.c
net/bluetooth/hci_core.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/24af375d7d8aa5f698e4dc41317102f44114351a https://git.kernel.org/stable/c/dcaf10ef27f928568c25de3e9fc242e538de5c67 https://git.kernel.org/stable/c/82699d1b727ba5980b94f1eb8dc3d346f41b7c67 https://git.kernel.org/stable/c/d236517c264e41dc09833c708ef23bccb7a91219