crypto: iaa - unmap dst before software fallback on decompress
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.111, 6.18.51, 7.2.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 2ec6761df889fdf896fde761abd447596dd8f8c2 · fixed in c0279e5ea2aad99d8b91f1a6579d751cc9eb2408; From 2ec6761df889fdf896fde761abd447596dd8f8c2 · fixed in fc933a4a419ba8a75da28666a018602c44846953; From 2ec6761df889fdf896fde761abd447596dd8f8c2 · fixed in fcd86180ef78b0e41763faef7c6d2de7dfb50c1a; From 2ec6761df889fdf896fde761abd447596dd8f8c2 · fixed in 94a25930477113730372e0fa2985da4c5ac95c9a
- Linux Linux
6.8
- KernelLinux
From 6.8.0 · fixed in 6.12.111; From 6.13.0 · fixed in 6.18.51; From 6.19.0 · fixed in 7.2.4