CVE Catalog

CVE-2026-93157

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, xtrng_readblock32() in the hwrng: xilinx-trng driver returned the number of bytes read even when the first poll timed out. The caller treated a zero return as a short successful read, and partial reads for full 32-byte blocks could make the tail copy use a fixed block offset instead of the amount already produced.

Risk Assessment

This may result in returning invalid or incomplete random data, undermining trust in the random number generator and cryptographic security.

Recommendation

Update the Linux kernel to a version where the poll error is propagated and partial reads are handled correctly.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS