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 <
https://git.kernel.org/stable/c/e4b7687784153481de45fd39fb97ba3919605c0c
https://git.kernel.org/stable/c/9f0632b0d4246675fa221aa1a3bffadf9c6bd9ac
https://git.kernel.org/stable/c/40a13b49957937427bc23e78eb50679df4396a47