{"id":"CVE-2025-39699","aliases":["CVE-2025-39699"],"related":[],"kind":"vulnerability","state":"published","title":"iommu/riscv: prevent NULL deref in iova_to_phys","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/riscv: prevent NULL deref in iova_to_phys\n\nThe riscv_iommu_pte_fetch() function returns either NULL for\nunmapped/never-mapped iova, or a valid leaf pte pointer that\nrequires no further validation.\n\nriscv_iommu_iova_to_phys() failed to handle NULL returns.\nPrevent null pointer dereference in\nriscv_iommu_iova_to_phys(), and remove the pte validation.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/riscv: prevent NULL deref in iova_to_phys\n\nThe riscv_iommu_pte_fetch() function returns either NULL for\nunmapped/never-mapped iova, or a valid leaf pte pointer that\nrequires no further validation.\n\nriscv_iommu_iova_to_phys() failed to handle NULL returns.\nPrevent null pointer dereference in\nriscv_iommu_iova_to_phys(), and remove the pte validation.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\niommu/riscv: evitar desreferencia NULL en iova_to_phys\n\nLa función riscv_iommu_pte_fetch() devuelve NULL para iova no mapeada/nunca mapeada, o un puntero pte de hoja válido que no requiere validación adicional.\n\nriscv_iommu_iova_to_phys() no pudo manejar los retornos NULL.\nEvitar la desreferencia de puntero nulo en riscv_iommu_iova_to_phys(), y eliminar la validación de pte.","source":"nvd"}],"published":"2025-09-05T17:21:05.379Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"488ffbf181718b9ad8c1838cb249d60973e78eda","fixed":"220c491490255b656672bb572b18460cd9155926","status":"affected"},{"type":"git","introduced":"488ffbf181718b9ad8c1838cb249d60973e78eda","fixed":"99d4d1a070870aa08163af8ce0522992b7f35d8c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.13","status":"unaffected"},{"type":"semver","introduced":"6.16.4","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.13","fixed":"6.16.4"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/220c491490255b656672bb572b18460cd9155926","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/99d4d1a070870aa08163af8ce0522992b7f35d8c","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39699","url":"https://www.cve.org/CVERecord?id=CVE-2025-39699","licence":"CVE Terms of Use","modified":"2026-05-11T21:34:33.067Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39699","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39699","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:04.268Z","epss":{"score":0.00148,"percentile":0.04247,"date":"2026-12-02T12:00:21.000Z"}}