iommu: Fix two issues in iommu_copy_struct_from_user()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2e303d010722787dc84d94f68d70fe10dfc1b9ea, Kernel 30a3f2f3e4bd6335b727c83c08a982d969752bc1 and Kernel 967d6f0d9a20a1bf15ee7ed881e2d4e532e22709.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.7, >=e9d36c07bb787840e4813fb09a929a17d522a69f <2e303d010722787dc84d94f68d70fe10dfc1b9ea, >=e9d36c07bb787840e4813fb09a929a17d522a69f <30a3f2f3e4bd6335b727c83c08a982d969752bc1, >=e9d36c07bb787840e4813fb09a929a17d522a69f <967d6f0d9a20a1bf15ee7ed881e2d4e532e22709 | 2e303d010722787dc84d94f68d70fe10dfc1b9ea, 30a3f2f3e4bd6335b727c83c08a982d969752bc1, 967d6f0d9a20a1bf15ee7ed881e2d4e532e22709 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket