{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "8961987f3f5fa2f2618e72304d013c8dd5e604a6"
            },
            {
              "fixed": "9c04b9a4d08b95dee901d24b7607c4cbd65fa0a8"
            },
            {
              "fixed": "a6da782fefae611e68a1aa79644065fc8ca5abcd"
            },
            {
              "fixed": "e4cfd3c4299105237458b27958bd7b0aa4c60795"
            },
            {
              "fixed": "f49a543d76d48f184b34225d9c0e2fc4cbdea8ec"
            },
            {
              "fixed": "12a82819b0cada6e304790b1097f8f9006eb6123"
            },
            {
              "fixed": "d0795cfd6f655f4de84868a4f4bb41a03f037b3d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.189"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.158"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.112"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.54"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.8"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98247.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_codec: validate vendor codec count length\n\nThe Read Local Supported Codecs parsers consume the variable-sized\nstandard codec array before parsing the vendor codec count.  Although the\ninitial reply-size check includes a vendor count byte in the fixed layout,\nit does not guarantee that the byte remains after the standard codec array.\n\nIf a controller reply ends immediately after that array, calculating the\nvendor codec array size reads vnd_codecs-\u003enum beyond the skb data.  Use\nskb_pull_data() to validate and consume each codec header before using its\ncount in both command variants.",
  "id": "CVE-2026-98247",
  "modified": "2026-10-08T02:30:26.428582432Z",
  "published": "2026-10-06T08:45:16.048Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/12a82819b0cada6e304790b1097f8f9006eb6123"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9c04b9a4d08b95dee901d24b7607c4cbd65fa0a8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a6da782fefae611e68a1aa79644065fc8ca5abcd"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d0795cfd6f655f4de84868a4f4bb41a03f037b3d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e4cfd3c4299105237458b27958bd7b0aa4c60795"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f49a543d76d48f184b34225d9c0e2fc4cbdea8ec"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98247.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98247"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "Bluetooth: hci_codec: validate vendor codec count length"
}