Linux
iommu/dma: Check atomic pool allocation result directly
In the Linux kernel, the following vulnerability has been resolved: iommu/dma: Check atomic pool allocation result directly The non-blocking, non-coherent allocation path uses dma_alloc_from_pool(), which returns the allocated page and fills cpu_addr only on success. Do not rely on cpu_addr to detect allocation failure in this path. Check the returned page directly before using it for the IOMMU mapping.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 9420139f516d7fbc248ce17f35275cb005ed98ea, < ac9cd0a669b8be5d178dbd471b0d68039dac58b5
- >= 9420139f516d7fbc248ce17f35275cb005ed98ea, < db46cb9da83a507d86d2bb080bdb09c865da3d0a
- >= 9420139f516d7fbc248ce17f35275cb005ed98ea, < d56c3f955b21e5764c1497e295a5b5d0b3a40470
- >= 9420139f516d7fbc248ce17f35275cb005ed98ea, < 06dffc96693083dda3412311406e558cf27f1574
- >= 9420139f516d7fbc248ce17f35275cb005ed98ea, < a4ace31d732b657d774e31fb444c0c27d42c78e5
- >= 9420139f516d7fbc248ce17f35275cb005ed98ea, < fb0b39287ba894dbdfac2901c51788b63f5c2291
- >= 9420139f516d7fbc248ce17f35275cb005ed98ea, < 8c486293ddd0af60991408149fc3e964ea888dc4
- >= 9420139f516d7fbc248ce17f35275cb005ed98ea, < af95a0ebc0a0db0762be75f51eadf770bad01aaa
- 47184b9ddf184cc9a77cf441943a0fe9b7afa575
- >= 5.8.6, < 5.9
Fixed in ac9cd0a669b8be5d178dbd471b0d68039dac58b5, db46cb9da83a507d86d2bb080bdb09c865da3d0a, d56c3f955b21e5764c1497e295a5b5d0b3a40470, 06dffc96693083dda3412311406e558cf27f1574, a4ace31d732b657d774e31fb444c0c27d42c78e5, fb0b39287ba894dbdfac2901c51788b63f5c2291, 8c486293ddd0af60991408149fc3e964ea888dc4, af95a0ebc0a0db0762be75f51eadf770bad01aaa, 5.9
- 5.9
Fixed in 0, 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.52, 7.2.6, 7.3
Mitigation
Upgrade Linux to ac9cd0a669b8be5d178dbd471b0d68039dac58b5 or db46cb9da83a507d86d2bb080bdb09c865da3d0a or d56c3f955b21e5764c1497e295a5b5d0b3a40470 or 06dffc96693083dda3412311406e558cf27f1574 or a4ace31d732b657d774e31fb444c0c27d42c78e5 or fb0b39287ba894dbdfac2901c51788b63f5c2291 or 8c486293ddd0af60991408149fc3e964ea888dc4 or af95a0ebc0a0db0762be75f51eadf770bad01aaa or 5.9 or later.
Upgrade Linux to 0 or 5.10.270 or 5.15.221 or 6.1.188 or 6.6.157 or 6.12.110 or 6.18.52 or 7.2.6 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.