scsi: ufs: core: Validate string descriptors
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.
CVE-2026-92480
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-92480
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "4b828fe156a662a4b6135019bf077040340f299b",
"lessThan": "566109f1ee4e389b4effab43b0ce1fdab302e9de",
"versionType": "git"
},
{
"status": "affected",
"version": "4b828fe156a662a4b6135019bf077040340f299b",
"lessThan": "02dd1a65dff842d9360a38ebe243dc8f6adbbaf5",
"versionType": "git"
},
{
"status": "affected",
"version": "4b828fe156a662a4b6135019bf077040340f299b",
"lessThan": "f3480c59f4ce97d831e9d06f5a2b9c20547ed1a4",
"versionType": "git"
},
{
"status": "affected",
"version": "4b828fe156a662a4b6135019bf077040340f299b",
"lessThan": "66da25277256b6bf4c3fdbf3c9bfd43324c9cf25",
"versionType": "git"
},
{
"status": "affected",
"version": "4b828fe156a662a4b6135019bf077040340f299b",
"lessThan": "d96e83d028d7d8762e424e49c671d49ac2ecf14f",
"versionType": "git"
}
],
"programFiles": [
"drivers/ufs/core/ufshcd.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.4"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.4",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.114",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.57",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.6",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/ufs/core/ufshcd.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-92480
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #48697 · Revision 1
- Added to Heist Feed
- Publisher date