Skip to content
Heist/ feed
Back to feed
UnratedFix available

Bluetooth: hci_codec: validate vendor codec count length

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_codec: validate vendor codec count length The Read Local Supported Codecs parsers consume the variable-sized standard codec array before parsing the vendor codec count. Although the initial reply-size check includes a vendor count byte in the fixed layout, it does not guarantee that the byte remains after the standard codec array. If a controller reply ends immediately after that array, calculating the vendor codec array size reads vnd_codecs->num beyond the skb data. Use skb_pull_data() to validate and consume each codec header before using its count in both command variants.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.189, 6.12.112, 6.18.54, 6.6.158, 7.2.8
CVEs
CVE-2026-98247
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 13:43 UTC · Revision 1

Source evidence

Bluetooth: hci_codec: validate vendor codec count length

core-osv · Original source

Published 6 Oct 2026, 08:45 UTC

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_codec: validate vendor codec count length The Read Local Supported Codecs parsers consume the variable-sized standard codec array before parsing the vendor codec count. Although the initial reply-size check includes a vendor count byte in the fixed layout, it does not guarantee that the byte remains after the standard codec array. If a controller reply ends immediately after that array, calculating the vendor codec array size reads vnd_codecs->num beyond the skb data. Use skb_pull_data() to validate and consume each codec header before using its count in both command variants.

osv:CVE-2026-98247

Kernel

Fixed versions: 6.1.189, 6.6.158, 6.12.112, 6.18.54, 7.2.8

Complete source record
{
  "id": "dce0b32d137be5c4df3db8a7b94166c9d1418542ed76d6c1573b56f191db0903",
  "url": "https://osv.dev/vulnerability/CVE-2026-98247",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Bluetooth: hci_codec: validate vendor codec count length",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_codec: validate vendor codec count length The Read Local Supported Codecs parsers consume the variable-sized standard codec array before parsing the vendor codec count. Although the initial reply-size check includes a vendor count byte in the fixed layout, it does not guarantee that the byte remains after the standard codec array. If a controller reply ends immediately after that array, calculating the vendor codec array size reads vnd_codecs->num beyond the skb data. Use skb_pull_data() to validate and consume each codec header before using its count in both command variants.",
    "evidence": "osv:CVE-2026-98247",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.189",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.158",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.112",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.54",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.8",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-98247",
      "aliases": [
        "CVE-2026-98247"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "8961987f3f5fa2f2618e72304d013c8dd5e604a6"
                },
                {
                  "fixed": "9c04b9a4d08b95dee901d24b7607c4cbd65fa0a8"
                },
                {
                  "fixed": "a6da782fefae611e68a1aa79644065fc8ca5abcd"
                },
                {
                  "fixed": "e4cfd3c4299105237458b27958bd7b0aa4c60795"
                },
                {
                  "fixed": "f49a543d76d48f184b34225d9c0e2fc4cbdea8ec"
                },
                {
                  "fixed": "12a82819b0cada6e304790b1097f8f9006eb6123"
                },
                {
                  "fixed": "d0795cfd6f655f4de84868a4f4bb41a03f037b3d"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98247.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "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"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98247.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.846480524Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/12a82819b0cada6e304790b1097f8f9006eb6123",
        "https://git.kernel.org/stable/c/9c04b9a4d08b95dee901d24b7607c4cbd65fa0a8",
        "https://git.kernel.org/stable/c/a6da782fefae611e68a1aa79644065fc8ca5abcd",
        "https://git.kernel.org/stable/c/d0795cfd6f655f4de84868a4f4bb41a03f037b3d",
        "https://git.kernel.org/stable/c/e4cfd3c4299105237458b27958bd7b0aa4c60795",
        "https://git.kernel.org/stable/c/f49a543d76d48f184b34225d9c0e2fc4cbdea8ec",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98247.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-98247",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98247.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-98247",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 519504,
  "published_at": "2026-10-06T08:45:16.048+00:00"
}