CVE-2025-22071

spufs: fix a leak in spufs_create_context()

MEDIUM
5.5
CVSS Score
Published: April 16, 2025 at 02:12 PM UTC
Updated: June 17, 2026 at 08:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.25 ≤ v < 5.10.2362.6.25 ≤ v < 5.15.1802.6.25 ≤ v < 5.4.2922.6.25 ≤ v < 6.1.1342.6.25 ≤ v < 6.12.232.6.25 ≤ v < 6.13.112.6.25 ≤ v < 6.14.22.6.25 ≤ v < 6.152.6.25 ≤ v < 6.6.875.11 ≤ v < 5.15.1805.16 ≤ v < 6.1.1345.5 ≤ v < 5.10.2366.13 ≤ v < 6.13.116.14 ≤ v < 6.14.26.2 ≤ v < 6.6.876.7 ≤ v < 6.12.232.6.2558119068cb27ef7513f80aff44b62a3a8f40ef5f
Vendor states this is fixed in 0f5cce3fc55b08ee4da3372baccf4bcd36a98396 (fixed)
Vendor states this is fixed in 239ea3c34673b3244a499fd65771c47e5bffcbb0 (fixed)
Vendor states this is fixed in 410c787d89c92df4215d7b1a338e2c1a8aba6b9b (fixed)
Vendor states this is fixed in 4a7448c83e117ed68597952ecaede1cebc4427a7 (fixed)
Vendor states this is fixed in 5a90b699844a5bb96961e5892e51cc59255444a3 (fixed)
Vendor states this is fixed in 829bd6139968e2e759f3928cf65ad0db1e302fe3 (fixed)
Vendor states this is fixed in a333f223e555d27609f8b45d75a08e8e1d36c432 (fixed)
Vendor states this is fixed in c4e72a0d75442237b6f3bcca10a7d81b89376d16 (fixed)
Vendor states this is fixed in d04600f43569d48262e1328eaa1592fcefa2c19c (fixed)
Vendor states this is fixed in 2.6.25 (unaffected)
Vendor states this is fixed in 5.10.236 (unaffected)
Vendor states this is fixed in 5.15.180 (unaffected)
Vendor states this is fixed in 5.4.292 (unaffected)
Vendor states this is fixed in 6.1.134 (unaffected)
Vendor states this is fixed in 6.12.23 (unaffected)
Vendor states this is fixed in 6.13.11 (unaffected)
Vendor states this is fixed in 6.14.2 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.87 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0f5cce3fc55b08ee4da3372baccf4bcd36a98396
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/239ea3c34673b3244a499fd65771c47e5bffcbb0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/410c787d89c92df4215d7b1a338e2c1a8aba6b9b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4a7448c83e117ed68597952ecaede1cebc4427a7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5a90b699844a5bb96961e5892e51cc59255444a3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/829bd6139968e2e759f3928cf65ad0db1e302fe3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a333f223e555d27609f8b45d75a08e8e1d36c432
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c4e72a0d75442237b6f3bcca10a7d81b89376d16

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card