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-98602 Overview
CVE-2026-98602 is an out-of-bounds read vulnerability in the Linux kernel's Bluetooth Network Encapsulation Protocol (BNEP) subsystem. The flaw affects frame processing routines in net/bluetooth/bnep/core.c and net/bluetooth/bnep/netdev.c. The kernel reads BNEP headers, control bytes, filter counts, extension headers, and Ethernet headers without first verifying that the socket buffer contains enough data. Short BNEP receive or transmit frames trigger reads past the end of the allocated buffer. The issue also includes a control-path fallthrough that submits malformed BNEP control frames to the Ethernet layer when no extension headers follow.
Critical Impact
Attackers can trigger kernel out-of-bounds heap reads and potential information leakage by delivering crafted short BNEP or AF_PACKET frames.
Affected Products
- Linux kernel Bluetooth BNEP subsystem (net/bluetooth/bnep/core.c)
- Linux kernel Bluetooth BNEP network device (net/bluetooth/bnep/netdev.c)
- Linux stable branches referenced by the published kernel.org patches
Discovery Timeline
- 2026-10-18 - CVE-2026-98602 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-98602
Vulnerability Analysis
The vulnerability stems from missing length validation in the BNEP frame handlers. The bnep_rx_frame() and bnep_ctrl_frame() functions in net/bluetooth/bnep/core.c dereference the BNEP header byte, the control type field, filter counts, and extension header bytes without calling pskb_may_pull() first. A short socket buffer causes the kernel to read memory beyond the linear data region.
A second code path exists in bnep_net_xmit() inside net/bluetooth/bnep/netdev.c. The function reads the 14-byte Ethernet header before confirming that skb->len >= ETH_HLEN. Crafted short frames delivered through AF_PACKET sockets reach the Bluetooth netdev transmit path and trigger a heap out-of-bounds read. The exposed bytes can propagate into transmitted frames, producing an information leak.
A logic error compounds the issue. After handling a BNEP_CONTROL packet, the function falls through to Ethernet frame submission when no extension headers follow. The fix returns 0 from the control path to stop downstream processing of a non-Ethernet payload.
Root Cause
The root cause is missing boundary validation on incoming socket buffers before direct byte reads. The handlers assumed BNEP peers would always deliver well-formed frames of sufficient length. The control-path fallthrough is a separate control-flow defect that routes BNEP control payloads into the Ethernet receive pipeline.
Attack Vector
The out-of-bounds read on receive requires a connected BNEP peer transmitting malformed frames over Bluetooth. The transmit-side read is reachable locally through an AF_PACKET socket writing short frames to a BNEP network interface. Both paths target the kernel heap and can expose adjacent allocation contents.
See the upstream fixes for implementation specifics: Kernel Patch 035f9b1, Kernel Patch 7af80ad, and Kernel Patch f0ca020.
Detection Methods for CVE-2026-98602
Indicators of Compromise
- Unexpected kernel log entries referencing bnep_rx_frame, bnep_ctrl_frame, or bnep_net_xmit call sites
- KASAN or SLUB debug reports flagging out-of-bounds reads in the Bluetooth BNEP code path
- Unusual short-frame traffic from local AF_PACKET writers targeting bnep* network interfaces
Detection Strategies
- Enable CONFIG_KASAN in test or canary kernels to surface the out-of-bounds read at runtime
- Audit loaded kernel modules for bnep on systems that do not require Bluetooth personal area networking
- Correlate Bluetooth pairing and connection events with subsequent kernel crash or warning traces
Monitoring Recommendations
- Forward kernel ring buffer messages to a centralized logging platform and alert on BNEP-related oops or warning traces
- Monitor process creation for binaries that open AF_PACKET sockets on Bluetooth network devices
- Track installed kernel package versions against the patched stable release list
How to Mitigate CVE-2026-98602
Immediate Actions Required
- Apply the stable kernel updates that contain the referenced BNEP commits
- Unload the bnep kernel module on systems that do not use Bluetooth PAN services
- Restrict CAP_NET_RAW so untrusted users cannot create AF_PACKET sockets on BNEP interfaces
Patch Information
The fix is distributed across multiple stable branches. Reference commits include Kernel Patch 035f9b1, Kernel Patch 1e7aebc, Kernel Patch 3e605ff, Kernel Patch 667aa70, Kernel Patch 7af80ad, Kernel Patch 8f31031, Kernel Patch ad0d2d4, and Kernel Patch f0ca020. The patches add pskb_may_pull() guards and change the control handler to return 0 after processing a BNEP_CONTROL message.
Workarounds
- Blacklist the bnep module through /etc/modprobe.d/ on hosts without BNEP use cases
- Disable the Bluetooth stack entirely on servers and headless systems that do not require it
- Enforce device pairing policies that limit which Bluetooth peers can establish BNEP sessions
# Configuration example
echo 'blacklist bnep' | sudo tee /etc/modprobe.d/disable-bnep.conf
sudo modprobe -r bnep
sudo systemctl disable --now bluetooth.service
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

