Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
cybernieuws.nl Cybersecurity en informatiebeveiling nieuws alerts live · 2 min 120 bronnen 1 kritiek 1 vandaag
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-31393

HIGH · 8.1 CVSS Gepubliceerd: CWE-125

Beschrijving NL

In de Linux kernel is de volgende kwetsbaarheid verholpen:

Bluetooth: L2CAP: valideer de lengte van de L2CAP_INFO_RSP-payload vóór toegang

l2cap_information_rsp() controleert of cmd_len de vaste
l2cap_info_rsp koptekst (type + resultaat, 4 bytes) maar leest dan
rsp->gegevens zonder te verifiëren dat de lading aanwezig is:

- L2CAP_IT_FEAT_MASK aanroepen get_unaligned_le32(rsp->data), die leest
4 bytes voorbij de koptekst (heeft cmd_len >= 8 nodig). - L2CAP_IT_FIXED_CHAN leest rsp->data[0], 1 byte voorbij de header
(vereist cmd_len >= 5). Een afgekapt L2CAP_INFO_RSP met resultaat == L2CAP_IR_SUCCESS activeert een
buiten de grenzen lezen van aangrenzende skb-gegevens. Bewaak elke gegevenstoegang met de vereiste controle van de laadvermogenlengte. Als de
laadvermogen is te kort, sla het lezen over en laat de toestandsmachine voltooien
met veilige standaardinstellingen (feat_mask en remote_fixed_chan blijven nul van
kzalloc), zodat de info timer cleanup en l2cap_conn_start() nog steeds worden uitgevoerd
en de verbinding is niet vastgelopen.

Origineel (Engels) tonen

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.

Vendors

Linux

Affected products

Linux Kernel

References