Linux
crypto: iaa - unmap dst before software fallback on decompress
In the Linux kernel, the following vulnerability has been resolved: crypto: iaa - unmap dst before software fallback on decompress On a hardware analytics error, decompress retries through the software fallback, which writes req->dst with the CPU while it is still mapped DMA_FROM_DEVICE. With SWIOTLB active the later dma_unmap_sg() copies the stale bounce buffer over req->dst, corrupting the result. Unmap before the fallback runs. The async path unmaps inline; the sync path signals the retry with -EAGAIN so iaa_comp_adecompress() runs the fallback after unmapping.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2ec6761df889fdf896fde761abd447596dd8f8c2, < c0279e5ea2aad99d8b91f1a6579d751cc9eb2408
- >= 2ec6761df889fdf896fde761abd447596dd8f8c2, < fc933a4a419ba8a75da28666a018602c44846953
- >= 2ec6761df889fdf896fde761abd447596dd8f8c2, < fcd86180ef78b0e41763faef7c6d2de7dfb50c1a
- >= 2ec6761df889fdf896fde761abd447596dd8f8c2, < 94a25930477113730372e0fa2985da4c5ac95c9a
Fixed in c0279e5ea2aad99d8b91f1a6579d751cc9eb2408, fc933a4a419ba8a75da28666a018602c44846953, fcd86180ef78b0e41763faef7c6d2de7dfb50c1a, 94a25930477113730372e0fa2985da4c5ac95c9a
- 6.8
Fixed in 0, 6.12.111, 6.18.51, 7.2.4, 7.3
Mitigation
Upgrade Linux to c0279e5ea2aad99d8b91f1a6579d751cc9eb2408 or fc933a4a419ba8a75da28666a018602c44846953 or fcd86180ef78b0e41763faef7c6d2de7dfb50c1a or 94a25930477113730372e0fa2985da4c5ac95c9a or later.
Upgrade Linux to 0 or 6.12.111 or 6.18.51 or 7.2.4 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.