Bluetooth: hci_sock: validate event length before filtering (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.22 % · percentile 13 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sock: validate event length before filtering is_filtered_packet() reads the event code from skb->data[0] without first checking that the skb is nonempty. When an opcode filter is configured, it also reads the command opcode at offsets 3 or 4 without checking that a Command Complete or Command Status event is long enough. hci_send_to_sock() invokes the filter before hci_event_packet() validates the event header. A malformed event supplied by a controller or a vhci device can therefore cause an out-of-bounds read. Keep the unmasked event code for the opcode checks. The masked value is needed for the 64-bit event bitmap, but using it to identify command events aliases event codes above 0x3f. In particular, Synchronous Train Complete (0x4f) was treated as Command Status (0x0f) even though its payload has no opcode. Reject actual command events that are too short for the field being inspected. A truncated command event cannot match a configured opcode.
References
- https://git.kernel.org/stable/c/39e99d85071bca0feeec3164a9437ca1bff297fc
- https://git.kernel.org/stable/c/ebdd49cec380731844ed9df4092a29a014623df4
- https://git.kernel.org/stable/c/2501a3b7b7144d1d11939b355a48ed01f83d0c62
- https://git.kernel.org/stable/c/dca25c204f71be0556a15177dbe037237ac43e5e
- https://git.kernel.org/stable/c/3976bbcd43b9b94c53ac9b0fd28888011588f4cc
- https://git.kernel.org/stable/c/f894f6292d5122cd62d30600736b4a0ae79f7770
- https://git.kernel.org/stable/c/1a92763c2ba721bf113cd83f913fe8c511b4a4dc
- https://git.kernel.org/stable/c/b0a6cf99afd57a39598b1beca0e86ef5004980de
European references
- ENISA EUVD · EUVD-2026-103701
- GCVE · GCVE-0-2026-98461
CERT-FR advisories
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1593 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1535 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1470 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 39e99d85071bca0feeec3164a9437ca1bff297fc affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < ebdd49cec380731844ed9df4092a29a014623df4 affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 2501a3b7b7144d1d11939b355a48ed01f83d0c62 affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < dca25c204f71be0556a15177dbe037237ac43e5e affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 3976bbcd43b9b94c53ac9b0fd28888011588f4cc affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < f894f6292d5122cd62d30600736b4a0ae79f7770 affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 1a92763c2ba721bf113cd83f913fe8c511b4a4dc affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < b0a6cf99afd57a39598b1beca0e86ef5004980de Other versions : unaffected |
| Linux · Linux | affected : 2.6.12 unaffected : ≥ 0 < 2.6.12 unaffected : ≥ 5.10.271 ≤ 5.10.* unaffected : ≥ 5.15.222 ≤ 5.15.* unaffected : ≥ 6.1.189 ≤ 6.1.* unaffected : ≥ 6.6.158 ≤ 6.6.* unaffected : ≥ 6.12.112 ≤ 6.12.* unaffected : ≥ 6.18.55 ≤ 6.18.* unaffected : ≥ 7.2.9 ≤ 7.2.* unaffected : ≥ 7.3 ≤ * Other versions : affected |
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 |