{"id":"CVE-2025-40301","aliases":["CVE-2025-40301"],"related":[],"kind":"vulnerability","state":"published","title":"Bluetooth: hci_event: validate skb length for unknown CC opcode","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nBluetooth: hci_event: validar la longitud de skb para un código de operación CC desconocido\n\nEn hci_cmd_complete_evt(), si el evento de comando completado tiene un código de operación desconocido, asumimos que el primer byte de los datos restantes de skb -> data contiene el estado de retorno. Sin embargo, los datos del parámetro han sido extraídos previamente en hci_event_func(), lo que puede dejar el skb vacío. Si es así, usar skb -> data[0] para el estado de retorno utiliza memoria no inicializada.\n\nLa solución es verificar skb -> len antes de usar skb -> data.","source":"nvd"}],"published":"2025-12-08T00:46:24.863Z","modified":"2026-10-14T22:10:00.210Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","score":7.6,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","score":7.6,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"afcb3369f46ed5dc883a7b92f2dd1e264d79d388","fixed":"fea895de78d3bb2f0c09db9f10b18f8121b15759","status":"affected"},{"type":"git","introduced":"afcb3369f46ed5dc883a7b92f2dd1e264d79d388","fixed":"779f83a91d4f1bf5ddfeaf528420cbb6dbf03fa8","status":"affected"},{"type":"git","introduced":"afcb3369f46ed5dc883a7b92f2dd1e264d79d388","fixed":"cf2c2acec1cf456c3d11c11a7589e886a0f963a9","status":"affected"},{"type":"git","introduced":"afcb3369f46ed5dc883a7b92f2dd1e264d79d388","fixed":"1a0ddaaf97405dbd11d4cb5a961a3f82400e8a50","status":"affected"},{"type":"git","introduced":"afcb3369f46ed5dc883a7b92f2dd1e264d79d388","fixed":"5c5f1f64681cc889d9b13e4a61285e9e029d6ab5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.1","status":"unaffected"},{"type":"semver","introduced":"6.1.159","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.117","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.58","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.8","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/fea895de78d3bb2f0c09db9f10b18f8121b15759","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/779f83a91d4f1bf5ddfeaf528420cbb6dbf03fa8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cf2c2acec1cf456c3d11c11a7589e886a0f963a9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1a0ddaaf97405dbd11d4cb5a961a3f82400e8a50","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5c5f1f64681cc889d9b13e4a61285e9e029d6ab5","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40301","url":"https://www.cve.org/CVERecord?id=CVE-2025-40301","licence":"CVE Terms of Use","modified":"2026-08-05T12:09:20.526Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40301","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40301","licence":"Public domain","modified":"2026-10-14T22:10:00.210Z"}],"updatedAt":"2026-11-25T22:59:08.395Z","epss":{"score":0.00451,"percentile":0.31144,"date":"2026-11-30T12:00:22.000Z"}}