hwrng: xilinx-trng - propagate timeout before any data is read
In the Linux kernel, the following vulnerability has been resolved: hwrng: xilinx-trng - propagate timeout before any data is read xtrng_readblock32() polls for 16-byte chunks but returns the number of bytes read even when the first poll times out. Its caller then treats a zero return as a short successful read, and partial reads for full 32-byte blocks can make the tail copy use a fixed block offset rather than the amount already produced. Return the poll error when no data has been read, preserve partial positive returns after some data is available, stop the generator on all collection exits, and append tail bytes at the current output count.
CVE-2026-93157
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-93157
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": "8979744aca8096ee5072798dfc1181606919b35d",
"lessThan": "62219775a07ce0bd8085852f3d1e2d772bf6fdec",
"versionType": "git"
},
{
"status": "affected",
"version": "8979744aca8096ee5072798dfc1181606919b35d",
"lessThan": "bdc3b37a935f28c3e9eb2f6e889b4644d859fb08",
"versionType": "git"
},
{
"status": "affected",
"version": "8979744aca8096ee5072798dfc1181606919b35d",
"lessThan": "ba088974419326daf46c5dc03e2cf6ab6ab701f7",
"versionType": "git"
}
],
"programFiles": [
"drivers/char/hw_random/xilinx-trng.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.18"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.18",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.18.52",
"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/char/hw_random/xilinx-trng.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-93157
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #37874 · Revision 1
- Added to Heist Feed
- Publisher date