CVE Catalog

CVE-2025-39699

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.14%

3th percentile - higher than 3% of all known CVEs

Summary

In the Linux kernel, riscv_iommu_iova_to_phys() fails to handle NULL returns from riscv_iommu_pte_fetch() for unmapped IOVA, leading to a NULL pointer dereference. The fix adds a NULL check and removes unnecessary PTE validation.

Risk Assessment

May cause kernel panic (NULL pointer dereference) on RISC-V systems with IOMMU, resulting in denial of service.

Recommendation

Update the Linux kernel to a version containing the fix that adds NULL handling in riscv_iommu_iova_to_phys().

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS