Bluetooth: RFCOMM: validate skb length in rfcomm_recv_frame (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.17 % · percentile 7 ()
- 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: RFCOMM: validate skb length in rfcomm_recv_frame rfcomm_recv_frame() casts skb->data to struct rfcomm_hdr and dereferences hdr->addr and hdr->ctrl without validating skb->len first. A truncated frame with skb->len less than the minimum header size causes an out-of-bounds read of uninitialized memory. Additionally, a zero-length frame causes skb->len-- to underflow to UINT_MAX, making skb_tail_pointer() read far past the buffer. Commit 23882b828c3c ("Bluetooth: RFCOMM: validate skb length in MCC handlers") fixed the same class of missing-length-check bugs in the MCC sub-handlers, but the top-level rfcomm_recv_frame() was left unfixed. KMSAN reports: BUG: KMSAN: uninit-value in rfcomm_run ... Uninit was created at: __alloc_skb+0x474/0xb60 vhci_write+0xe9/0x870 Fix this by rejecting frames smaller than sizeof(struct rfcomm_hdr) + 1 (the minimum frame must have a 3-byte header and a 1-byte FCS).
References
- https://git.kernel.org/stable/c/fb40eda15122f6b780228639c1ead6820340ff54
- https://git.kernel.org/stable/c/3829af5fab5a22405bf1e7d69068c2ec0fce46ca
- https://git.kernel.org/stable/c/b161eacd7fa4a2d765724b5504ac6cc388e48f80
- https://git.kernel.org/stable/c/30d1d9f3495463f7c026e4c553127f79b486fcd6
- https://git.kernel.org/stable/c/67dc3b40fae71b6b11c71e7ff69bac0758818c05
- https://git.kernel.org/stable/c/bbc310caa2b6bf5fe42896ba27da0fbc12e4ac51
- https://git.kernel.org/stable/c/b230e5bf501c5edaf2eb0991cb862ac142031d4b
European references
- ENISA EUVD · EUVD-2026-86170
- GCVE · GCVE-0-2026-93783
CERT-FR advisories
- CERTFR-2026-AVI-1677 — Multiples vulnérabilités dans le noyau Linux de Red Hat · cert.ssi.gouv.fr
- 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-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < fb40eda15122f6b780228639c1ead6820340ff54 affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 3829af5fab5a22405bf1e7d69068c2ec0fce46ca affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < b161eacd7fa4a2d765724b5504ac6cc388e48f80 affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 30d1d9f3495463f7c026e4c553127f79b486fcd6 affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 67dc3b40fae71b6b11c71e7ff69bac0758818c05 affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < bbc310caa2b6bf5fe42896ba27da0fbc12e4ac51 affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < b230e5bf501c5edaf2eb0991cb862ac142031d4b 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.111 ≤ 6.12.* unaffected : ≥ 6.18.53 ≤ 6.18.* unaffected : ≥ 7.2 ≤ * 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 |