{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "8979744aca8096ee5072798dfc1181606919b35d"
            },
            {
              "fixed": "62219775a07ce0bd8085852f3d1e2d772bf6fdec"
            },
            {
              "fixed": "bdc3b37a935f28c3e9eb2f6e889b4644d859fb08"
            },
            {
              "fixed": "ba088974419326daf46c5dc03e2cf6ab6ab701f7"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.18.0"
            },
            {
              "fixed": "6.18.52"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93157.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nhwrng: xilinx-trng - propagate timeout before any data is read\n\nxtrng_readblock32() polls for 16-byte chunks but returns the number of\nbytes read even when the first poll times out. Its caller then treats a\nzero return as a short successful read, and partial reads for full\n32-byte blocks can make the tail copy use a fixed block offset rather\nthan the amount already produced.\n\nReturn the poll error when no data has been read, preserve partial\npositive returns after some data is available, stop the generator on all\ncollection exits, and append tail bytes at the current output count.",
  "id": "CVE-2026-93157",
  "modified": "2026-09-19T03:30:18.861981464Z",
  "published": "2026-09-17T16:11:52.459Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/62219775a07ce0bd8085852f3d1e2d772bf6fdec"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ba088974419326daf46c5dc03e2cf6ab6ab701f7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bdc3b37a935f28c3e9eb2f6e889b4644d859fb08"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93157.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-93157"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "hwrng: xilinx-trng - propagate timeout before any data is read"
}