7.8high
mtk-sd: Prevent memory corruption from DMA map failure
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 208489032bdd8d4a7de50f3057c175058f271956 before 5ac9e9e2e9cd6247d8c2d99780eae4556049e1cc, from 208489032bdd8d4a7de50f3057c175058f271956 before d54771571f74a82c59830a32e76af78a8e57ac69, from 208489032bdd8d4a7de50f3057c175058f271956 before 48bf4f3dfcdab02b22581d8e350a2d23130b72c0, from 208489032bdd8d4a7de50f3057c175058f271956 before 63e8953f16acdcb23e2d4dd8a566d3c34df3e200, from 208489032bdd8d4a7de50f3057c175058f271956 before 61cdd663564674ea21ceb50aa9d3697cbe9e45f9, from 208489032bdd8d4a7de50f3057c175058f271956 before 3419bc6a7b65cbbb91417bb9970208478e034c79, from 208489032bdd8d4a7de50f3057c175058f271956 before a5f5f67b284d81776d4a3eb1f8607e4b7f91f11c, from 208489032bdd8d4a7de50f3057c175058f271956 before f5de469990f19569627ea0dd56536ff5a13beaa3 and 1 more Not affected: before 4.2, from 5.4.296 up to 5.4.*, from 5.10.240 up to 5.10.*, from 5.15.187 up to 5.15.*, from 6.1.144 up to 6.1.*, from 6.6.97 up to 6.6.* | CVE List |
| linux linux_kernel | from 4.2 before 5.4.296, from 5.5 before 5.10.240, from 5.11 before 5.15.187, from 5.16 before 6.1.144, from 6.2 before 6.6.97, from 6.7 before 6.12.37, from 6.13 before 6.15.6, 6.16 | NVD |
| debian debian_linux | 11.0 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mtk-sd: Prevenir la corrupción de memoria por un fallo en el mapeo de DMA. Si msdc_prepare_data() no logra mapear la región DMA, la solicitud no se prepara para la recepción de datos, pero msdc_start_data() continúa el DMA con la configuración anterior. Dado que esto provocará una corrupción de memoria, debemos detener la solicitud poco después de que msdc_prepare_data() no la prepare.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-38401 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-38401 changed 2026-07-30 | Public domain |