Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-22072

HIGH 7.8EPSS 16%

spufs: fix gang directory lifetimes

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < 880e7b3da2e765c1f90c94c0539be039e96c7062; >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < 324f280806aab28ef757aecc18df419676c10ef8; >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < 029d8c711f5e5fe8cf63e8a4a1a140a06e224e45; >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < 903733782f3ae28a2f7fe4dfb47c7fe3e079a528; >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < fc646a6c6d14b5d581f162a7e32999f789e3a3ac; >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < c134deabf4784e155d360744d4a6a835b9de4dd4
  • Anyone running Linux 2.6.22

Vulnerability facts

Affected
Linux >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < 880e7b3da2e765c1f90c94c0539be039e96c7062; >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < 324f280806aab28ef757aecc18df419676c10ef8; >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < 029d8c711f5e5fe8cf63e8a4a1a140a06e224e45; >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < 903733782f3ae28a2f7fe4dfb47c7fe3e079a528; >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < fc646a6c6d14b5d581f162a7e32999f789e3a3ac; >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < c134deabf4784e155d360744d4a6a835b9de4dd4; Linux 2.6.22
Fixed in
Linux 880e7b3da2e765c1f90c94c0539be039e96c7062, Linux 324f280806aab28ef757aecc18df419676c10ef8, Linux 029d8c711f5e5fe8cf63e8a4a1a140a06e224e45, Linux 903733782f3ae28a2f7fe4dfb47c7fe3e079a528
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
Published
Modified

Description

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 gang returns opened gang directory, which normally gets removed when that gets closed, but if somebody has created a context belonging to that gang and kept it alive until the gang got closed, removal failed and we ended up with a leak. Unfortunately, it had been fixed the wrong way. Dentry of gang directory was no longer pinned, and rmdir on close was gone. One problem was that failure of open kept calling simple_rmdir() as cleanup, which meant an unbalanced dput(). Another bug was in the success case - gang creation incremented link count on root directory, but that was no longer undone when gang got destroyed. Fix consists of * reverting the commit in question * adding a counter to gang, protected by ->i_rwsem of gang directory inode. * having it set to 1 at creation time, dropped in both spufs_dir_close() and spufs_gang_close() and bumped in spufs_create_context(), provided that it's not 0. * using simple_recursive_removal() to take the gang directory out when counter reaches zero.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 877907d37da9694a34adc9dc3e2ce09400148cb5, < 880e7b3da2e765c1f90c94c0539be039e96c7062; >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < 324f280806aab28ef757aecc18df419676c10ef8; >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < 029d8c711f5e5fe8cf63e8a4a1a140a06e224e45; >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < 903733782f3ae28a2f7fe4dfb47c7fe3e079a528; >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < fc646a6c6d14b5d581f162a7e32999f789e3a3ac; >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < c134deabf4784e155d360744d4a6a835b9de4dd4—cvelist
Linux2.6.22—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-22072. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-22072.md
Affected: Linux >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < 880e7b3da2e765c1f90c94c0539be039e96c7062; >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < 324f280806aab28ef757aecc18df419676c10ef8; >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < 029d8c711f5e5fe8cf63e8a4a1a140a06e224e45; >= 877907d37da9694a34adc9d…
Fixed in: Linux 880e7b3da2e765c1f90c94c0539be039e96c7062, Linux 324f280806aab28ef757aecc18df419676c10ef8, Linux 029d8c711f5e5fe8cf63e8a4a1a140a06e224e45, Linux 903733782f3ae28a2f7fe4dfb47c7fe3e079a528

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-22072 being exploited?

There is no confirmed exploitation: CVE-2025-22072 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-22072?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-22072?

Linux >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < 880e7b3da2e765c1f90c94c0539be039e96c7062; >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < 324f280806aab28ef757aecc18df419676c10ef8; >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < 029d8c711f5e5fe8cf63e8a4a1a140a06e224e45; >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < 903733782f3ae28a2f7fe4dfb47c7fe3e079a528; >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < fc646a6c6d14b5d581f162a7e32999f789e3a3ac; >= 877907d37da9694a34adc9dc3e2ce09400148cb5, < c134deabf4784e155d360744d4a6a835b9de4dd4; Linux 2.6.22.

Is there a fix for CVE-2025-22072?

Yes. Fixed in Linux 880e7b3da2e765c1f90c94c0539be039e96c7062, Linux 324f280806aab28ef757aecc18df419676c10ef8, Linux 029d8c711f5e5fe8cf63e8a4a1a140a06e224e45, Linux 903733782f3ae28a2f7fe4dfb47c7fe3e079a528. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-22072?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors