CVE-2025-22071
NoneCVSS
—
EPSS
0.2%
Published
Apr 16, 2025
CISA due date
—
Cloudanix analysis
A flaw in the Linux kernel can let a local user slowly use up memory by repeatedly attempting certain operations that fail, potentially slowing or crashing the system.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A reference count leak in spufs_create_context() when affinity setup triggers a failing spufs_mkdir() leaves a neighbor reference unreleased, allowing incremental resource consumption in the Linux kernel.
Why it matters to the business
Systems running affected Linux kernels, including those supporting OpenStack Ironic deployments on RHEL 9, face gradual memory pressure that can degrade performance or trigger denial-of-service conditions over time; the issue has been public for over a year with stable fixes available.
How an attack unfolds
A local attacker repeatedly calls into spufs context creation paths supplying affinity parameters that force spufs_mkdir() to fail, each time leaking a reference until kernel memory is exhausted.
How to fix it
Apply the kernel fix present in commit 829bd6139968e2e759f3928cf65ad0db1e302fe3 or upgrade the listed OpenStack Ironic packages to 1:17.1.1-17.1.20240917210749.c31db88.el9ost on RHEL 9.
How to confirm the fix worked
Confirm the running kernel contains commit 829bd6139968e2e759f3928cf65ad0db1e302fe3 or verify package versions match the fixed OpenStack Ironic releases; test context creation under failure conditions to ensure no further leaks occur.
Typical attack path
- Obtain local unprivileged access on a vulnerable Linux system
- Invoke spufs context creation with affinity settings that cause mkdir failure
- Repeat the operation to accumulate unreleased references
- Trigger system-wide memory pressure or OOM conditions
How to detect it
Review kernel logs and audit records for repeated spufs context creation failures involving affinity; correlate with memory usage growth in processes interacting with the SPU filesystem.
What your security team should do
- Prioritize patching kernel and OpenStack Ironic packages to the listed fixed versions
- Monitor EPSS and KEV status for any future changes in exploit availability
- Limit unprivileged local access on systems exposing spufs until patches are deployed
The record
In the Linux kernel, the following vulnerability has been resolved: spufs: fix a leak in spufs_create_context() Leak fixes back in 2008 missed one case - if we are trying to set affinity and spufs_mkdir() fails, we need to drop the reference to neighbor.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | linux | 0 | No fix |
| 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 | 2.6.25 | 5.4.292 |
| 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-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-39876 In the Linux kernel, the following vulnerability has been resolved: net: fec: Fix… Also affects linux
- CVE-2025-39869 In the Linux kernel, the following vulnerability has been resolved: dmaengine: ti: edma… Also affects linux
- CVE-2025-39873 In the Linux kernel, the following vulnerability has been resolved: can: xilinx_can… Also affects linux
- CVE-2025-39863 In the Linux kernel, the following vulnerability has been resolved: wifi: brcmfmac: fix… Also affects linux
- CVE-2025-39865 In the Linux kernel, the following vulnerability has been resolved: tee: fix NULL pointer… Also affects linux
- CVE-2025-39866 In the Linux kernel, the following vulnerability has been resolved: fs: writeback: fix… Also affects linux