CVE-2026-93157 (GCVE-0-2026-93157)
Vulnerability from cvelistv5
Published
2026-09-17 16:11
Modified
2026-10-19 09:06
Severity ?
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.
Impacted products
Vendor Product Version
Linux Linux Version: 8979744aca8096ee5072798dfc1181606919b35d
Version: 8979744aca8096ee5072798dfc1181606919b35d
Version: 8979744aca8096ee5072798dfc1181606919b35d
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/char/hw_random/xilinx-trng.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "62219775a07ce0bd8085852f3d1e2d772bf6fdec",
              "status": "affected",
              "version": "8979744aca8096ee5072798dfc1181606919b35d",
              "versionType": "git"
            },
            {
              "lessThan": "bdc3b37a935f28c3e9eb2f6e889b4644d859fb08",
              "status": "affected",
              "version": "8979744aca8096ee5072798dfc1181606919b35d",
              "versionType": "git"
            },
            {
              "lessThan": "ba088974419326daf46c5dc03e2cf6ab6ab701f7",
              "status": "affected",
              "version": "8979744aca8096ee5072798dfc1181606919b35d",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/char/hw_random/xilinx-trng.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.18"
            },
            {
              "lessThan": "6.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.52",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.52",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.6",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:06:29.228Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/62219775a07ce0bd8085852f3d1e2d772bf6fdec"
        },
        {
          "url": "https://git.kernel.org/stable/c/bdc3b37a935f28c3e9eb2f6e889b4644d859fb08"
        },
        {
          "url": "https://git.kernel.org/stable/c/ba088974419326daf46c5dc03e2cf6ab6ab701f7"
        }
      ],
      "title": "hwrng: xilinx-trng - propagate timeout before any data is read",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-93157",
    "datePublished": "2026-09-17T16:11:52.459Z",
    "dateReserved": "2026-09-17T16:02:15.089Z",
    "dateUpdated": "2026-10-19T09:06:29.228Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…