iommu/riscv: prevent NULL deref in iova_to_phys
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 220c491490255b656672bb572b18460cd9155926 and Kernel 99d4d1a070870aa08163af8ce0522992b7f35d8c.
In the Linux kernel, the following vulnerability has been resolved: iommu/riscv: prevent NULL deref in iova_to_phys The riscv_iommu_pte_fetch() function returns either NULL for unmapped/never-mapped iova, or a valid leaf pte pointer that requires no further validation. riscv_iommu_iova_to_phys() failed to handle NULL returns. Prevent null pointer dereference in riscv_iommu_iova_to_phys(), and remove the pte validation.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.13, >=488ffbf181718b9ad8c1838cb249d60973e78eda <220c491490255b656672bb572b18460cd9155926, >=488ffbf181718b9ad8c1838cb249d60973e78eda <99d4d1a070870aa08163af8ce0522992b7f35d8c | 220c491490255b656672bb572b18460cd9155926, 99d4d1a070870aa08163af8ce0522992b7f35d8c |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket