Skip to content
Heist/ feed
Back to feed
UnratedFix available

hwrng: xilinx-trng - propagate timeout before any data is read

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.18.52, 7.2.6
CVEs
CVE-2026-93157
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:11 UTC · Revision 1

Source evidence

hwrng: xilinx-trng - propagate timeout before any data is read

core-osv · Original source

Published 17 Sept 2026, 16:11 UTC

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.

osv:CVE-2026-93157

Kernel

Fixed versions: 6.18.52, 7.2.6

Complete source record
{
  "id": "237f130e646e65ecbf46a58bd7d6b7af5c8aef6474120276a3ac20b6b11187bd",
  "url": "https://osv.dev/vulnerability/CVE-2026-93157",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "hwrng: xilinx-trng - propagate timeout before any data is read",
    "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 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.",
    "evidence": "osv:CVE-2026-93157",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.18.52",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.6",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-93157",
      "aliases": [
        "CVE-2026-93157"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "8979744aca8096ee5072798dfc1181606919b35d"
                },
                {
                  "fixed": "62219775a07ce0bd8085852f3d1e2d772bf6fdec"
                },
                {
                  "fixed": "bdc3b37a935f28c3e9eb2f6e889b4644d859fb08"
                },
                {
                  "fixed": "ba088974419326daf46c5dc03e2cf6ab6ab701f7"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93157.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.18.0"
                },
                {
                  "fixed": "6.18.52"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.6"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93157.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.216488202Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/62219775a07ce0bd8085852f3d1e2d772bf6fdec",
        "https://git.kernel.org/stable/c/ba088974419326daf46c5dc03e2cf6ab6ab701f7",
        "https://git.kernel.org/stable/c/bdc3b37a935f28c3e9eb2f6e889b4644d859fb08",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93157.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-93157",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93157.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-93157",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 504514,
  "published_at": "2026-09-17T16:11:52.459+00:00"
}