# CVE-2025-40301: Bluetooth: hci_event: validate skb length for unknown CC opcode

- Severity: High 7.6 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 31% of CVEs (2026-11-30)
- Published: 2025-12-08T00:46:24.863Z
- Modified: 2026-10-14T22:10:00.210Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from afcb3369f46ed5dc883a7b92f2dd1e264d79d388 before fea895de78d3bb2f0c09db9f10b18f8121b15759; from afcb3369f46ed5dc883a7b92f2dd1e264d79d388 before 779f83a91d4f1bf5ddfeaf528420cbb6dbf03fa8; from afcb3369f46ed5dc883a7b92f2dd1e264d79d388 before cf2c2acec1cf456c3d11c11a7589e886a0f963a9; from afcb3369f46ed5dc883a7b92f2dd1e264d79d388 before 1a0ddaaf97405dbd11d4cb5a961a3f82400e8a50; from afcb3369f46ed5dc883a7b92f2dd1e264d79d388 before 5c5f1f64681cc889d9b13e4a61285e9e029d6ab5; 6.1 (not affected: before 6.1; from 6.1.159 up to 6.1.*; from 6.6.117 up to 6.6.*; from 6.12.58 up to 6.12.*; from 6.17.8 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/fea895de78d3bb2f0c09db9f10b18f8121b15759>
- <https://git.kernel.org/stable/c/779f83a91d4f1bf5ddfeaf528420cbb6dbf03fa8>
- <https://git.kernel.org/stable/c/cf2c2acec1cf456c3d11c11a7589e886a0f963a9>
- <https://git.kernel.org/stable/c/1a0ddaaf97405dbd11d4cb5a961a3f82400e8a50>
- <https://git.kernel.org/stable/c/5c5f1f64681cc889d9b13e4a61285e9e029d6ab5>

## Sources

- CVE List: [CVE-2025-40301](https://www.cve.org/CVERecord?id=CVE-2025-40301), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-40301](https://nvd.nist.gov/vuln/detail/CVE-2025-40301), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2025-40301 · Whole record: https://cve.day/CVE-2025-40301.json · Rebuilt by cve.day 2026-11-25T22:59:08.395Z
