CVE-2025-22081
NoneCVSS
—
EPSS
0.2%
Published
Apr 16, 2025
CISA due date
—
Cloudanix analysis
A math error on older 32-bit computers running Linux could let a malicious disk image cause crashes or take control of the system when reading certain files.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Other
- Component
- OS kernel
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Integer overflow during offset plus sizeof(NTFS_DE) calculation in ntfs3 on 32-bit systems allows wrap-around that can corrupt memory layout.
Why it matters to the business
32-bit Linux systems using the ntfs3 driver face elevated risk of crashes or unintended code execution when handling specially crafted NTFS structures, potentially disrupting operations until kernels are updated.
How an attack unfolds
An attacker supplies an NTFS directory entry whose offset value, when added to the size of the NTFS_DE structure, wraps on 32-bit arithmetic; the kernel then uses the wrapped value for memory operations, enabling corruption or control-flow hijacking.
How to fix it
Upgrade the Linux kernel to commit 0922d86a7a6032cb1694eab0b44b861bd33ba8d5 or later; for affected Red Hat packages apply gimp 2:2.8.22-1.el7_9.1 or newer equivalents that incorporate the corrected driver.
How to confirm the fix worked
Confirm kernel version contains commit 0922d86a7a6032cb1694eab0b44b861bd33ba8d5; recompile or boot test kernels and exercise ntfs3 directory parsing on 32-bit builds to verify size_add protection is active.
Typical attack path
- Mount attacker-controlled NTFS volume on vulnerable 32-bit kernel
- Trigger directory enumeration or file open that processes the malicious NTFS_DE entry
- Trigger integer wrap in off + sizeof calculation
- Exploit resulting memory corruption for code execution or denial of service
How to detect it
Review kernel logs for ntfs3-related oops or warning messages around NTFS_DE processing; examine auditd or syslog entries for unexpected mounts of external NTFS volumes on 32-bit hosts.
What your security team should do
- Prioritize kernel updates on all 32-bit systems using ntfs3
- Scan for ntfs3 usage in production workloads and schedule phased rollouts
- Monitor EPSS and KEV feeds for any future rise in exploit activity
- Apply vendor patches matching the listed fixed versions without delay
The record
In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Fix a couple integer overflows on 32bit systems On 32bit systems the "off + sizeof(struct NTFS_DE)" addition can have an integer wrapping issue. Fix it by using size_add().
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | linux-6.1 | 0 | 6.1.137-1~deb11u1 |
| Debian:12 | linux | 0 | No fix |
| Debian:13 | linux | 0 | No fix |
| Debian:13 | linux | 0 | 6.12.25-1 |
| Linux | Kernel | 5.15.0 | 5.15.180 |
| Mageia:9 | kernel | 0 | 6.6.88-3.mga9 |
| Mageia:9 | kernel-linus | 0 | 6.6.88-1.mga9 |
| Mageia:9 | kmod-virtualbox | 0 | 7.0.24-70.mga9 |
| Mageia:9 | kmod-xtables-addons | 0 | 3.24-78.mga9 |
Related vulnerabilities
- CVE-2025-38177 In the Linux kernel, the following vulnerability has been resolved: sch_hfsc: make… Also affects linux-6.1
- CVE-2025-38095 In the Linux kernel, the following vulnerability has been resolved: dma-buf: insert… Also affects linux-6.1
- CVE-2025-38094 In the Linux kernel, the following vulnerability has been resolved: net: cadence: macb… Also affects linux-6.1
- CVE-2025-38023 In the Linux kernel, the following vulnerability has been resolved: nfs: handle failure… Also affects linux-6.1
- CVE-2025-38027 In the Linux kernel, the following vulnerability has been resolved: regulator: max20086… Also affects linux-6.1
- CVE-2025-38024 In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Fix… Also affects linux-6.1
- CVE-2025-38015 In the Linux kernel, the following vulnerability has been resolved: dmaengine: idxd: fix… Also affects linux-6.1
- CVE-2025-38020 In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Disable… Also affects linux-6.1