Bluetooth: L2CAP: Validate L2CAP_INFO_RSP payload length before access (Linux Linux)

CVE-2026-31393
HIGH 8.1

At a glance

Source
NVD
EPSS
EPSS 0.26 % · percentile 17 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HLinux
CVSS 3.1HIGH 8.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 4e8402a3f884427f9233ba436459c158d1f2e114 < 187e6fe939295be36063a1d91f8bebee04399a8c ; affected 4e8402a3f884427f9233ba436459c158d1f2e114 < 5229e7d15771eac2b5886bfb1f976aea0c1eec14 ; affected 4e8402a3f884427f9233ba436459c158d1f2e114 < 3b646516cba2ebc4b51a72954903326e7c1e443f ; affected 4e8402a3f884427f9233ba436459c158d1f2e114 < 807bd1258453c4c83f6ae9dbc1e7b44860ff40d0 ; affected 4e8402a3f884427f9233ba436459c158d1f2e114 < 9aeacde4da0f02d42fd968fd32f245828b230171 ; affected 4e8402a3f884427f9233ba436459c158d1f2e114 < e7ff754e339e3d5ce29aa9f95352d0186df8fbd9
Linux · Linuxaffected 2.6.24 ; unaffected 0 < 2.6.24 ; unaffected 5.10.253 ≤ 5.10.* ; unaffected 5.15.203 ≤ 5.15.* ; unaffected 6.1.167 ≤ 6.1.* ; unaffected 6.6.130 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD