CVE-2025-40301

Bluetooth: hci_event: validate skb length for unknown CC opcode

HIGH
7.6
CVSS Score
Published: December 8, 2025 at 12:46 AM UTC
Updated: October 14, 2026 at 10:10 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.6
Exploit prediction
EPSS 0.3%

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_event: validate skb length for unknown CC opcode In hci_cmd_complete_evt(), if the command complete event has an unknown opcode, we assume the first byte of the remaining skb->data contains the return status. However, parameter data has previously been pulled in hci_event_func(), which may leave the skb empty. If so, using skb->data[0] for the return status uses un-init memory. The fix is to check skb->len before using skb->data.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.1afcb3369f46ed5dc883a7b92f2dd1e264d79d388
Vendor states this is fixed in 1a0ddaaf97405dbd11d4cb5a961a3f82400e8a50 (fixed)
Vendor states this is fixed in 5c5f1f64681cc889d9b13e4a61285e9e029d6ab5 (fixed)
Vendor states this is fixed in 779f83a91d4f1bf5ddfeaf528420cbb6dbf03fa8 (fixed)
Vendor states this is fixed in cf2c2acec1cf456c3d11c11a7589e886a0f963a9 (fixed)
Vendor states this is fixed in fea895de78d3bb2f0c09db9f10b18f8121b15759 (fixed)
Vendor states this is fixed in 6.1 (unaffected)
Vendor states this is fixed in 6.1.159 (unaffected)
Vendor states this is fixed in 6.12.58 (unaffected)
Vendor states this is fixed in 6.17.8 (unaffected)
Vendor states this is fixed in 6.18 (unaffected)
Vendor states this is fixed in 6.6.117 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

CVSS

7.6HIGHLinux
Vector?

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card