CVE-2026-31512

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

No CVSS score yet EPSS 0.13%

Published 22 Apr 2026 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2026-31512

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-31512 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.13%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.62% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from aac23bf636593cc2d67144aed373a46a1a5f76b1, before cef09691cfb61f6c91cc27c3d69634f81c8ab949
affected from aac23bf636593cc2d67144aed373a46a1a5f76b1, before 3340be2bafdcc806f048273ea6d8e82a6597aa1b
affected from aac23bf636593cc2d67144aed373a46a1a5f76b1, before e47315b84d0eb188772c3ff5cf073cdbdefca6b4
affected from aac23bf636593cc2d67144aed373a46a1a5f76b1, before 477ad4976072056c348937e94f24583321938df4
affected from aac23bf636593cc2d67144aed373a46a1a5f76b1, before 40c7f7eea2f4d9cb0b3e924254c8c9053372168f
affected from aac23bf636593cc2d67144aed373a46a1a5f76b1, before 8c96f3bd4ae0802db90630be8e9851827e9c9209
affected from aac23bf636593cc2d67144aed373a46a1a5f76b1, before 5ad981249be52f5e4e92e0e97b436b569071cb86
affected from aac23bf636593cc2d67144aed373a46a1a5f76b1, before c65bd945d1c08c3db756821b6bf9f1c4a77b29c6
Other versions: unaffected
Linux
affected 3.14
unaffected before 3.14
unaffected from 5.10.253 up to and including 5.10.*
unaffected from 5.15.203 up to and including 5.15.*
unaffected from 6.1.168 up to and including 6.1.*
unaffected from 6.6.131 up to and including 6.6.*
unaffected from 6.12.80 up to and including 6.12.*
unaffected from 6.18.21 up to and including 6.18.*
unaffected from 6.19.11 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-31512 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31512

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-31512
trivy image --scanners vuln IMAGE | grep CVE-2026-31512

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-31512 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.