CVE-2026-31512
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Linux kernel Affected 3 releases
| Version | Status | Fixed in |
|---|---|---|
| 7.0 | Affected | โ |
| 3.14 | Affected | โ |
| โ | Affected | 5.10.253 |
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 6.12.85-1 |
| sid | Fixed | 6.19.11-1 |
| forky | Fixed | 6.19.11-1 |
| bullseye | Fixed | 6.1.170-1~deb11u1 |
| bookworm | Fixed | 6.1.170-1 |
References
- https://git.kernel.org/stable/c/3340be2bafdcc806f048273ea6d8e82a6597aa1b
- https://git.kernel.org/stable/c/40c7f7eea2f4d9cb0b3e924254c8c9053372168f
- https://git.kernel.org/stable/c/477ad4976072056c348937e94f24583321938df4
- https://git.kernel.org/stable/c/5ad981249be52f5e4e92e0e97b436b569071cb86
- https://git.kernel.org/stable/c/8c96f3bd4ae0802db90630be8e9851827e9c9209
- https://git.kernel.org/stable/c/c65bd945d1c08c3db756821b6bf9f1c4a77b29c6
- https://git.kernel.org/stable/c/cef09691cfb61f6c91cc27c3d69634f81c8ab949
- https://git.kernel.org/stable/c/e47315b84d0eb188772c3ff5cf073cdbdefca6b4
- https://www.suse.com/security/cve/CVE-2026-31512.html
- https://security-tracker.debian.org/tracker/CVE-2026-31512
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.