scsi: ufs: core: Validate string descriptors (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: scsi: ufs: core: Validate string descriptors The string descriptor length includes a two-byte header while the UTF-16 payload starts after it. utf16s_to_utf8s() expects a count of UTF-16 code units, not bytes. Passing the payload byte count can make it read beyond the descriptor buffer. Validate that the payload has an even byte count, pass a code-unit count to the converter, and allocate sufficient UTF-8 output space. The raw string buffer starts after the descriptor header but its size is bLength. Copying bLength bytes from that pointer can read beyond the response buffer. Allocate a zeroed bLength-sized buffer and copy only the UTF-16 payload. This preserves the raw buffer size consumed by the RPMB device-ID ABI while avoiding the overread.
References
- https://git.kernel.org/stable/c/22c076f72ad67d89dab58d9c97a17c33e8130e82
- https://git.kernel.org/stable/c/566109f1ee4e389b4effab43b0ce1fdab302e9de
- https://git.kernel.org/stable/c/02dd1a65dff842d9360a38ebe243dc8f6adbbaf5
- https://git.kernel.org/stable/c/f3480c59f4ce97d831e9d06f5a2b9c20547ed1a4
- https://git.kernel.org/stable/c/66da25277256b6bf4c3fdbf3c9bfd43324c9cf25
- https://git.kernel.org/stable/c/d96e83d028d7d8762e424e49c671d49ac2ecf14f
European references
- ENISA EUVD · EUVD-2026-82101
- GCVE · GCVE-0-2026-92480
CERT-FR advisories
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1595 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1473 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 4b828fe156a662a4b6135019bf077040340f299b < 22c076f72ad67d89dab58d9c97a17c33e8130e82 affected : ≥ 4b828fe156a662a4b6135019bf077040340f299b < 566109f1ee4e389b4effab43b0ce1fdab302e9de affected : ≥ 4b828fe156a662a4b6135019bf077040340f299b < 02dd1a65dff842d9360a38ebe243dc8f6adbbaf5 affected : ≥ 4b828fe156a662a4b6135019bf077040340f299b < f3480c59f4ce97d831e9d06f5a2b9c20547ed1a4 affected : ≥ 4b828fe156a662a4b6135019bf077040340f299b < 66da25277256b6bf4c3fdbf3c9bfd43324c9cf25 affected : ≥ 4b828fe156a662a4b6135019bf077040340f299b < d96e83d028d7d8762e424e49c671d49ac2ecf14f Other versions : unaffected |
| Linux · Linux | affected : 5.4 unaffected : ≥ 0 < 5.4 unaffected : ≥ 6.1.191 ≤ 6.1.* unaffected : ≥ 6.6.160 ≤ 6.6.* unaffected : ≥ 6.12.114 ≤ 6.12.* unaffected : ≥ 6.18.57 ≤ 6.18.* unaffected : ≥ 7.2.6 ≤ 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 |