CVE-2026-92480 PUBLISHED

scsi: ufs: core: Validate string descriptors

Assigner: Linux
Reserved: 16.09.2026 Published: 17.09.2026 Updated: 17.09.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 4b828fe156a662a4b6135019bf077040340f299b to 66da25277256b6bf4c3fdbf3c9bfd43324c9cf25 (excl.)
  • affected from 4b828fe156a662a4b6135019bf077040340f299b to d96e83d028d7d8762e424e49c671d49ac2ecf14f (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.4 is affected
  • unaffected from 0 to 5.4 (excl.)
  • unaffected from 7.2.6 to 7.2.* (incl.)
  • unaffected from 7.3-rc1 to * (incl.)

References