Bluetooth: hci_event: validate skb length for unknown CC opcode (Linux Linux)

CVE-2025-40301
HIGH 7.6

En bref

Source
NVD
EPSS
EPSS 0.27 % · centile 19 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.6CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:HLinux
CVSS 3.1HIGH 7.6CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected afcb3369f46ed5dc883a7b92f2dd1e264d79d388 < fea895de78d3bb2f0c09db9f10b18f8121b15759 ; affected afcb3369f46ed5dc883a7b92f2dd1e264d79d388 < 779f83a91d4f1bf5ddfeaf528420cbb6dbf03fa8 ; affected afcb3369f46ed5dc883a7b92f2dd1e264d79d388 < cf2c2acec1cf456c3d11c11a7589e886a0f963a9 ; affected afcb3369f46ed5dc883a7b92f2dd1e264d79d388 < 1a0ddaaf97405dbd11d4cb5a961a3f82400e8a50 ; affected afcb3369f46ed5dc883a7b92f2dd1e264d79d388 < 5c5f1f64681cc889d9b13e4a61285e9e029d6ab5
Linux · Linuxaffected 6.1 ; unaffected 0 < 6.1 ; unaffected 6.1.159 ≤ 6.1.* ; unaffected 6.6.117 ≤ 6.6.* ; unaffected 6.12.58 ≤ 6.12.* ; unaffected 6.17.8 ≤ 6.17.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD