# CVE-2025-37900: iommu: Fix two issues in iommu_copy_struct_from_user()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-05-20T15:21:35.433Z
- Modified: 2026-06-17T09:15:39.760Z
- Weaknesses: CWE-476
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: from 6.7 before 6.12.28; from 6.13 before 6.14.6; 6.15

## References

- <https://git.kernel.org/stable/c/2e303d010722787dc84d94f68d70fe10dfc1b9ea> (patch)
- <https://git.kernel.org/stable/c/967d6f0d9a20a1bf15ee7ed881e2d4e532e22709> (patch)
- <https://git.kernel.org/stable/c/30a3f2f3e4bd6335b727c83c08a982d969752bc1> (patch)

## Sources

- CVE List: [CVE-2025-37900](https://www.cve.org/CVERecord?id=CVE-2025-37900), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-37900](https://nvd.nist.gov/vuln/detail/CVE-2025-37900), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-37900 · Whole record: https://cve.day/CVE-2025-37900.json · Rebuilt by cve.day 2026-11-25T22:58:58.276Z
