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