Skip to main content
Vulnerability Database/CVE-2026-98460

CVE-2026-98460: Linux Kernel Bluetooth Privilege Escalation

CVE-2026-98460 is a privilege escalation flaw in the Linux kernel Bluetooth HCI socket that allows unprivileged users to bypass security filters. This post covers technical details, affected versions, and mitigation.

Published:

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-98460 Overview

CVE-2026-98460 is a Linux kernel vulnerability in the Bluetooth hci_sock raw HCI socket security filter. The filter stores 128 Opcode Command Field (OCF) bits per supported Opcode Group Field (OGF), but masks the 10-bit OCF value with 127 before performing the command lookup. This arithmetic shortcut lets an unprivileged socket submit a reserved OCF that aliases an allowlisted command modulo 128, bypassing the intended security filter. The fix rejects OCF values that cannot be represented by the security filter instead of aliasing them onto an unrelated command.

Critical Impact

An unprivileged process holding a raw HCI socket can submit reserved HCI opcodes that bypass the host-side security filter, delegating the security decision to controller-specific behavior outside the kernel's control.

Affected Products

  • Linux kernel Bluetooth subsystem (net/bluetooth/hci_sock.c)
  • Multiple stable Linux kernel branches referenced by the backport commits
  • Any distribution shipping an unpatched Linux kernel with Bluetooth support

Discovery Timeline

  • 2026-10-18 - CVE-2026-98460 published to NVD
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-98460

Vulnerability Analysis

The Host Controller Interface (HCI) uses 16-bit opcodes split into a 6-bit OGF and a 10-bit OCF. The kernel's raw HCI socket security filter in hci_sock maintains an allowlist sized at 128 OCF bits per supported OGF. Because 128 is much smaller than the 1024 values a 10-bit OCF can express, the filter code applies a & 127 mask before indexing the allowlist.

The masking collapses 1024 possible OCF values into 128 buckets. Any reserved OCF whose low seven bits match an allowlisted command's low seven bits is treated as allowed. An unprivileged socket can therefore craft a reserved opcode that passes the filter and reaches the controller.

A conforming Bluetooth controller should reject reserved opcodes, but the host stack cannot rely on controller behavior for a security decision. Non-conforming or vendor-specific controllers may process the reserved opcode in unintended ways.

Root Cause

The root cause is an input validation error in the HCI socket security filter. The filter truncates the 10-bit OCF with a modulo-128 mask instead of validating that the OCF falls within the representable range. This causes opcode aliasing, where a reserved OCF is incorrectly matched against an unrelated allowlisted entry.

Attack Vector

An unprivileged local process with access to a raw HCI socket can transmit an HCI command containing a reserved OCF value. The crafted OCF shares its low seven bits with a permitted command, so the filter check succeeds. The kernel then forwards the actual reserved opcode to the Bluetooth controller, outsourcing the security decision to controller firmware.

No verified public exploit code is available. The upstream fix rejects OCF values that cannot be represented by the filter rather than masking them. See the patch commits for implementation details: Linux Kernel Commit 173457fa and Linux Kernel Commit 68f0bcc4.

Detection Methods for CVE-2026-98460

Indicators of Compromise

  • Processes opening AF_BLUETOOTH raw HCI sockets without expected privileges or capabilities
  • HCI command frames observed with OCF values in the reserved range (above the allowlist size) sent from user space
  • Unexpected Bluetooth controller errors or resets following HCI command submissions from non-privileged processes

Detection Strategies

  • Audit socket() calls using AF_BLUETOOTH with HCI_CHANNEL_RAW and correlate them with the invoking process identity and capabilities
  • Instrument kernel tracepoints on hci_sock_sendmsg to capture HCI opcodes submitted from user space and flag reserved OCF ranges
  • Review kernel logs for Bluetooth subsystem anomalies, including controller command-complete events referencing reserved opcodes

Monitoring Recommendations

  • Collect endpoint telemetry on processes that interact with the Bluetooth stack and alert on uncommon callers of raw HCI sockets
  • Centralize Linux audit and kernel event logs for correlation across hosts to spot repeated attempts targeting the filter
  • Track kernel version inventory to confirm that Bluetooth-enabled hosts are running patched builds

How to Mitigate CVE-2026-98460

Immediate Actions Required

  • Apply the Linux kernel update containing the hci_sock OCF validation fix on all Bluetooth-enabled systems
  • On hosts that do not require Bluetooth, blacklist the bluetooth and btusb kernel modules to remove the attack surface
  • Restrict CAP_NET_RAW and CAP_NET_ADMIN to trusted users and services only, since those capabilities gate raw HCI socket access

Patch Information

The vulnerability is resolved by rejecting OCF values that exceed the representable range of the security filter. Fixed stable kernels are available in the following upstream commits: 173457fa, 320dedad, 47d67ec4, 598686f5, 68f0bcc4, 70b0a27b, c1fd465e, and e93fad89. Consult your distribution's security tracker for packaged updates.

Workarounds

  • Disable the Bluetooth stack on servers and workstations that do not require it, using systemctl disable --now bluetooth and module blacklisting
  • Remove CAP_NET_RAW from containers and user sessions that do not require raw socket access
  • Enforce SELinux or AppArmor policies to deny bluetooth_socket creation for untrusted domains
bash
# Blacklist the Bluetooth kernel modules until a patched kernel is deployed
echo 'blacklist bluetooth' | sudo tee /etc/modprobe.d/disable-bluetooth.conf
echo 'blacklist btusb'     | sudo tee -a /etc/modprobe.d/disable-bluetooth.conf
sudo systemctl disable --now bluetooth.service
sudo modprobe -r btusb bluetooth

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.