Not scored
scsi: ufs: core: Validate string descriptors
- Severity
- Not scored
- Exploit likelihood
- 0.17% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 4b828fe156a662a4b6135019bf077040340f299b before 22c076f72ad67d89dab58d9c97a17c33e8130e82, from 4b828fe156a662a4b6135019bf077040340f299b before 566109f1ee4e389b4effab43b0ce1fdab302e9de, from 4b828fe156a662a4b6135019bf077040340f299b before 02dd1a65dff842d9360a38ebe243dc8f6adbbaf5, from 4b828fe156a662a4b6135019bf077040340f299b before f3480c59f4ce97d831e9d06f5a2b9c20547ed1a4, from 4b828fe156a662a4b6135019bf077040340f299b before 66da25277256b6bf4c3fdbf3c9bfd43324c9cf25, from 4b828fe156a662a4b6135019bf077040340f299b before d96e83d028d7d8762e424e49c671d49ac2ecf14f, 5.4 Not affected: before 5.4, from 6.1.191 up to 6.1.*, from 6.6.160 up to 6.6.*, from 6.12.114 up to 6.12.*, from 6.18.57 up to 6.18.*, from 7.2.6 up to 7.2.* | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-92480 changed 2026-10-30 | CVE Terms of Use |
| NVD | CVE-2026-92480 changed 2026-10-30 | Public domain |