Bug 2393544 (CVE-2025-39699) - CVE-2025-39699 kernel: iommu/riscv: prevent NULL deref in iova_to_phys
Summary: CVE-2025-39699 kernel: iommu/riscv: prevent NULL deref in iova_to_phys
Keywords:
Status: NEW
Alias: CVE-2025-39699
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-05 18:05 UTC by OSIDB Bzimport
Modified: 2025-11-26 08:07 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-09-05 18:05:21 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.