# CVE-2026-53312: iommu/riscv: Remove overflows on the invalidation path

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-06-26T19:41:05.688Z
- Modified: 2026-07-06T20:13:58.637Z
- Weaknesses: CWE-835
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

iommu/riscv: Remove overflows on the invalidation path

Since RISC-V supports a sign extended page table it should support
a gather->end of ULONG_MAX, but if this happens it will infinite loop
because of the overflow.

Also avoid overflow computing the length by moving the +1 to the other
side of the <

(As written by CVE List.)

## Affected

- Linux Linux: from 488ffbf181718b9ad8c1838cb249d60973e78eda before 9f0632b0d4246675fa221aa1a3bffadf9c6bd9ac; from 488ffbf181718b9ad8c1838cb249d60973e78eda before e4b7687784153481de45fd39fb97ba3919605c0c; from 488ffbf181718b9ad8c1838cb249d60973e78eda before 40a13b49957937427bc23e78eb50679df4396a47; 6.13 (not affected: before 6.13; from 6.18.33 up to 6.18.*; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.13 before 6.18.33; from 6.19 before 7.0.10

## References

- <https://git.kernel.org/stable/c/9f0632b0d4246675fa221aa1a3bffadf9c6bd9ac> (patch)
- <https://git.kernel.org/stable/c/e4b7687784153481de45fd39fb97ba3919605c0c> (patch)
- <https://git.kernel.org/stable/c/40a13b49957937427bc23e78eb50679df4396a47> (patch)

## Sources

- CVE List: [CVE-2026-53312](https://www.cve.org/CVERecord?id=CVE-2026-53312), CVE Terms of Use, modified 2026-06-26
- NVD: [CVE-2026-53312](https://nvd.nist.gov/vuln/detail/CVE-2026-53312), Public domain, modified 2026-07-06

---

Page: https://cve.day/CVE-2026-53312 · Whole record: https://cve.day/CVE-2026-53312.json · Rebuilt by cve.day 2026-11-25T22:59:26.535Z
