What’s Vulnerable › Vulnerabilities
CVE-2025-37900: iommu: Fix two issues in iommu_copy_struct_from_user()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-20 · updated 2026-06-17
- Weakness: CWE-476
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 products
- Linux kernel: from 6.7 before 6.12.28; from 6.13 before 6.14.6; 6.15-rc1, 6.15-rc2, 6.15-rc3, 6.15-rc4 — fixed in 6.12.28, 6.14.6
How to fix
Upgrade to a fixed version: Linux kernel 6.12.28, 6.14.6. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2e303d010722787dc84d94f68d70fe10dfc1b9ea
- https://git.kernel.org/stable/c/30a3f2f3e4bd6335b727c83c08a982d969752bc1
- https://git.kernel.org/stable/c/967d6f0d9a20a1bf15ee7ed881e2d4e532e22709
Get alerted when CVE-2025-37900 or the next vulnerability affects your stack