Bluetooth: L2CAP: Validate PDU length before reading SDU length in l2cap_ecred_data_rcv() (Linux Linux)

CVE-2026-31512
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.12 % · centile 2 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Validate PDU length before reading SDU length in l2cap_ecred_data_rcv() l2cap_ecred_data_rcv() reads the SDU length field from skb->data using get_unaligned_le16() without first verifying that skb contains at least L2CAP_SDULEN_SIZE (2) bytes. When skb->len is less than 2, this reads past the valid data in the skb. The ERTM reassembly path correctly calls pskb_may_pull() before reading the SDU length (l2cap_reassemble_sdu, L2CAP_SAR_START case). Apply the same validation to the Enhanced Credit Based Flow Control data path.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected aac23bf636593cc2d67144aed373a46a1a5f76b1 < cef09691cfb61f6c91cc27c3d69634f81c8ab949 ; affected aac23bf636593cc2d67144aed373a46a1a5f76b1 < 3340be2bafdcc806f048273ea6d8e82a6597aa1b ; affected aac23bf636593cc2d67144aed373a46a1a5f76b1 < e47315b84d0eb188772c3ff5cf073cdbdefca6b4 ; affected aac23bf636593cc2d67144aed373a46a1a5f76b1 < 477ad4976072056c348937e94f24583321938df4 ; affected aac23bf636593cc2d67144aed373a46a1a5f76b1 < 40c7f7eea2f4d9cb0b3e924254c8c9053372168f ; affected aac23bf636593cc2d67144aed373a46a1a5f76b1 < 8c96f3bd4ae0802db90630be8e9851827e9c9209
Linux · Linuxaffected 3.14 ; unaffected 0 < 3.14 ; unaffected 5.10.253 ≤ 5.10.* ; unaffected 5.15.203 ≤ 5.15.* ; unaffected 6.1.168 ≤ 6.1.* ; unaffected 6.6.131 ≤ 6.6.*

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