KernelScan.io

HIGH Introduced in 7.2

bluetooth RFCOMM ShortFrame OOB

CVE-2026-98600

CVSS 7.6 / 10.0 KernelScan AI

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

01

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: RFCOMM: Reject short EA=0 frames in rfcomm_recv_frame() While rfcomm_recv_frame() verifies that skb->len is at least sizeof(*hdr) + 1 (4 bytes: 3-byte header + 1-byte FCS), an RFCOMM frame with an extended 2-byte length field (!__test_ea(hdr->len)) has a 4-byte header plus a 1-byte FCS (5 bytes minimum, sizeof(*hdr) + 2). When a 4-byte RFCOMM frame with EA == 0 arrives: 1. The initial skb->len < sizeof(*hdr) + 1 check passes (4 < 4 is false). 2. Trimming the FCS byte decrements skb->len to 3. 3. If __check_fcs() succeeds, skb_pull(skb, 4) fails (4 > 3) and returns NULL without advancing skb->data. 4. Because the return value of skb_pull() is ignored, the un-pulled 3-byte struct rfcomm_hdr remains at skb->data and is either queued as application payload via rfcomm_recv_data() or parsed as a multiplexer control command via rfcomm_recv_mcc() on DLCI 0. Fix this by extending the length check in rfcomm_recv_frame() to also require skb->len >= sizeof(*hdr) + 2 when !__test_ea(hdr->len).

02

Engine v0.9.0

Risk summary

A malformed RFCOMM frame with an extended length field (EA=0) but only 4 bytes total can bypass the length check in the Bluetooth stack. This causes the kernel to misinterpret the truncated header as valid payload or control data, leading to out-of-bounds reads, potential kernel memory disclosure, and system crashes. Any device with Bluetooth enabled in RFCOMM mode is exposed to nearby attackers.

Affectednet/bluetooth/rfcomm/core.c (bluetooth RFCOMM)

Vulnerability analysis

The RFCOMM frame receiver validates that incoming frames are at least 4 bytes (3-byte header + 1-byte FCS), but frames with the extended-length bit cleared (EA=0) actually require 5 bytes (4-byte header + 1-byte FCS). When a 4-byte EA=0 frame arrives, the check passes, the FCS byte is stripped leaving 3 bytes, and a subsequent attempt to pull 4 bytes fails silently because its return value is ignored. The un-pulled 3-byte header is then processed as either application data or a multiplexer control command on DLCI 0, causing an out-of-bounds read of kernel memory and potential state confusion. The fix adds an extra length check for EA=0 frames to require the full 5-byte minimum. The bug is reachable by any attacker in Bluetooth radio range who can send a crafted RFCOMM frame, and also locally via the virtual HCI interface (vhci) by a process with CAP_NET_ADMIN.

03

BranchIntroducedFixed inPatch commit
6.126.12.1116.12.11276876fd26569
6.186.18.536.18.5597711b964877
7.27.27.2.97a1781a2f3a9
mainline7.27.3c25587fa2676
cip/5.107.25.10.271-cip7876876fd26569
cip/5.10-rt7.25.10.272-cip79-rt3576876fd26569
cip/6.17.26.1.189-cip617a1781a2f3a9
cip/6.1-rt7.26.1.189-cip61-rt327a1781a2f3a9
cip/6.127.26.12.112-cip3371ccacde407b

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.112-cip33
cip/6.1Fixed in 6.1.189-cip61
cip/6.1-rtFixed in 6.1.189-cip61-rt32
cip/5.10Fixed in 5.10.271-cip78
cip/5.10-rtFixed in 5.10.272-cip79-rt35