{"id":"CVE-2026-53312","summary":"iommu/riscv: Remove overflows on the invalidation path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/riscv: Remove overflows on the invalidation path\n\nSince RISC-V supports a sign extended page table it should support\na gather-\u003eend of ULONG_MAX, but if this happens it will infinite loop\nbecause of the overflow.\n\nAlso avoid overflow computing the length by moving the +1 to the other\nside of the \u003c","modified":"2026-07-08T08:09:46.307718134Z","published":"2026-06-26T19:41:05.688Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53312.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/40a13b49957937427bc23e78eb50679df4396a47"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9f0632b0d4246675fa221aa1a3bffadf9c6bd9ac"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e4b7687784153481de45fd39fb97ba3919605c0c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53312.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53312"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"488ffbf181718b9ad8c1838cb249d60973e78eda"},{"fixed":"9f0632b0d4246675fa221aa1a3bffadf9c6bd9ac"},{"fixed":"e4b7687784153481de45fd39fb97ba3919605c0c"},{"fixed":"40a13b49957937427bc23e78eb50679df4396a47"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53312.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.33"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53312.json"}}],"schema_version":"1.7.5"}