# CVE-2026-98247: Bluetooth: hci_codec: validate vendor codec count length

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-10-06T08:45:16.048Z
- Modified: 2026-10-19T10:18:25.610Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 8961987f3f5fa2f2618e72304d013c8dd5e604a6 before 9c04b9a4d08b95dee901d24b7607c4cbd65fa0a8; from 8961987f3f5fa2f2618e72304d013c8dd5e604a6 before a6da782fefae611e68a1aa79644065fc8ca5abcd; from 8961987f3f5fa2f2618e72304d013c8dd5e604a6 before e4cfd3c4299105237458b27958bd7b0aa4c60795; from 8961987f3f5fa2f2618e72304d013c8dd5e604a6 before f49a543d76d48f184b34225d9c0e2fc4cbdea8ec; from 8961987f3f5fa2f2618e72304d013c8dd5e604a6 before 12a82819b0cada6e304790b1097f8f9006eb6123; from 8961987f3f5fa2f2618e72304d013c8dd5e604a6 before d0795cfd6f655f4de84868a4f4bb41a03f037b3d; 5.16 (not affected: before 5.16; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.54 up to 6.18.*; from 7.2.8 up to 7.2.*; from 7.3 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-98247](https://www.cve.org/CVERecord?id=CVE-2026-98247), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98247](https://nvd.nist.gov/vuln/detail/CVE-2026-98247), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98247 · Whole record: https://cve.day/CVE-2026-98247.json · Rebuilt by cve.day 2026-11-25T22:59:42.302Z
