CVE-2026-31512
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
3.14
and later are affected. Fixed in
5.10.253,
5.15.203,
6.1.168,
6.6.131,
6.12.80,
6.18.21,
6.19.11,
7.0
and their respective stable series.
References
The following references provide additional information about CVE-2026-31512 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/3340be2bafdcc806f048273ea6d8e82a6597aa1b
-
PatchKernel patch commithttps://git.kernel.org/stable/c/40c7f7eea2f4d9cb0b3e924254c8c9053372168f
-
PatchKernel patch commithttps://git.kernel.org/stable/c/477ad4976072056c348937e94f24583321938df4
Frequently asked questions
-
What is CVE-2026-31512?
CVE-2026-31512 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 3.14 onward and has been patched in 5.10.253, 5.15.203, 6.1.168 and others. CVE-2026-31512 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2026-31512?
CVE-2026-31512 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2026-31512?
Yes — CVE-2026-31512 has been patched. Fixed versions include 5.10.253, 5.15.203, 6.1.168 and others. If you are running Linux kernel 3.14 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-31512 actively exploited?
No — CVE-2026-31512 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.