CVE-2025-38401
mtk-sd: Prevent memory corruption from DMA map failure
Check your servers for CVE-2025-38401
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38401 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.8% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 208489032bdd8d4a7de50f3057c175058f271956, before 5ac9e9e2e9cd6247d8c2d99780eae4556049e1cc affected from 208489032bdd8d4a7de50f3057c175058f271956, before d54771571f74a82c59830a32e76af78a8e57ac69 affected from 208489032bdd8d4a7de50f3057c175058f271956, before 48bf4f3dfcdab02b22581d8e350a2d23130b72c0 affected from 208489032bdd8d4a7de50f3057c175058f271956, before 63e8953f16acdcb23e2d4dd8a566d3c34df3e200 affected from 208489032bdd8d4a7de50f3057c175058f271956, before 61cdd663564674ea21ceb50aa9d3697cbe9e45f9 affected from 208489032bdd8d4a7de50f3057c175058f271956, before 3419bc6a7b65cbbb91417bb9970208478e034c79 affected from 208489032bdd8d4a7de50f3057c175058f271956, before a5f5f67b284d81776d4a3eb1f8607e4b7f91f11c affected from 208489032bdd8d4a7de50f3057c175058f271956, before f5de469990f19569627ea0dd56536ff5a13beaa3
Other versions: unaffected
|
| Linux |
affected 4.2 unaffected before 4.2 unaffected from 5.4.296 up to and including 5.4.* unaffected from 5.10.240 up to and including 5.10.* unaffected from 5.15.187 up to and including 5.15.* unaffected from 6.1.144 up to and including 6.1.* unaffected from 6.6.97 up to and including 6.6.* unaffected from 6.12.37 up to and including 6.12.* unaffected from 6.15.6 up to and including 6.15.* unaffected 6.16 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38401 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38401
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-38401
trivy image --scanners vuln IMAGE | grep CVE-2025-38401
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/5ac9e9e2e9cd6247d8c2d99780eae4556049e1cc git.kernel.org
- https://git.kernel.org/stable/c/d54771571f74a82c59830a32e76af78a8e57ac69 git.kernel.org
- https://git.kernel.org/stable/c/48bf4f3dfcdab02b22581d8e350a2d23130b72c0 git.kernel.org
- https://git.kernel.org/stable/c/63e8953f16acdcb23e2d4dd8a566d3c34df3e200 git.kernel.org
- https://git.kernel.org/stable/c/61cdd663564674ea21ceb50aa9d3697cbe9e45f9 git.kernel.org
- https://git.kernel.org/stable/c/3419bc6a7b65cbbb91417bb9970208478e034c79 git.kernel.org
- https://git.kernel.org/stable/c/a5f5f67b284d81776d4a3eb1f8607e4b7f91f11c git.kernel.org
- https://git.kernel.org/stable/c/f5de469990f19569627ea0dd56536ff5a13beaa3 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html lists.debian.org
Source: the record CVE-2025-38401 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse