Linux
mtk-sd: Prevent memory corruption from DMA map failure
In the Linux kernel, the following vulnerability has been resolved: mtk-sd: Prevent memory corruption from DMA map failure If msdc_prepare_data() fails to map the DMA region, the request is not prepared for data receiving, but msdc_start_data() proceeds the DMA with previous setting. Since this will lead a memory corruption, we have to stop the request operation soon after the msdc_prepare_data() fails to prepare it.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 208489032bdd8d4a7de50f3057c175058f271956, < 5ac9e9e2e9cd6247d8c2d99780eae4556049e1cc
- >= 208489032bdd8d4a7de50f3057c175058f271956, < d54771571f74a82c59830a32e76af78a8e57ac69
- >= 208489032bdd8d4a7de50f3057c175058f271956, < 48bf4f3dfcdab02b22581d8e350a2d23130b72c0
- >= 208489032bdd8d4a7de50f3057c175058f271956, < 63e8953f16acdcb23e2d4dd8a566d3c34df3e200
- >= 208489032bdd8d4a7de50f3057c175058f271956, < 61cdd663564674ea21ceb50aa9d3697cbe9e45f9
- >= 208489032bdd8d4a7de50f3057c175058f271956, < 3419bc6a7b65cbbb91417bb9970208478e034c79
- >= 208489032bdd8d4a7de50f3057c175058f271956, < a5f5f67b284d81776d4a3eb1f8607e4b7f91f11c
- >= 208489032bdd8d4a7de50f3057c175058f271956, < f5de469990f19569627ea0dd56536ff5a13beaa3
Fixed in 5ac9e9e2e9cd6247d8c2d99780eae4556049e1cc, d54771571f74a82c59830a32e76af78a8e57ac69, 48bf4f3dfcdab02b22581d8e350a2d23130b72c0, 63e8953f16acdcb23e2d4dd8a566d3c34df3e200, 61cdd663564674ea21ceb50aa9d3697cbe9e45f9, 3419bc6a7b65cbbb91417bb9970208478e034c79, a5f5f67b284d81776d4a3eb1f8607e4b7f91f11c, f5de469990f19569627ea0dd56536ff5a13beaa3
- 4.2
Fixed in 0, 5.4.296, 5.10.240, 5.15.187, 6.1.144, 6.6.97, 6.12.37, 6.15.6, 6.16
Mitigation
Upgrade Linux to 5ac9e9e2e9cd6247d8c2d99780eae4556049e1cc or d54771571f74a82c59830a32e76af78a8e57ac69 or 48bf4f3dfcdab02b22581d8e350a2d23130b72c0 or 63e8953f16acdcb23e2d4dd8a566d3c34df3e200 or 61cdd663564674ea21ceb50aa9d3697cbe9e45f9 or 3419bc6a7b65cbbb91417bb9970208478e034c79 or a5f5f67b284d81776d4a3eb1f8607e4b7f91f11c or f5de469990f19569627ea0dd56536ff5a13beaa3 or later.
Upgrade Linux to 0 or 5.4.296 or 5.10.240 or 5.15.187 or 6.1.144 or 6.6.97 or 6.12.37 or 6.15.6 or 6.16 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.