CVE-2025-39699

iommu/riscv: prevent NULL deref in iova_to_phys

State
Published
Severity
Not scored
Published
Sep 5, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 488ffbf181718b9ad8c1838cb249d60973e78eda to before 220c491490255b656672bb572b18460cd9155926Affected
  • 488ffbf181718b9ad8c1838cb249d60973e78eda to before 99d4d1a070870aa08163af8ce0522992b7f35d8cAffected
LinuxLinux
  • 6.13Affected
  • before 6.13Not affected
  • 6.16.4 through 6.16.*Not affected
  • 6.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.