{"id":"CVE-2025-40301","published":"2025-12-08T00:46:24Z","modified":"2026-08-05T12:09:20Z","title":"Bluetooth: hci_event: validate skb length for unknown CC opcode","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_event: validate skb length for unknown CC opcode\n\nIn hci_cmd_complete_evt(), if the command complete event has an unknown\nopcode, we assume the first byte of the remaining skb->data contains the\nreturn status. However, parameter data has previously been pulled in\nhci_event_func(), which may leave the skb empty. If so, using skb->data[0]\nfor the return status uses un-init memory.\n\nThe fix is to check skb->len before using skb->data.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0029,"percentile":0.21718,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/fea895de78d3bb2f0c09db9f10b18f8121b15759","tags":[]},{"url":"https://git.kernel.org/stable/c/779f83a91d4f1bf5ddfeaf528420cbb6dbf03fa8","tags":[]},{"url":"https://git.kernel.org/stable/c/cf2c2acec1cf456c3d11c11a7589e886a0f963a9","tags":[]},{"url":"https://git.kernel.org/stable/c/1a0ddaaf97405dbd11d4cb5a961a3f82400e8a50","tags":[]},{"url":"https://git.kernel.org/stable/c/5c5f1f64681cc889d9b13e4a61285e9e029d6ab5","tags":[]}],"priority":{"score":9.7,"factors":[{"name":"EPSS percentile","points":4.34},{"name":"CVSS severity","points":5.32}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= afcb3369f46ed5dc883a7b92f2dd1e264d79d388, < fea895de78d3bb2f0c09db9f10b18f8121b15759",">= afcb3369f46ed5dc883a7b92f2dd1e264d79d388, < 779f83a91d4f1bf5ddfeaf528420cbb6dbf03fa8",">= afcb3369f46ed5dc883a7b92f2dd1e264d79d388, < cf2c2acec1cf456c3d11c11a7589e886a0f963a9",">= afcb3369f46ed5dc883a7b92f2dd1e264d79d388, < 1a0ddaaf97405dbd11d4cb5a961a3f82400e8a50",">= afcb3369f46ed5dc883a7b92f2dd1e264d79d388, < 5c5f1f64681cc889d9b13e4a61285e9e029d6ab5"]},{"vendor":"Linux","product":"Linux","versions":["6.1"]}],"euvd":{"id":"EUVD-2025-201644","exploited":false,"provenance":"source"}}