{"id":"CVE-2025-37900","state":"PUBLISHED","title":"iommu: Fix two issues in iommu_copy_struct_from_user()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu: Fix two issues in iommu_copy_struct_from_user()\n\nIn the review for iommu_copy_struct_to_user() helper, Matt pointed out that\na NULL pointer should be rejected prior to dereferencing it:\nhttps://lore.kernel.org/all/86881827-8E2D-461C-BDA3-FA8FD14C343C@nvidia.com\n\nAnd Alok pointed out a typo at the same time:\nhttps://lore.kernel.org/all/480536af-6830-43ce-a327-adbd13dc3f1d@oracle.com\n\nSince both issues were copied from iommu_copy_struct_from_user(), fix them\nfirst in the current header.","publishedAt":"2025-05-20T15:21:35.433Z","updatedAt":"2026-05-11T21:17:18.120Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e9d36c07bb787840e4813fb09a929a17d522a69f","status":"affected","lessThan":"2e303d010722787dc84d94f68d70fe10dfc1b9ea","versionType":"git"},{"version":"e9d36c07bb787840e4813fb09a929a17d522a69f","status":"affected","lessThan":"967d6f0d9a20a1bf15ee7ed881e2d4e532e22709","versionType":"git"},{"version":"e9d36c07bb787840e4813fb09a929a17d522a69f","status":"affected","lessThan":"30a3f2f3e4bd6335b727c83c08a982d969752bc1","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/linux/iommu.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.7","versionType":"semver"},{"version":"6.12.28","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.14.6","status":"unaffected","lessThanOrEqual":"6.14.*","versionType":"semver"},{"version":"6.15","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/linux/iommu.h"]}],"references":["https://git.kernel.org/stable/c/2e303d010722787dc84d94f68d70fe10dfc1b9ea","https://git.kernel.org/stable/c/967d6f0d9a20a1bf15ee7ed881e2d4e532e22709","https://git.kernel.org/stable/c/30a3f2f3e4bd6335b727c83c08a982d969752bc1"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:03.054Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/37xxx/CVE-2025-37900.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-37900","state":"PUBLISHED","datePublished":"2025-05-20T15:21:35.433Z","dateUpdated":"2026-05-11T21:17:18.120Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T04:51:23.965Z"},"containers":{"cna":{"title":"iommu: Fix two issues in iommu_copy_struct_from_user()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu: Fix two issues in iommu_copy_struct_from_user()\n\nIn the review for iommu_copy_struct_to_user() helper, Matt pointed out that\na NULL pointer should be rejected prior to dereferencing it:\nhttps://lore.kernel.org/all/86881827-8E2D-461C-BDA3-FA8FD14C343C@nvidia.com\n\nAnd Alok pointed out a typo at the same time:\nhttps://lore.kernel.org/all/480536af-6830-43ce-a327-adbd13dc3f1d@oracle.com\n\nSince both issues were copied from iommu_copy_struct_from_user(), fix them\nfirst in the current header."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e9d36c07bb787840e4813fb09a929a17d522a69f","status":"affected","lessThan":"2e303d010722787dc84d94f68d70fe10dfc1b9ea","versionType":"git"},{"version":"e9d36c07bb787840e4813fb09a929a17d522a69f","status":"affected","lessThan":"967d6f0d9a20a1bf15ee7ed881e2d4e532e22709","versionType":"git"},{"version":"e9d36c07bb787840e4813fb09a929a17d522a69f","status":"affected","lessThan":"30a3f2f3e4bd6335b727c83c08a982d969752bc1","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/linux/iommu.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.7","versionType":"semver"},{"version":"6.12.28","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.14.6","status":"unaffected","lessThanOrEqual":"6.14.*","versionType":"semver"},{"version":"6.15","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/linux/iommu.h"]}],"references":[{"url":"https://git.kernel.org/stable/c/2e303d010722787dc84d94f68d70fe10dfc1b9ea"},{"url":"https://git.kernel.org/stable/c/967d6f0d9a20a1bf15ee7ed881e2d4e532e22709"},{"url":"https://git.kernel.org/stable/c/30a3f2f3e4bd6335b727c83c08a982d969752bc1"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:17:18.120Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.28"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.14.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.15"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}