Bluetooth: hci: validate codec capability element length (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.40 % · percentile 35 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
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.
References
- https://git.kernel.org/stable/c/fc97fc8cf7f53fd3619db63e09050d20a3a0c4b1
- https://git.kernel.org/stable/c/290b36f9d1eb9b2f72b40d826f26b4a182ab15f7
- https://git.kernel.org/stable/c/f2ad01f55e07f9531efcea736087e6b8658a3440
- https://git.kernel.org/stable/c/ec4d352747a62c1082f16c11a74b37d6eb85a5a3
- https://git.kernel.org/stable/c/4bc16db0f11918e07edf9fdcda4a30cf4c9df45c
- https://git.kernel.org/stable/c/c38fbcdc407925c7088f7e5f11c1fff73d2d35a2
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-59447
- GCVE · GCVE-0-2026-74300
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 8961987f3f5fa2f2618e72304d013c8dd5e604a6 < fc97fc8cf7f53fd3619db63e09050d20a3a0c4b1 ; affected 8961987f3f5fa2f2618e72304d013c8dd5e604a6 < 290b36f9d1eb9b2f72b40d826f26b4a182ab15f7 ; affected 8961987f3f5fa2f2618e72304d013c8dd5e604a6 < f2ad01f55e07f9531efcea736087e6b8658a3440 ; affected 8961987f3f5fa2f2618e72304d013c8dd5e604a6 < ec4d352747a62c1082f16c11a74b37d6eb85a5a3 ; affected 8961987f3f5fa2f2618e72304d013c8dd5e604a6 < 4bc16db0f11918e07edf9fdcda4a30cf4c9df45c ; affected 8961987f3f5fa2f2618e72304d013c8dd5e604a6 < c38fbcdc407925c7088f7e5f11c1fff73d2d35a2 |
| Linux · Linux | affected 5.16 ; unaffected 0 < 5.16 ; unaffected 6.1.178 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.* ; unaffected 6.12.97 ≤ 6.12.* ; unaffected 6.18.40 ≤ 6.18.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |