iommupt: Check for missing PAGE_SIZE in the pgsize_bitmap
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
iommupt: Check for missing PAGE_SIZE in the pgsize_bitmap
Sashiko pointed out that the driver could drop PAGE_SIZE from the pgsize_bitmap. That is technically allowed but nothing does it, and such an iommu_domain would not be used with the DMA API today.
Still, it is against the design and it is trivial to fix up. Lift the PT_WARN_ON to the if branch and just skip the fast path.
From the CVE record · Linux
The Linux kernel’s iommupt code could drop PAGE_SIZE from pgsize_bitmap, contrary to its design. The input does not describe an attacker action or specify network access, authentication, or user-interaction requirements.
Engineers running the Linux kernel should check their systems; affected versions are not specified.