Linux
iommu/riscv: Add IOTINVAL after updating DDT/PDT entries
In the Linux kernel, the following vulnerability has been resolved: iommu/riscv: Add IOTINVAL after updating DDT/PDT entries Add riscv_iommu_iodir_iotinval() to perform required TLB and context cache invalidations after updating DDT or PDT entries, as mandated by the RISC-V IOMMU specification (Section 6.3.1 and 6.3.2).
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 488ffbf181718b9ad8c1838cb249d60973e78eda, < 3f917d9bff68600f77561900f3145bd4706dc840
- >= 488ffbf181718b9ad8c1838cb249d60973e78eda, < d99d1c13faa793ff1abab0d20ab6473c838081b3
- >= 488ffbf181718b9ad8c1838cb249d60973e78eda, < f5c262b544975e067ea265fc7403aefbbea8563e
Fixed in 3f917d9bff68600f77561900f3145bd4706dc840, d99d1c13faa793ff1abab0d20ab6473c838081b3, f5c262b544975e067ea265fc7403aefbbea8563e
- 6.13
Fixed in 0, 6.18.33, 7.0.10, 7.1
Mitigation
Upgrade Linux to 3f917d9bff68600f77561900f3145bd4706dc840 or d99d1c13faa793ff1abab0d20ab6473c838081b3 or f5c262b544975e067ea265fc7403aefbbea8563e or later.
Upgrade Linux to 0 or 6.18.33 or 7.0.10 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.