# CVE-2025-38401: mtk-sd: Prevent memory corruption from DMA map failure

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-07-25T12:53:44.961Z
- Modified: 2026-08-05T12:01:37.420Z
- Weaknesses: CWE-787
- 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.

(As written by CVE List.)

## Affected

- 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; 4.2 (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.*; from 6.12.37 up to 6.12.*; from 6.15.6 up to 6.15.*; from 6.16 up to *)
- 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
- debian debian_linux: 11.0

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/5ac9e9e2e9cd6247d8c2d99780eae4556049e1cc> (patch)
- <https://git.kernel.org/stable/c/d54771571f74a82c59830a32e76af78a8e57ac69> (patch)
- <https://git.kernel.org/stable/c/48bf4f3dfcdab02b22581d8e350a2d23130b72c0> (patch)
- <https://git.kernel.org/stable/c/63e8953f16acdcb23e2d4dd8a566d3c34df3e200> (patch)
- <https://git.kernel.org/stable/c/61cdd663564674ea21ceb50aa9d3697cbe9e45f9> (patch)
- <https://git.kernel.org/stable/c/3419bc6a7b65cbbb91417bb9970208478e034c79> (patch)
- <https://git.kernel.org/stable/c/a5f5f67b284d81776d4a3eb1f8607e4b7f91f11c> (patch)
- <https://git.kernel.org/stable/c/f5de469990f19569627ea0dd56536ff5a13beaa3> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-38401](https://www.cve.org/CVERecord?id=CVE-2025-38401), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-38401](https://nvd.nist.gov/vuln/detail/CVE-2025-38401), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-38401 · Whole record: https://cve.day/CVE-2025-38401.json · Rebuilt by cve.day 2026-11-25T22:59:01.692Z
