Katalog CVE

CVE-2026-64403

WysokieCVSS 7.1
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.27%

Percentyl 18 - wyżej niż 18% wszystkich znanych CVE

Streszczenie

W jądrze Linux w stosie Bluetooth L2CAP funkcja l2cap_get_conf_opt() odczytuje wartość opcji przed sprawdzeniem, czy opcja w całości mieści się w buforze. Atakujący może kontrolować długość opcji, co prowadzi do odczytu poza zakresem (out-of-bounds read) do 4 bajtów.

Ocena ryzyka

Podatność może prowadzić do wycieku danych z pamięci jądra lub potencjalnie do destabilizacji systemu, choć obecnie wartość poza zakresem nie jest konsumowana. Jest to jednak problem kolejności walidacji.

Rekomendacja

Zastosuj łatkę jądra Linux modyfikującą l2cap_get_conf_opt() tak, aby sprawdzała długość opcji przed odczytem wartości, i zaktualizuj system do wersji zawierającej tę poprawkę.

Inne podatności w Linux kernel

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: validate option length before reading conf opt value l2cap_get_conf_opt() derives the option length from the attacker-controlled opt->len field and immediately dereferences opt->val (as u8, get_unaligned_le16() or get_unaligned_le32(), or a raw pointer for the default case) before any caller has confirmed that opt->len bytes are present in the buffer. The callers (l2cap_parse_conf_req(), l2cap_parse_conf_rsp() and l2cap_conf_rfc_get()) only detect a malformed option afterwards, once the running length has gone negative, by which point the out-of-bounds read has already executed. An existing post-hoc length check keeps the garbage value from being consumed, so this is not a data leak in the current control flow. It is still a validate-after-use ordering bug: up to 4 bytes are read past the end of the buffer before it is known to contain them, and it is fragile to future changes in the callers. Fix it at the source. Pass the end of the buffer into l2cap_get_conf_opt() and refuse to touch opt->val unless the full option (header + value) fits. Each caller computes an end pointer once before the loop and checks the return value directly instead of inferring the error from a negative length.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS