CVE-2025-37900
JSON

5.5medium

iommu: Fix two issues in iommu_copy_struct_from_user()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: iommu: Fix two issues in iommu_copy_struct_from_user() In the review for iommu_copy_struct_to_user() helper, Matt pointed out that a NULL pointer should be rejected prior to dereferencing it: https://lore.kernel.org/all/86881827-8E2D-461C-BDA3-FA8FD14C343C@nvidia.com And Alok pointed out a typo at the same time: https://lore.kernel.org/all/480536af-6830-43ce-a327-adbd13dc3f1d@oracle.com Since both issues were copied from iommu_copy_struct_from_user(), fix them first in the current header.

Affected

Product or packageVersionsReported by
Linux Linuxfrom e9d36c07bb787840e4813fb09a929a17d522a69f before 2e303d010722787dc84d94f68d70fe10dfc1b9ea, from e9d36c07bb787840e4813fb09a929a17d522a69f before 967d6f0d9a20a1bf15ee7ed881e2d4e532e22709, from e9d36c07bb787840e4813fb09a929a17d522a69f before 30a3f2f3e4bd6335b727c83c08a982d969752bc1, 6.7
Not affected: before 6.7, from 6.12.28 up to 6.12.*, from 6.14.6 up to 6.14.*, from 6.15 up to *
CVE List
linux linux_kernelfrom 6.7 before 6.12.28, from 6.13 before 6.14.6, 6.15NVD

Classification

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: iommu: Fix two issues in iommu_copy_struct_from_user() In the review for iommu_copy_struct_to_user() helper, Matt pointed out that a NULL pointer should be rejected prior to dereferencing it: https://lore.kernel.org/all/86881827-8E2D-461C-BDA3-FA8FD14C343C@nvidia.com And Alok pointed out a typo at the same time: https://lore.kernel.org/all/480536af-6830-43ce-a327-adbd13dc3f1d@oracle.com Since both issues were copied from iommu_copy_struct_from_user(), fix them first in the current header.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: iommu: Se corrigen dos problemas en iommu_copy_struct_from_user() En la revisión del asistente iommu_copy_struct_to_user(), Matt señaló que se debe rechazar un puntero NULL antes de desreferenciarlo: https://lore.kernel.org/all/86881827-8E2D-461C-BDA3-FA8FD14C343C@nvidia.com Y Alok señaló un error tipográfico al mismo tiempo: https://lore.kernel.org/all/480536af-6830-43ce-a327-adbd13dc3f1d@oracle.com Dado que ambos problemas se copiaron de iommu_copy_struct_from_user(), corríjalos primero en el encabezado actual.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-37900 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-37900 changed 2026-06-17Public domain