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

CVE-2026-93783: Linux Kernel RFCOMM Buffer Overflow Flaw

CVE-2026-93783 is a buffer overflow vulnerability in the Linux kernel RFCOMM component that causes out-of-bounds memory reads. This article covers technical details, affected versions, impact analysis, and mitigation strategies.

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

CVE-2026-93783 is a Linux kernel vulnerability in the Bluetooth RFCOMM subsystem. The function rfcomm_recv_frame() casts skb->data to struct rfcomm_hdr and dereferences hdr->addr and hdr->ctrl without validating skb->len. A truncated frame smaller than the minimum header size triggers an out-of-bounds read of uninitialized memory. A zero-length frame causes skb->len-- to underflow to UINT_MAX, making skb_tail_pointer() read far past the buffer. KMSAN flagged the issue as an uninit-value in rfcomm_run. The fix rejects any frame smaller than sizeof(struct rfcomm_hdr) + 1, enforcing a 3-byte header plus 1-byte FCS minimum.

Critical Impact

Malformed RFCOMM frames can trigger out-of-bounds reads of kernel memory and integer underflow in Bluetooth packet processing, enabling information disclosure or kernel instability.

Affected Products

  • Linux kernel Bluetooth subsystem (RFCOMM protocol handler)
  • Linux stable kernel branches prior to the patched commits
  • Any Linux distribution shipping an unpatched kernel with Bluetooth enabled

Discovery Timeline

  • 2026-09-24 - CVE CVE-2026-93783 published to NVD
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-93783

Vulnerability Analysis

The flaw resides in rfcomm_recv_frame(), the top-level handler for incoming RFCOMM frames in the Linux kernel Bluetooth stack. The function immediately casts the socket buffer payload to a struct rfcomm_hdr pointer and reads hdr->addr and hdr->ctrl fields. No prior check verifies that skb->len is large enough to contain a valid header.

When an attacker-controlled HCI write delivers a frame shorter than the minimum RFCOMM header, the dereference reads bytes beyond the allocated payload. KMSAN confirmed the uninitialized read originates from __alloc_skb buffers allocated during vhci_write. A related path is the skb->len-- operation on a zero-length buffer, which underflows the unsigned length field to UINT_MAX. skb_tail_pointer() then returns a pointer far past the buffer, extending the out-of-bounds window.

An earlier fix, commit 23882b828c3c ("Bluetooth: RFCOMM: validate skb length in MCC handlers"), addressed the same bug class in multiplexer control channel sub-handlers but left the top-level frame handler unprotected. CVE-2026-93783 closes that gap.

Root Cause

The root cause is missing input validation on an untrusted length field before structure dereference. The code assumes incoming frames are well-formed. Combined with a post-decrement on an unsigned length, the handler exhibits both an out-of-bounds read and an integer underflow condition.

Attack Vector

Exploitation requires the ability to inject crafted RFCOMM frames into the local Bluetooth stack. Delivery paths include a paired Bluetooth peer sending malformed L2CAP/RFCOMM traffic or a local process writing to a virtual HCI device such as /dev/vhci. The vulnerability enables kernel memory disclosure and potential denial of service through corrupted packet processing state.

See the upstream fix commits for implementation details: kernel commit 67dc3b40fae7, kernel commit b230e5bf501c, and kernel commit bbc310caa2b6.

Detection Methods for CVE-2026-93783

Indicators of Compromise

  • KMSAN or KASAN kernel log entries reporting uninit-value or out-of-bounds reads in rfcomm_recv_frame or rfcomm_run.
  • Unexpected kernel oops, warnings, or panics referencing the RFCOMM subsystem during Bluetooth activity.
  • Unusual Bluetooth connection termination patterns or malformed HCI write events on hosts exposing virtual HCI interfaces.

Detection Strategies

  • Enable kernel address sanitizers (KASAN, KMSAN) in test and lab builds to surface the specific uninitialized-value signature.
  • Audit systems for presence and version of the RFCOMM kernel module and compare against patched stable kernel commits.
  • Monitor syslog and journald for Bluetooth stack errors correlated with new or untrusted paired devices.

Monitoring Recommendations

  • Centralize kernel logs from Linux endpoints and alert on RFCOMM, HCI, or sanitizer-related stack traces.
  • Track Bluetooth pairing events and HCI socket activity on servers and embedded devices where Bluetooth is non-essential.
  • Record access to /dev/vhci and other HCI device nodes to identify local processes capable of injecting frames.

How to Mitigate CVE-2026-93783

Immediate Actions Required

  • Apply the Linux stable kernel update containing commits 67dc3b40fae7, b230e5bf501c, and bbc310caa2b6 as soon as vendor packages are available.
  • Disable the Bluetooth stack or unload the rfcomm and bluetooth kernel modules on systems that do not require Bluetooth.
  • Restrict access to virtual HCI device nodes to privileged users only.

Patch Information

The fix validates that skb->len is at least sizeof(struct rfcomm_hdr) + 1 before any header dereference, rejecting frames smaller than a 3-byte header plus 1-byte FCS. Apply vendor kernel updates referencing the three upstream commits listed in the external references. Distribution security trackers from Red Hat, SUSE, Debian, Ubuntu, and others should be consulted for backported package versions.

Workarounds

  • Blocklist the rfcomm module via /etc/modprobe.d/ on systems that do not use Bluetooth serial profiles.
  • Enforce Bluetooth pairing policies and disable discoverable mode on exposed endpoints to reduce attacker reach.
  • Remove or tighten permissions on /dev/vhci where virtual HCI is not required for legitimate workloads.
bash
# Prevent the vulnerable RFCOMM module from loading
echo 'install rfcomm /bin/true' | sudo tee /etc/modprobe.d/disable-rfcomm.conf
sudo rmmod rfcomm 2>/dev/null || true

# Optionally disable the entire Bluetooth stack where unused
sudo systemctl disable --now bluetooth.service
echo 'install bluetooth /bin/true' | sudo tee /etc/modprobe.d/disable-bluetooth.conf

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.