CVE-2025-38401 Details
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.
A vulnerability in the Linux kernel's mtk-sd component can lead to memory corruption due to improper handling of Direct Memory Access (DMA) mapping. When the function msdc_prepare_data() fails to correctly map the DMA region, the data reception request is not properly prepared. However, the subsequent function msdc_start_data() incorrectly initiates the DMA process using the previous, now invalid, settings. This mismatch can cause memory corruption issues. The vulnerability has been addressed by ensuring that the request operation is halted as soon as msdc_prepare_data() fails to prepare it, preventing the DMA from being incorrectly mapped.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/3419bc6a7b65cbbb91417bb9970208478e034c79 | kernel.org | Patch |
| https://git.kernel.org/stable/c/48bf4f3dfcdab02b22581d8e350a2d23130b72c0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5ac9e9e2e9cd6247d8c2d99780eae4556049e1cc | kernel.org | Patch |
| https://git.kernel.org/stable/c/61cdd663564674ea21ceb50aa9d3697cbe9e45f9 | kernel.org | Patch |
| https://git.kernel.org/stable/c/63e8953f16acdcb23e2d4dd8a566d3c34df3e200 | kernel.org | Patch |
| https://git.kernel.org/stable/c/a5f5f67b284d81776d4a3eb1f8607e4b7f91f11c | kernel.org | Patch |
| https://git.kernel.org/stable/c/d54771571f74a82c59830a32e76af78a8e57ac69 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f5de469990f19569627ea0dd56536ff5a13beaa3 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html | CVE | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.2, < 5.4.296 >= 5.5, < 5.10.240 >= 5.11, < 5.15.187 >= 5.16, < 6.1.144 >= 6.2, < 6.6.97 >= 6.7, < 6.12.37 >= 6.13, < 6.15.6 6.16 rc1 6.16 rc2 6.16 rc3 6.16 rc4 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 23, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Jul 25, 2025 | New CVE Received | kernel.org |