CVE-2025-37977
High · 7.8CVSS
7.8
EPSS
0.3%
Published
May 20, 2025
CISA due date
—
Cloudanix analysis
A missing setting in the Linux kernel for certain phone and device storage hardware could cause unexpected crashes or data errors until the software is updated.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Theoretical
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Misconfiguration
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw permits the Exynos UFS driver to leave iocc shareability bits enabled when the dma-coherent property is absent, placing the controller in an incompatible cache configuration that produces random cache-related stability failures.
Why it matters to the business
Systems using affected kernels on Exynos hardware risk intermittent storage instability that can interrupt workloads, trigger crashes, or lead to data integrity problems during normal UFS operation.
How an attack unfolds
An attacker or workload triggers UFS DMA activity on a kernel lacking the dma-coherent property; the mismatched iocc bits cause cache incoherency that manifests as random errors or crashes, though no in-the-wild exploitation is recorded.
How to fix it
Apply the upstream fix present in commit 869749e48115ef944eeabec8e84138908471fa51 or any later stable kernel that contains the change; rebuild and deploy the updated kernel image on affected Exynos platforms.
How to confirm the fix worked
Confirm the dma-coherent property is correctly declared in device trees or verify the patched driver code is present after the update; monitor UFS initialization logs for absence of prior misconfiguration warnings.
Typical attack path
- Identify Exynos-based systems running vulnerable kernels
- Ensure dma-coherent property is not set for the UFS node
- Initiate UFS DMA operations through normal storage I/O
- Observe resulting cache-related instability or crashes
How to detect it
Review kernel boot and dmesg logs for UFS Exynos initialization messages that indicate iocc configuration without dma-coherent; correlate with subsequent cache or storage error events.
What your security team should do
- Prioritize kernel updates on all Exynos UFS systems within standard change windows
- Include the fixed commit hash in automated kernel build pipelines
- Add device-tree validation checks to catch missing dma-coherent properties before deployment
The record
In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: exynos: Disable iocc if dma-coherent property isn't set If dma-coherent property isn't set then descriptors are non-cacheable and the iocc shareability bits should be disabled. Without this UFS can end up in an incompatible configuration and suffer from random cache related stability issues.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:12 | linux | 0 | No fix |
| Debian:13 | linux | 0 | 6.12.27-1 |
| Linux | Kernel | 5.16.0 | 6.12.26 |
Related vulnerabilities
- CVE-2025-39885 In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix recursive… Also affects linux
- CVE-2025-39883 In the Linux kernel, the following vulnerability has been resolved: mm/memory-failure… Also affects linux
- CVE-2025-39886 In the Linux kernel, the following vulnerability has been resolved: bpf: Tell memcg to… Also affects linux
- CVE-2025-39876 In the Linux kernel, the following vulnerability has been resolved: net: fec: Fix… Also affects linux
- CVE-2025-39880 In the Linux kernel, the following vulnerability has been resolved: libceph: fix invalid… Also affects linux
- CVE-2025-39881 In the Linux kernel, the following vulnerability has been resolved: kernfs: Fix UAF in… Also affects linux
- CVE-2025-39877 In the Linux kernel, the following vulnerability has been resolved: mm/damon/sysfs: fix… Also affects linux
- CVE-2025-39871 In the Linux kernel, the following vulnerability has been resolved: dmaengine: idxd… Also affects linux