Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98295 Overview
CVE-2026-98295 is a use-after-free vulnerability in the Linux kernel's Bluetooth subsystem. The flaw resides in the Host Controller Interface (HCI) coredump handling code. Specifically, hci_devcd_handle_pkt_init() arms a dump_timeout and queues dump_rx work without holding an hdev reference. When the Bluetooth device is unregistered during an active coredump, these work items remain live and can access hdev memory after hci_release_dev() frees it.
Critical Impact
A disconnect occurring during an active Bluetooth controller coredump can trigger a kernel use-after-free, leading to potential memory corruption or denial of service on affected Linux systems.
Affected Products
- Linux kernel versions containing the Bluetooth HCI coredump subsystem
- Downstream distributions shipping unpatched kernels with Bluetooth support enabled
- Systems with Bluetooth controllers that implement coredump handlers
Discovery Timeline
- 2026-10-06 - CVE CVE-2026-98295 published to the National Vulnerability Database
- 2026-10-06 - Last updated in NVD database
Technical Details for CVE-2026-98295
Vulnerability Analysis
The Linux kernel Bluetooth stack supports vendor-specific controller coredumps for post-mortem debugging. During coredump initialization, hci_devcd_handle_pkt_init() arms a timeout work item (dump_timeout) and allows coredump producers to queue packets onto dump_rx work. Neither path takes a reference on the hdev structure.
If a user disconnects or removes the Bluetooth adapter while a coredump is in progress, the unregister path proceeds to tear down the device. hci_release_dev() frees hdev, but the still-scheduled dump_timeout and dump_rx workers continue to run. Those workers dereference the freed hdev, producing a classic use-after-free [CWE-416].
The fix shuts down coredump processing during unregister. It closes the producer gate under dump_q.lock before disabling both work items, then frees the active buffer and any queued packets under hci_dev_lock. Serializing the gate against enqueue prevents controller-specific workers from adding new packets after the final purge.
Root Cause
The root cause is missing lifetime management between the coredump worker queue and the HCI device object. Producers armed work items referencing hdev without incrementing a reference count. The unregister path did not quiesce or cancel the coredump workers before releasing the device.
Attack Vector
Exploitation requires local access and the ability to trigger a Bluetooth controller coredump followed by rapid adapter removal or disconnect. The race is narrow and depends on controller-specific coredump producers being active. The practical outcome is kernel memory corruption or a kernel panic rather than straightforward privilege escalation.
No verified public proof-of-concept code is available. The vulnerability mechanism is documented in the upstream commits linked under References. See the Kernel Git Commit d236517 and Kernel Git Commit 24af375 for the fix implementation details.
Detection Methods for CVE-2026-98295
Indicators of Compromise
- Kernel oops or panic messages referencing hci_devcd_handle_pkt_init, dump_timeout, or dump_rx work handlers
- KASAN (Kernel Address Sanitizer) use-after-free reports pointing to hci_release_dev() and the Bluetooth coredump code paths
- Unexpected system crashes correlated with Bluetooth adapter disconnect, suspend, or module unload events
Detection Strategies
- Monitor dmesg and /var/log/kern.log for Bluetooth subsystem backtraces that reference coredump workers
- Deploy debug kernels with KASAN enabled in test environments to surface the race before production impact
- Audit installed kernel package versions across the fleet to identify hosts missing the stable backport
Monitoring Recommendations
- Centralize kernel log collection and alert on repeated Bluetooth HCI oops signatures
- Track Bluetooth device add/remove events alongside crash telemetry to identify at-risk hosts
- Correlate uptime anomalies on endpoints and IoT gateways that heavily use Bluetooth with pending kernel updates
How to Mitigate CVE-2026-98295
Immediate Actions Required
- Apply the stable kernel update that includes the Bluetooth coredump quiesce fix referenced in the upstream commits
- Prioritize patching on endpoints, laptops, and IoT devices with active Bluetooth usage
- On systems where Bluetooth is not required, unload the bluetooth and btusb modules and blacklist them
Patch Information
The fix is distributed across the following upstream commits: Kernel Git Commit 24af375, Kernel Git Commit 82699d1, Kernel Git Commit d236517, and Kernel Git Commit dcaf10e. Install the vendor-supplied kernel update that incorporates these patches and reboot affected systems.
Workarounds
- Disable Bluetooth at the firmware or OS level on systems that do not require it
- Blacklist the btusb and bluetooth kernel modules to prevent coredump code paths from loading
- Avoid triggering controller coredumps on unpatched systems and restrict physical access that enables adapter removal races
# Temporarily disable Bluetooth and blacklist the modules
sudo systemctl stop bluetooth.service
sudo systemctl disable bluetooth.service
echo "blacklist btusb" | sudo tee /etc/modprobe.d/blacklist-bluetooth.conf
echo "blacklist bluetooth" | sudo tee -a /etc/modprobe.d/blacklist-bluetooth.conf
sudo modprobe -r btusb bluetooth 2>/dev/null || true
# Verify installed kernel version after patching
uname -r
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

