CVE-2026-64403
Description
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-07-25
- Last modified
- 2026-10-19
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H- Scored by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Probability of exploitation
-
0.3 %
higher than 18 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Linux | Linux Kernel | 7.2 | Affected |
| Linux | Linux Kernel | ≥ 3.16.66, < 3.17 | Affected |
| Linux | Linux Kernel | ≥ 3.18.138, < 3.19 | Affected |
| Linux | Linux Kernel | ≥ 4.14.110, < 4.15 | Affected |
| Linux | Linux Kernel | ≥ 4.19.33, < 4.20 | Affected |
| Linux | Linux Kernel | ≥ 4.4.178, < 4.5 | Affected |
| Linux | Linux Kernel | ≥ 4.9.167, < 4.10 | Affected |
| Linux | Linux Kernel | ≥ 5.0.6, < 5.10.261 | Affected |
| Linux | Linux Kernel | ≥ 5.11, < 5.15.212 | Affected |
| Linux | Linux Kernel | ≥ 5.16, < 6.1.178 | Affected |
| Linux | Linux Kernel | ≥ 6.13, < 6.18.39 | Affected |
| Linux | Linux Kernel | ≥ 6.19, < 7.1.4 | Affected |
| Linux | Linux Kernel | ≥ 6.2, < 6.6.145 | Affected |
| Linux | Linux Kernel | ≥ 6.7, < 6.12.96 | Affected |
Weakness type
-
CWE-476: NULL Pointer Dereference
The product dereferences a pointer that it expects to be valid but is NULL.
-
CWE-125: Out-of-bounds Read
The product reads data past the end, or before the beginning, of the intended buffer.
References
- https://git.kernel.org/stable/c/687617555cedfb74c9e3cb85d759b908dcb17856
- https://git.kernel.org/stable/c/6b47bdaacfd0045687880177e0987055d8f4765a
- https://git.kernel.org/stable/c/73abbaf91aa33da87c008fb62c148ade561bb606
- https://git.kernel.org/stable/c/7d871e969b941ce25653f7716203a0ea4d07ad4b
- https://git.kernel.org/stable/c/98d93c226bdfaa79bbdd86981921d7f106374225
- https://git.kernel.org/stable/c/996d3da39899aceb8f4910911a3f19a45a7d9d1b
- https://git.kernel.org/stable/c/cca81b4bc672604a84f6d224a55cc77ec7dee619
- https://git.kernel.org/stable/c/f70d4aa88068096f35d73e3a05eff33c0a16b9cd
Related at Berigo
Articles
-
Nine vulnerabilities entered the exploited catalogue in two days
Same product
2026-09-01
CISA catalogued three more vulnerabilities on 27 August 2026, a day after six others went in. The three cover ownCloud, the Linux kernel and JFrog Ar…
-
Five of the six new KEV entries date from 2015 to 2022
Same product
2026-08-27
CISA has added six vulnerabilities to its Known Exploited Vulnerabilities catalogue. Five were published between 2015 and 2022, and three grant nothi…
-
Almost a third of this week's listed vulnerabilities have no severity score
Same product
2026-08-25
The weekly vulnerability summary from CISA lists 3882 vulnerabilities for the week beginning 10 August. 1184 of them have no calculated severity scor…
-
An eighteen-year-old Linux kernel flaw hands ordinary users root
Same product
2026-08-08
Tencent Zhuque Lab has found a flaw in the SCTP part of the Linux kernel that has been there since 2008. An ordinary user can use it to gain root, an…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.