Skip to content
Heist/ feed
Unrated

Bluetooth: hci_codec: validate vendor codec count length

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-98247

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-98247

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "8961987f3f5fa2f2618e72304d013c8dd5e604a6",
        "lessThan": "9c04b9a4d08b95dee901d24b7607c4cbd65fa0a8",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8961987f3f5fa2f2618e72304d013c8dd5e604a6",
        "lessThan": "a6da782fefae611e68a1aa79644065fc8ca5abcd",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8961987f3f5fa2f2618e72304d013c8dd5e604a6",
        "lessThan": "e4cfd3c4299105237458b27958bd7b0aa4c60795",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8961987f3f5fa2f2618e72304d013c8dd5e604a6",
        "lessThan": "f49a543d76d48f184b34225d9c0e2fc4cbdea8ec",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8961987f3f5fa2f2618e72304d013c8dd5e604a6",
        "lessThan": "12a82819b0cada6e304790b1097f8f9006eb6123",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8961987f3f5fa2f2618e72304d013c8dd5e604a6",
        "lessThan": "d0795cfd6f655f4de84868a4f4bb41a03f037b3d",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "net/bluetooth/hci_codec.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.16"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.16",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.1.189",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.158",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.112",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.54",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.8",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "net/bluetooth/hci_codec.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-98247

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#38327 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement