CVE-2025-39699
publishediommu/riscv: prevent NULL deref in iova_to_phys
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux488ffbf181718b9ad8c1838cb249d60973e78eda to < 220c491490255b656672bb572b18460cd9155926 · 488ffbf181718b9ad8c1838cb249d60973e78eda to < 99d4d1a070870aa08163af8ce0522992b7f35d8c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.13 (affected) · 0 to < 6.13 (unaffected · semver) · 6.16.4 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 488ffbf181718b9ad8c1838cb249d60973e78eda to < 220c491490255b656672bb572b18460cd9155926 (affected · git)488ffbf181718b9ad8c1838cb249d60973e78eda to < 99d4d1a070870aa08163af8ce0522992b7f35d8c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.13 (affected)0 to < 6.13 (unaffected · semver)6.16.4 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
iommu/riscv: prevent NULL deref in iova_to_phys
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 672d1be7a4bdffbe07157680ea2bad59916d2258f30f4da8176fae84bf8378b1
- Ingested
- 23 Sep 2026, 08:47:06 UTC
- Source record
- Official CVE record