{"id":"CVE-2026-53312","state":"PUBLISHED","title":"iommu/riscv: Remove overflows on the invalidation path","description":"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->end 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 <","publishedAt":"2026-06-26T19:41:05.688Z","updatedAt":"2026-06-26T19:41:05.688Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"488ffbf181718b9ad8c1838cb249d60973e78eda","status":"affected","lessThan":"9f0632b0d4246675fa221aa1a3bffadf9c6bd9ac","versionType":"git"},{"version":"488ffbf181718b9ad8c1838cb249d60973e78eda","status":"affected","lessThan":"e4b7687784153481de45fd39fb97ba3919605c0c","versionType":"git"},{"version":"488ffbf181718b9ad8c1838cb249d60973e78eda","status":"affected","lessThan":"40a13b49957937427bc23e78eb50679df4396a47","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/riscv/iommu.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.13","versionType":"semver"},{"version":"6.18.33","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.10","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/riscv/iommu.c"]}],"references":["https://git.kernel.org/stable/c/9f0632b0d4246675fa221aa1a3bffadf9c6bd9ac","https://git.kernel.org/stable/c/e4b7687784153481de45fd39fb97ba3919605c0c","https://git.kernel.org/stable/c/40a13b49957937427bc23e78eb50679df4396a47"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53312.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53312","state":"PUBLISHED","datePublished":"2026-06-26T19:41:05.688Z","dateUpdated":"2026-06-26T19:41:05.688Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-06-09T07:44:35.397Z"},"containers":{"cna":{"title":"iommu/riscv: Remove overflows on the invalidation path","descriptions":[{"lang":"en","value":"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->end 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 <"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"488ffbf181718b9ad8c1838cb249d60973e78eda","status":"affected","lessThan":"9f0632b0d4246675fa221aa1a3bffadf9c6bd9ac","versionType":"git"},{"version":"488ffbf181718b9ad8c1838cb249d60973e78eda","status":"affected","lessThan":"e4b7687784153481de45fd39fb97ba3919605c0c","versionType":"git"},{"version":"488ffbf181718b9ad8c1838cb249d60973e78eda","status":"affected","lessThan":"40a13b49957937427bc23e78eb50679df4396a47","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/riscv/iommu.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.13","versionType":"semver"},{"version":"6.18.33","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.10","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/riscv/iommu.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/9f0632b0d4246675fa221aa1a3bffadf9c6bd9ac"},{"url":"https://git.kernel.org/stable/c/e4b7687784153481de45fd39fb97ba3919605c0c"},{"url":"https://git.kernel.org/stable/c/40a13b49957937427bc23e78eb50679df4396a47"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-06-26T19:41:05.688Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.18.33"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"7.0.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}