CVE-2026-31393
Bluetooth: L2CAP: Validate L2CAP_INFO_RSP payload length before access
Check your servers for CVE-2026-31393
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-31393 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: L2CAP: Validate L2CAP_INFO_RSP payload length before access
l2cap_information_rsp() checks that cmd_len covers the fixed l2cap_info_rsp header (type + result, 4 bytes) but then reads rsp->data without verifying that the payload is present:
- L2CAP_IT_FEAT_MASK calls get_unaligned_le32(rsp->data), which reads 4 bytes past the header (needs cmd_len >= 8).
- L2CAP_IT_FIXED_CHAN reads rsp->data[0], 1 byte past the header (needs cmd_len >= 5).
A truncated L2CAP_INFO_RSP with result == L2CAP_IR_SUCCESS triggers an out-of-bounds read of adjacent skb data.
Guard each data access with the required payload length check. If the payload is too short, skip the read and let the state machine complete with safe defaults (feat_mask and remote_fixed_chan remain zero from kzalloc), so the info timer cleanup and l2cap_conn_start() still run and the connection is not stalled.
Severity (CVSS)
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- Attack vector
- adjacent: the attacker has to be on the same local network or link
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.46%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 32.2% of all scored CVEs. Scores of 30 Nov 2026.
The assessment of CISA (SSVC, 16 Oct 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
Weakness
- CWE-125 Out-of-bounds Read
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 4e8402a3f884427f9233ba436459c158d1f2e114, before 187e6fe939295be36063a1d91f8bebee04399a8c affected from 4e8402a3f884427f9233ba436459c158d1f2e114, before 5229e7d15771eac2b5886bfb1f976aea0c1eec14 affected from 4e8402a3f884427f9233ba436459c158d1f2e114, before 3b646516cba2ebc4b51a72954903326e7c1e443f affected from 4e8402a3f884427f9233ba436459c158d1f2e114, before 807bd1258453c4c83f6ae9dbc1e7b44860ff40d0 affected from 4e8402a3f884427f9233ba436459c158d1f2e114, before 9aeacde4da0f02d42fd968fd32f245828b230171 affected from 4e8402a3f884427f9233ba436459c158d1f2e114, before e7ff754e339e3d5ce29aa9f95352d0186df8fbd9 affected from 4e8402a3f884427f9233ba436459c158d1f2e114, before db2872d054e467810078e2b9f440a5b326a601b2 affected from 4e8402a3f884427f9233ba436459c158d1f2e114, before dd815e6e3918dc75a49aaabac36e4f024d675101
Other versions: unaffected
|
| Linux |
affected 2.6.24 unaffected before 2.6.24 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.167 up to and including 6.1.* unaffected from 6.6.130 up to and including 6.6.* unaffected from 6.12.78 up to and including 6.12.* unaffected from 6.18.20 up to and including 6.18.* unaffected from 6.19.10 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-31393 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31393
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-31393
trivy image --scanners vuln IMAGE | grep CVE-2026-31393
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
- https://git.kernel.org/stable/c/187e6fe939295be36063a1d91f8bebee04399a8c git.kernel.org
- https://git.kernel.org/stable/c/5229e7d15771eac2b5886bfb1f976aea0c1eec14 git.kernel.org
- https://git.kernel.org/stable/c/3b646516cba2ebc4b51a72954903326e7c1e443f git.kernel.org
- https://git.kernel.org/stable/c/807bd1258453c4c83f6ae9dbc1e7b44860ff40d0 git.kernel.org
- https://git.kernel.org/stable/c/9aeacde4da0f02d42fd968fd32f245828b230171 git.kernel.org
- https://git.kernel.org/stable/c/e7ff754e339e3d5ce29aa9f95352d0186df8fbd9 git.kernel.org
- https://git.kernel.org/stable/c/db2872d054e467810078e2b9f440a5b326a601b2 git.kernel.org
- https://git.kernel.org/stable/c/dd815e6e3918dc75a49aaabac36e4f024d675101 git.kernel.org
Source: the record CVE-2026-31393 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse