HIGH Introduced in 7.2
bluetooth RFCOMM ShortFrame OOB
CVE-2026-98600
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
01Description
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).
02KernelScan AI Analysis
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.
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.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 6.12 | 6.12.111 | 6.12.112 | 76876fd26569 |
| 6.18 | 6.18.53 | 6.18.55 | 97711b964877 |
| 7.2 | 7.2 | 7.2.9 | 7a1781a2f3a9 |
| mainline | 7.2 | 7.3 | c25587fa2676 |
| cip/5.10 | 7.2 | 5.10.271-cip78 | 76876fd26569 |
| cip/5.10-rt | 7.2 | 5.10.272-cip79-rt35 | 76876fd26569 |
| cip/6.1 | 7.2 | 6.1.189-cip61 | 7a1781a2f3a9 |
| cip/6.1-rt | 7.2 | 6.1.189-cip61-rt32 | 7a1781a2f3a9 |
| cip/6.12 | 7.2 | 6.12.112-cip33 | 71ccacde407b |
04CIP Kernels
State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.
| CIP tree | State |
|---|---|
| cip/6.12 | Fixed in 6.12.112-cip33 |
| cip/6.1 | Fixed in 6.1.189-cip61 |
| cip/6.1-rt | Fixed in 6.1.189-cip61-rt32 |
| cip/5.10 | Fixed in 5.10.271-cip78 |
| cip/5.10-rt | Fixed in 5.10.272-cip79-rt35 |