---
id: CVE-2026-93157
title: |-
  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 po…
summary: |-
  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 po…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 8979744aca8096ee5072798dfc1181606919b35d <
    62219775a07ce0bd8085852f3d1e2d772bf6fdec
  - >-
    Linux >= 8979744aca8096ee5072798dfc1181606919b35d <
    bdc3b37a935f28c3e9eb2f6e889b4644d859fb08
  - >-
    Linux >= 8979744aca8096ee5072798dfc1181606919b35d <
    ba088974419326daf46c5dc03e2cf6ab6ab701f7
  - Linux 6.18
published: '2026-09-17'
updated: '2026-09-17'
sourceUpdated: '2026-09-17T17:18:11.040'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-93157'
references:
  - url: 'https://git.kernel.org/stable/c/62219775a07ce0bd8085852f3d1e2d772bf6fdec'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ba088974419326daf46c5dc03e2cf6ab6ab701f7'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/bdc3b37a935f28c3e9eb2f6e889b4644d859fb08'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-17T16:21:47.738Z'
epss: 0.00206
epssPercentile: 0.09525
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
