CVE-2025-37900 iommu: Fix two issues in iommu_copy_struct_from_user()
A null pointer dereference in the Linux kernel IOMMU subsystem allows local attackers to cause a system crash.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-37900?
CVE-2025-37900 is a medium-severity vulnerability in Linux kernel, published on 20 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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/[email protected]
And Alok pointed out a typo at the same time: https://lore.kernel.org/all/[email protected]
Since both issues were copied from iommu_copy_struct_from_user(), fix them first in the current header.
Weakness: CWE-476
Which versions are affected by CVE-2025-37900?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-37900?
Apply the vendor's patch.
Is CVE-2025-37900 being exploited?
There is no known exploitation of CVE-2025-37900 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2025-37900, DEBIAN-CVE-2025-37900, GHSA-j23c-3429-q5qm, ROOT-OS-UBUNTU-2404-CVE-2025-37900, UBUNTU-CVE-2025-37900.