CVE-2025-22071

5.5 MEDIUM

📋 TL;DR

This CVE describes a memory leak vulnerability in the Linux kernel's SPUFS (Synergistic Processing Unit File System) component. When spufs_mkdir() fails during context creation with affinity settings, the kernel fails to release a reference to a neighbor object, causing a resource leak. This affects Linux systems using the Cell Broadband Engine architecture or SPUFS functionality.

💻 Affected Systems

Products:
  • Linux kernel
Versions: Specific affected versions not explicitly stated in CVE; likely older versions with SPUFS support before the fix commits.
Operating Systems: Linux distributions with SPUFS/Cell BE support
Default Config Vulnerable: ✅ No
Notes: Only vulnerable if SPUFS is enabled/used (typically on Cell Broadband Engine systems like PlayStation 3 or specialized IBM hardware). Most standard Linux distributions are not affected.

📦 What is this software?

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

⚠️ Risk & Real-World Impact

🔴

Worst Case

Sustained exploitation could lead to kernel memory exhaustion, causing system instability, denial of service, or potential kernel crashes.

🟠

Likely Case

Gradual memory consumption over time leading to performance degradation or eventual system instability requiring reboot.

🟢

If Mitigated

Minimal impact with proper monitoring and regular system maintenance; memory pressure might be observed but not critical.

🌐 Internet-Facing: LOW - Requires local access and specific SPUFS functionality; not directly exploitable over network.
🏢 Internal Only: MEDIUM - Local users could potentially trigger the leak repeatedly, affecting system stability for other users.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: NO
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Requires local access and ability to create SPUFS contexts; not a privilege escalation but a resource exhaustion vulnerability.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Fixed in kernel commits referenced in CVE (0f5cce3fc55b08ee4da3372baccf4bcd36a98396 and others)

Vendor Advisory: https://git.kernel.org/stable/c/0f5cce3fc55b08ee4da3372baccf4bcd36a98396

Restart Required: Yes

Instructions:

1. Update Linux kernel to version containing the fix commits. 2. Check with your distribution vendor for backported patches. 3. Reboot system after kernel update.

🔧 Temporary Workarounds

Disable SPUFS module

linux

Prevent loading of SPUFS kernel module if not needed

echo 'blacklist spufs' >> /etc/modprobe.d/blacklist.conf
rmmod spufs

🧯 If You Can't Patch

  • Restrict local user access to systems with SPUFS functionality
  • Implement monitoring for memory consumption and restart systems showing abnormal memory growth

🔍 How to Verify

Check if Vulnerable:

Check if SPUFS is loaded: lsmod | grep spufs AND check kernel version against patched versions

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version includes fix commits or check with distribution vendor for patch status

📡 Detection & Monitoring

Log Indicators:

  • Kernel oops messages related to memory allocation failures
  • System logs showing out-of-memory conditions

Network Indicators:

  • None - local vulnerability only

SIEM Query:

Search for: 'Out of memory' OR 'kernel: Out of memory' OR 'oom-killer' in system logs on SPUFS-enabled systems

🔗 References

📤 Share & Export