8.8high
Bluetooth: hci: validate codec capability element length
- Severity
- 8.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci: validate codec capability element length Read Local Codec Capabilities returns a sequence of capability elements. Each element starts with a one-byte length followed by that many payload bytes. hci_read_codec_capabilities() checks that the skb contains the length byte, but then validates only caps->len against the remaining skb length. A malformed controller response with one remaining byte and caps->len set to one passes that check even though the element needs two bytes. The parser then records a two-byte capability and copies one byte beyond the advertised response payload into the codec list. Validate the full element size, including the length byte, before adding it to the accumulated capability length. This preserves all well-formed capability elements and drops only truncated controller responses.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 8961987f3f5fa2f2618e72304d013c8dd5e604a6 before fc97fc8cf7f53fd3619db63e09050d20a3a0c4b1, from 8961987f3f5fa2f2618e72304d013c8dd5e604a6 before 290b36f9d1eb9b2f72b40d826f26b4a182ab15f7, from 8961987f3f5fa2f2618e72304d013c8dd5e604a6 before f2ad01f55e07f9531efcea736087e6b8658a3440, from 8961987f3f5fa2f2618e72304d013c8dd5e604a6 before ec4d352747a62c1082f16c11a74b37d6eb85a5a3, from 8961987f3f5fa2f2618e72304d013c8dd5e604a6 before 4bc16db0f11918e07edf9fdcda4a30cf4c9df45c, from 8961987f3f5fa2f2618e72304d013c8dd5e604a6 before c38fbcdc407925c7088f7e5f11c1fff73d2d35a2, 5.16 Not affected: before 5.16, from 6.1.178 up to 6.1.*, from 6.6.145 up to 6.6.*, from 6.12.97 up to 6.12.*, from 6.18.40 up to 6.18.*, from 7.1.5 up to 7.1.* | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74300 changed 2026-10-16 | CVE Terms of Use |
| NVD | CVE-2026-74300 changed 2026-10-16 | Public domain |