Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 9420139f516d7fbc248ce17f35275cb005ed98ea before ac9cd0a669b8be5d178dbd471b0d68039dac58b5; affected 9420139f516d7fbc248ce17f35275cb005ed98ea before db46cb9da83a507d86d2bb080bdb09c865da3d0a; affected 9420139f516d7fbc248ce17f35275cb005ed98ea before d56c3f955b21e5764c1497e295a5b5d0b3a40470; affected 9420139f516d7fbc248ce17f35275cb005ed98ea before 06dffc96693083dda3412311406e558cf27f1574; affected 9420139f516d7fbc248ce17f35275cb005ed98ea before a4ace31d732b657d774e31fb444c0c27d42c78e5; affected 9420139f516d7fbc248ce17f35275cb005ed98ea before fb0b39287ba894dbdfac2901c51788b63f5c2291; affected 9420139f516d7fbc248ce17f35275cb005ed98ea before 8c486293ddd0af60991408149fc3e964ea888dc4; affected 9420139f516d7fbc248ce17f35275cb005ed98ea before af95a0ebc0a0db0762be75f51eadf770bad01aaa; affected 47184b9ddf184cc9a77cf441943a0fe9b7afa575; affected 5.8.6 before 5.9 |
| Linux / Linux | affected 5.9; unaffected 0 before 5.9; unaffected 5.10.270 through 5.10.*; unaffected 5.15.221 through 5.15.*; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/ac9cd0a669b8be5d178dbd471b0d68039dac58b5
- https://git.kernel.org/stable/c/db46cb9da83a507d86d2bb080bdb09c865da3d0a
- https://git.kernel.org/stable/c/d56c3f955b21e5764c1497e295a5b5d0b3a40470
- https://git.kernel.org/stable/c/06dffc96693083dda3412311406e558cf27f1574
- https://git.kernel.org/stable/c/a4ace31d732b657d774e31fb444c0c27d42c78e5
- https://git.kernel.org/stable/c/fb0b39287ba894dbdfac2901c51788b63f5c2291
- https://git.kernel.org/stable/c/8c486293ddd0af60991408149fc3e964ea888dc4
- https://git.kernel.org/stable/c/af95a0ebc0a0db0762be75f51eadf770bad01aaa