# CVE-2026-64403: Bluetooth: L2CAP: validate option length before reading conf opt value

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 19% of CVEs (2026-12-01)
- Published: 2026-07-25T08:50:45.796Z
- Modified: 2026-10-19T21:17:35.757Z
- Weaknesses: CWE-125, CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7c9cbd0b5e38a1672fcd137894ace3b042dfbf69 before cca81b4bc672604a84f6d224a55cc77ec7dee619; from 7c9cbd0b5e38a1672fcd137894ace3b042dfbf69 before f70d4aa88068096f35d73e3a05eff33c0a16b9cd; from 7c9cbd0b5e38a1672fcd137894ace3b042dfbf69 before 7d871e969b941ce25653f7716203a0ea4d07ad4b; from 7c9cbd0b5e38a1672fcd137894ace3b042dfbf69 before 98d93c226bdfaa79bbdd86981921d7f106374225; from 7c9cbd0b5e38a1672fcd137894ace3b042dfbf69 before 996d3da39899aceb8f4910911a3f19a45a7d9d1b; from 7c9cbd0b5e38a1672fcd137894ace3b042dfbf69 before 73abbaf91aa33da87c008fb62c148ade561bb606; from 7c9cbd0b5e38a1672fcd137894ace3b042dfbf69 before 6b47bdaacfd0045687880177e0987055d8f4765a; from 7c9cbd0b5e38a1672fcd137894ace3b042dfbf69 before 687617555cedfb74c9e3cb85d759b908dcb17856; 78c2887130f1a7d1883195732be1b6cdab667487; ac7c597c465eb09391e40febbe088bdad601080b; ade4560e4fea198866e033fe1c02f063d6d7db2e; 99665dcf6ff803351b5e658f3a929cb498561e36; and 11 more (not affected: before 5.1; from 5.10.261 up to 5.10.*; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.96 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 3.16.66 before 3.17; from 3.18.138 before 3.19; from 4.4.178 before 4.5; from 4.9.167 before 4.10; from 4.14.110 before 4.15; from 4.19.33 before 4.20; from 5.0.6 before 5.10.261; from 5.11 before 5.15.212; from 5.16 before 6.1.178; from 6.2 before 6.6.145; from 6.7 before 6.12.96; from 6.13 before 6.18.39; and 2 more

## References

- <https://git.kernel.org/stable/c/cca81b4bc672604a84f6d224a55cc77ec7dee619> (patch)
- <https://git.kernel.org/stable/c/f70d4aa88068096f35d73e3a05eff33c0a16b9cd> (patch)
- <https://git.kernel.org/stable/c/7d871e969b941ce25653f7716203a0ea4d07ad4b> (patch)
- <https://git.kernel.org/stable/c/98d93c226bdfaa79bbdd86981921d7f106374225> (patch)
- <https://git.kernel.org/stable/c/996d3da39899aceb8f4910911a3f19a45a7d9d1b> (patch)
- <https://git.kernel.org/stable/c/73abbaf91aa33da87c008fb62c148ade561bb606> (patch)
- <https://git.kernel.org/stable/c/6b47bdaacfd0045687880177e0987055d8f4765a> (patch)
- <https://git.kernel.org/stable/c/687617555cedfb74c9e3cb85d759b908dcb17856> (patch)

## Sources

- CVE List: [CVE-2026-64403](https://www.cve.org/CVERecord?id=CVE-2026-64403), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-64403](https://nvd.nist.gov/vuln/detail/CVE-2026-64403), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-64403 · Whole record: https://cve.day/CVE-2026-64403.json · Rebuilt by cve.day 2026-11-25T22:59:30.103Z
