Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected dcd6a011a8d523a114af2360a8753de5bd60c139 before 00850f41da24423587abd6124a790dd4f12bcef3; affected dcd6a011a8d523a114af2360a8753de5bd60c139 before 8ef3f77c440005c7f04229a75976bfc078364247 |
| Linux / Linux | affected 6.19; unaffected 0 before 6.19; unaffected 7.0.11 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.