CVE-2025-38401

mtk-sd: Prevent memory corruption from DMA map failure

HIGH
7.8
CVSS Score
Published: July 25, 2025 at 12:53 PM UTC
Updated: August 5, 2026 at 12:44 PM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.2 ≤ v < 5.10.2404.2 ≤ v < 5.15.1874.2 ≤ v < 5.4.2964.2 ≤ v < 6.1.1444.2 ≤ v < 6.12.374.2 ≤ v < 6.15.64.2 ≤ v < 6.164.2 ≤ v < 6.6.975.11 ≤ v < 5.15.1875.16 ≤ v < 6.1.1445.5 ≤ v < 5.10.2406.13 ≤ v < 6.15.66.2 ≤ v < 6.6.976.7 ≤ v < 6.12.37208489032bdd8d4a7de50f3057c175058f2719566.16 rc16.16 rc26.16 rc36.16 rc4
Vendor states this is fixed in 3419bc6a7b65cbbb91417bb9970208478e034c79 (fixed)
Vendor states this is fixed in 48bf4f3dfcdab02b22581d8e350a2d23130b72c0 (fixed)
Vendor states this is fixed in 5ac9e9e2e9cd6247d8c2d99780eae4556049e1cc (fixed)
Vendor states this is fixed in 61cdd663564674ea21ceb50aa9d3697cbe9e45f9 (fixed)
Vendor states this is fixed in 63e8953f16acdcb23e2d4dd8a566d3c34df3e200 (fixed)
Vendor states this is fixed in a5f5f67b284d81776d4a3eb1f8607e4b7f91f11c (fixed)
Vendor states this is fixed in d54771571f74a82c59830a32e76af78a8e57ac69 (fixed)
Vendor states this is fixed in f5de469990f19569627ea0dd56536ff5a13beaa3 (fixed)
Vendor states this is fixed in 4.2 (unaffected)
Vendor states this is fixed in 5.10.240 (unaffected)
Vendor states this is fixed in 5.15.187 (unaffected)
Vendor states this is fixed in 5.4.296 (unaffected)
Vendor states this is fixed in 6.1.144 (unaffected)
Vendor states this is fixed in 6.12.37 (unaffected)
Vendor states this is fixed in 6.15.6 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.6.97 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3419bc6a7b65cbbb91417bb9970208478e034c79
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/48bf4f3dfcdab02b22581d8e350a2d23130b72c0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5ac9e9e2e9cd6247d8c2d99780eae4556049e1cc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/61cdd663564674ea21ceb50aa9d3697cbe9e45f9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/63e8953f16acdcb23e2d4dd8a566d3c34df3e200
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a5f5f67b284d81776d4a3eb1f8607e4b7f91f11c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d54771571f74a82c59830a32e76af78a8e57ac69
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f5de469990f19569627ea0dd56536ff5a13beaa3

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card