0.0
NA
CVE-2026-64403
Bluetooth: L2CAP: validate option length before reading conf opt value
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.

INFO

Published Date :

July 25, 2026, 10:17 a.m.

Last Modified :

July 25, 2026, 10:17 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-64403 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Validate option length before reading to prevent out-of-bounds reads.
  • Pass buffer end to l2cap_get_conf_opt function.
  • Refuse to access opt->val if option does not fit.
  • Check return value directly instead of negative length.
  • Apply the provided patch to the Linux kernel.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-64403 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-64403 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-64403 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-64403 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jul. 25, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '7c9cbd0b5e38a1672fcd137894ace3b042dfbf69', 'lessThan': 'cca81b4bc672604a84f6d224a55cc77ec7dee619', 'versionType': 'git'}, {'status': 'affected', 'version': '7c9cbd0b5e38a1672fcd137894ace3b042dfbf69', 'lessThan': 'f70d4aa88068096f35d73e3a05eff33c0a16b9cd', 'versionType': 'git'}, {'status': 'affected', 'version': '7c9cbd0b5e38a1672fcd137894ace3b042dfbf69', 'lessThan': '7d871e969b941ce25653f7716203a0ea4d07ad4b', 'versionType': 'git'}, {'status': 'affected', 'version': '7c9cbd0b5e38a1672fcd137894ace3b042dfbf69', 'lessThan': '98d93c226bdfaa79bbdd86981921d7f106374225', 'versionType': 'git'}, {'status': 'affected', 'version': '7c9cbd0b5e38a1672fcd137894ace3b042dfbf69', 'lessThan': '996d3da39899aceb8f4910911a3f19a45a7d9d1b', 'versionType': 'git'}, {'status': 'affected', 'version': '7c9cbd0b5e38a1672fcd137894ace3b042dfbf69', 'lessThan': '73abbaf91aa33da87c008fb62c148ade561bb606', 'versionType': 'git'}, {'status': 'affected', 'version': '7c9cbd0b5e38a1672fcd137894ace3b042dfbf69', 'lessThan': '6b47bdaacfd0045687880177e0987055d8f4765a', 'versionType': 'git'}, {'status': 'affected', 'version': '7c9cbd0b5e38a1672fcd137894ace3b042dfbf69', 'lessThan': '687617555cedfb74c9e3cb85d759b908dcb17856', 'versionType': 'git'}, {'status': 'affected', 'version': '78c2887130f1a7d1883195732be1b6cdab667487', 'versionType': 'git'}, {'status': 'affected', 'version': 'ac7c597c465eb09391e40febbe088bdad601080b', 'versionType': 'git'}, {'status': 'affected', 'version': 'ade4560e4fea198866e033fe1c02f063d6d7db2e', 'versionType': 'git'}, {'status': 'affected', 'version': '99665dcf6ff803351b5e658f3a929cb498561e36', 'versionType': 'git'}, {'status': 'affected', 'version': '2b59d36f22622c92c0b06aee7571f0a86a217188', 'versionType': 'git'}, {'status': 'affected', 'version': '15d6538a0d6e0f6de5116081a948cba7cc3e1d3d', 'versionType': 'git'}, {'status': 'affected', 'version': 'a556547bae00528f24b42786b41a14047db14b84', 'versionType': 'git'}, {'status': 'affected', 'version': '3.16.66', 'lessThan': '3.17', 'versionType': 'semver'}, {'status': 'affected', 'version': '3.18.138', 'lessThan': '3.19', 'versionType': 'semver'}, {'status': 'affected', 'version': '4.4.178', 'lessThan': '4.5', 'versionType': 'semver'}, {'status': 'affected', 'version': '4.9.167', 'lessThan': '4.10', 'versionType': 'semver'}, {'status': 'affected', 'version': '4.14.110', 'lessThan': '4.15', 'versionType': 'semver'}, {'status': 'affected', 'version': '4.19.33', 'lessThan': '4.20', 'versionType': 'semver'}, {'status': 'affected', 'version': '5.0.6', 'lessThan': '5.1', 'versionType': 'semver'}], 'programFiles': ['net/bluetooth/l2cap_core.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.1'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.1', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc3', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/bluetooth/l2cap_core.c'], 'defaultStatus': 'affected'}]
    Added 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.
    Added Reference https://git.kernel.org/stable/c/687617555cedfb74c9e3cb85d759b908dcb17856
    Added Reference https://git.kernel.org/stable/c/6b47bdaacfd0045687880177e0987055d8f4765a
    Added Reference https://git.kernel.org/stable/c/73abbaf91aa33da87c008fb62c148ade561bb606
    Added Reference https://git.kernel.org/stable/c/7d871e969b941ce25653f7716203a0ea4d07ad4b
    Added Reference https://git.kernel.org/stable/c/98d93c226bdfaa79bbdd86981921d7f106374225
    Added Reference https://git.kernel.org/stable/c/996d3da39899aceb8f4910911a3f19a45a7d9d1b
    Added Reference https://git.kernel.org/stable/c/cca81b4bc672604a84f6d224a55cc77ec7dee619
    Added Reference https://git.kernel.org/stable/c/f70d4aa88068096f35d73e3a05eff33c0a16b9cd
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.