NULL pointer dereference in Linux
CVE-2025-39699
- CVSS v3
- 5.5 Medium
- Public exploits
- None known
- EPSS
- 0.001 · 3.4th percentile
- Published
- 2025-09-05
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.001, 3.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 488ffbf181718b9ad8c1838cb249d60973e78eda, 6.13, 0
- Linux Kernel — versions 6.17