Gang Directory Lifetime Leak in Linux Kernel - CVE-2025-22072

linux Updated 02 Oct 2025

Summary

16/04/2025
N/A
No i
Unrated
Not published

CVE-2025-22072: In the Linux kernel, the following vulnerability has been resolved: spufs: fix gang directory lifetimes prior to "[POWERPC] spufs: Fix gang destroy leaks" we used to have a problem with gang lifetimes - creation of a gan... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is the core component of the Linux operating system, responsible for managing hardware and system resources. It provides essential services for all other parts of the operating system and is known for its stability, performance, and security. However, vulnerabilities can arise, such as CVE-2025-22072, which affects the spufs (Secure Processing Unit File System) component, leading to potential resource leaks and system instability.

Vulnerability Detail

CVE-2025-22072 is a vulnerability in the Linux kernel's spufs that involves improper handling of gang directory lifetimes. When a gang is created, it returns an opened gang directory that should be removed upon closure. However, if a context belonging to that gang is kept alive, the removal fails, leading to a resource leak. The initial fix was incorrectly implemented, resulting in unbalanced reference counts and potential memory leaks. This vulnerability can lead to degraded system performance and resource exhaustion.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. It is recommended to apply the patch as soon as it becomes available to mitigate the risk.

Conclusion

CVE-2025-22072 is a significant vulnerability in the Linux kernel's spufs that can lead to resource leaks and system instability. It is crucial for users to update their systems to the patched version to mitigate risks associated with this vulnerability. Monitoring tools like Vulert can help keep track of vulnerabilities in open-source software.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-22072 is a vulnerability in the Linux kernel's spufs that can lead to resource leaks due to improper handling of gang directory lifetimes.

This vulnerability can lead to degraded system performance and potential resource exhaustion, impacting the stability of applications relying on the Linux kernel.

You should update your Linux kernel to the patched version that resolves CVE-2025-22072 as soon as it is available.

Yes, you can use Vulert to monitor and alert in real-time for open-source vulnerabilities in your software. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.

Detailed information about CVE-2025-22072 can be found in the official Linux kernel documentation and vulnerability databases.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback