{
  "id": "CVE-2026-64403",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64403",
  "published_at": "2026-07-25T08:50:45.796Z",
  "title": "Bluetooth: L2CAP: validate option length before reading conf opt value",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: validate option length before reading conf opt value\n\nl2cap_get_conf_opt() derives the option length from the\nattacker-controlled opt-\u003elen field and immediately dereferences\nopt-\u003eval (as u8, get_unaligned_le16() or get_unaligned_le32(), or a\nraw pointer for the default case) before any caller has confirmed\nthat opt-\u003elen bytes are present in the buffer. The callers\n(l2cap_parse_conf_req(), l2cap_parse_conf_rsp() and\nl2cap_conf_rfc_get()) only detect a malformed option afterwards, once\nthe running length has gone negative, by which point the\nout-of-bounds read has already executed.\n\nAn existing post-hoc length check keeps the garbage value from being\nconsumed, so this is not a data leak in the current control flow. It\nis still a validate-after-use ordering bug: up to 4 bytes are read\npast the end of the buffer before it is known to contain them, and it\nis fragile to future changes in the callers.\n\nFix it at the source. Pass the end of the buffer into\nl2cap_get_conf_opt() and refuse to touch opt-\u003eval unless the full\noption (header + value) fits. Each caller computes an end pointer\nonce before the loop and checks the return value directly instead of\ninferring the error from a negative length.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.2:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.2:rc2:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 7c9cbd0b5e38a1672fcd137894ace3b042dfbf69, \u003c cca81b4bc672604a84f6d224a55cc77ec7dee619",
          "\u003e= 7c9cbd0b5e38a1672fcd137894ace3b042dfbf69, \u003c f70d4aa88068096f35d73e3a05eff33c0a16b9cd",
          "\u003e= 7c9cbd0b5e38a1672fcd137894ace3b042dfbf69, \u003c 7d871e969b941ce25653f7716203a0ea4d07ad4b",
          "\u003e= 7c9cbd0b5e38a1672fcd137894ace3b042dfbf69, \u003c 98d93c226bdfaa79bbdd86981921d7f106374225",
          "\u003e= 7c9cbd0b5e38a1672fcd137894ace3b042dfbf69, \u003c 996d3da39899aceb8f4910911a3f19a45a7d9d1b",
          "\u003e= 7c9cbd0b5e38a1672fcd137894ace3b042dfbf69, \u003c 73abbaf91aa33da87c008fb62c148ade561bb606",
          "\u003e= 7c9cbd0b5e38a1672fcd137894ace3b042dfbf69, \u003c 6b47bdaacfd0045687880177e0987055d8f4765a",
          "\u003e= 7c9cbd0b5e38a1672fcd137894ace3b042dfbf69, \u003c 687617555cedfb74c9e3cb85d759b908dcb17856",
          "78c2887130f1a7d1883195732be1b6cdab667487",
          "ac7c597c465eb09391e40febbe088bdad601080b",
          "ade4560e4fea198866e033fe1c02f063d6d7db2e",
          "99665dcf6ff803351b5e658f3a929cb498561e36",
          "2b59d36f22622c92c0b06aee7571f0a86a217188",
          "15d6538a0d6e0f6de5116081a948cba7cc3e1d3d",
          "a556547bae00528f24b42786b41a14047db14b84",
          "\u003e= 3.16.66, \u003c 3.17",
          "\u003e= 3.18.138, \u003c 3.19",
          "\u003e= 4.4.178, \u003c 4.5",
          "\u003e= 4.9.167, \u003c 4.10",
          "\u003e= 4.14.110, \u003c 4.15",
          "\u003e= 4.19.33, \u003c 4.20",
          "\u003e= 5.0.6, \u003c 5.1"
        ],
        "fixed_in": [
          "cca81b4bc672604a84f6d224a55cc77ec7dee619",
          "f70d4aa88068096f35d73e3a05eff33c0a16b9cd",
          "7d871e969b941ce25653f7716203a0ea4d07ad4b",
          "98d93c226bdfaa79bbdd86981921d7f106374225",
          "996d3da39899aceb8f4910911a3f19a45a7d9d1b",
          "73abbaf91aa33da87c008fb62c148ade561bb606",
          "6b47bdaacfd0045687880177e0987055d8f4765a",
          "687617555cedfb74c9e3cb85d759b908dcb17856",
          "3.17",
          "3.19",
          "4.5",
          "4.10",
          "4.15",
          "4.20",
          "5.1"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.1"
        ],
        "fixed_in": [
          "0",
          "5.10.261",
          "5.15.212",
          "6.1.178",
          "6.6.145",
          "6.12.96",
          "6.18.39",
          "7.1.4",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to cca81b4bc672604a84f6d224a55cc77ec7dee619 or f70d4aa88068096f35d73e3a05eff33c0a16b9cd or 7d871e969b941ce25653f7716203a0ea4d07ad4b or 98d93c226bdfaa79bbdd86981921d7f106374225 or 996d3da39899aceb8f4910911a3f19a45a7d9d1b or 73abbaf91aa33da87c008fb62c148ade561bb606 or 6b47bdaacfd0045687880177e0987055d8f4765a or 687617555cedfb74c9e3cb85d759b908dcb17856 or 3.17 or 3.19 or 4.5 or 4.10 or 4.15 or 4.20 or 5.1 or later.",
      "Upgrade Linux to 0 or 5.10.261 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.96 or 6.18.39 or 7.1.4 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
