CVE-2026-31512
MEDIUMBluetooth: L2CAP: Validate PDU length before reading SDU length in l2cap_ecred_data_rcv()
Title source: cnaDescription
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.
References (8)
Core 8
Core References
Scores
CVSS v3
5.5
EPSS
0.0012
EPSS Percentile
2.4%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
Status
published
Products (28)
linux/Kernel
3.14.0 - 5.10.253linux
linux/Kernel
5.11.0 - 5.15.203linux
linux/Kernel
5.16.0 - 6.1.168linux
linux/Kernel
6.13.0 - 6.18.21linux
linux/Kernel
6.19.0 - 6.19.11linux
linux/Kernel
6.2.0 - 6.6.131linux
linux/Kernel
6.7.0 - 6.12.80linux
Linux/Linux
< 3.14
Linux/Linux
3.14
Linux/Linux
5.10.253 - 5.10.*
... and 18 more
Published
Apr 22, 2026
Tracked Since
Apr 22, 2026