# CVE-2026-93157: hwrng: xilinx-trng - propagate timeout before any data is read

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-09-17T16:11:52.459Z
- Modified: 2026-10-19T10:17:05.930Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 8979744aca8096ee5072798dfc1181606919b35d before 62219775a07ce0bd8085852f3d1e2d772bf6fdec; from 8979744aca8096ee5072798dfc1181606919b35d before bdc3b37a935f28c3e9eb2f6e889b4644d859fb08; from 8979744aca8096ee5072798dfc1181606919b35d before ba088974419326daf46c5dc03e2cf6ab6ab701f7; 6.18 (not affected: before 6.18; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/62219775a07ce0bd8085852f3d1e2d772bf6fdec>
- <https://git.kernel.org/stable/c/bdc3b37a935f28c3e9eb2f6e889b4644d859fb08>
- <https://git.kernel.org/stable/c/ba088974419326daf46c5dc03e2cf6ab6ab701f7>

## Sources

- CVE List: [CVE-2026-93157](https://www.cve.org/CVERecord?id=CVE-2026-93157), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-93157](https://nvd.nist.gov/vuln/detail/CVE-2026-93157), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-93157 · Whole record: https://cve.day/CVE-2026-93157.json · Rebuilt by cve.day 2026-11-25T22:59:39.471Z
