# CVE-2025-22071: spufs: fix a leak in spufs\_create\_context()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2025-04-16T14:12:23.933Z
- **Modified:** 2026-06-17T08:44:59.027Z

## Who should check

- Anyone running Linux \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< 829bd6139968e2e759f3928cf65ad0db1e302fe3; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< 410c787d89c92df4215d7b1a338e2c1a8aba6b9b; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< c4e72a0d75442237b6f3bcca10a7d81b89376d16; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< a333f223e555d27609f8b45d75a08e8e1d36c432; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< 239ea3c34673b3244a499fd65771c47e5bffcbb0; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< d04600f43569d48262e1328eaa1592fcefa2c19c; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< 5a90b699844a5bb96961e5892e51cc59255444a3; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< 4a7448c83e117ed68597952ecaede1cebc4427a7; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< 0f5cce3fc55b08ee4da3372baccf4bcd36a98396
- Anyone running Linux 2.6.25

## 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 and fixed versions

- Linux: \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< 829bd6139968e2e759f3928cf65ad0db1e302fe3; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< 410c787d89c92df4215d7b1a338e2c1a8aba6b9b; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< c4e72a0d75442237b6f3bcca10a7d81b89376d16; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< a333f223e555d27609f8b45d75a08e8e1d36c432; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< 239ea3c34673b3244a499fd65771c47e5bffcbb0; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< d04600f43569d48262e1328eaa1592fcefa2c19c; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< 5a90b699844a5bb96961e5892e51cc59255444a3; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< 4a7448c83e117ed68597952ecaede1cebc4427a7; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< 0f5cce3fc55b08ee4da3372baccf4bcd36a98396 (cvelist)
- Linux: 2.6.25 (cvelist)

## Mitigation

- Upgrade Linux to 0f5cce3fc55b08ee4da3372baccf4bcd36a98396 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-22071.md
Affected: Linux >= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, < 829bd6139968e2e759f3928cf65ad0db1e302fe3; >= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, < 410c787d89c92df4215d7b1a338e2c1a8aba6b9b; >= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, < c4e72a0d75442237b6f3bcca10a7d81b89376d16; >= 58119068cb27ef7513f80af…
Fixed in: Linux 829bd6139968e2e759f3928cf65ad0db1e302fe3, Linux 410c787d89c92df4215d7b1a338e2c1a8aba6b9b, Linux 239ea3c34673b3244a499fd65771c47e5bffcbb0, Linux 5a90b699844a5bb96961e5892e51cc59255444a3, Linux 4a7448c83e117ed68597952ecaede1cebc4427a7, Linux 0f5cce3fc55b08ee4da3372baccf4bcd36a98396

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.
```

## FAQ

### Is CVE-2025-22071 being exploited?

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

### How serious is CVE-2025-22071?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-22071?

Linux \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< 829bd6139968e2e759f3928cf65ad0db1e302fe3; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< 410c787d89c92df4215d7b1a338e2c1a8aba6b9b; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< c4e72a0d75442237b6f3bcca10a7d81b89376d16; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< a333f223e555d27609f8b45d75a08e8e1d36c432; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< 239ea3c34673b3244a499fd65771c47e5bffcbb0; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< d04600f43569d48262e1328eaa1592fcefa2c19c; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< 5a90b699844a5bb96961e5892e51cc59255444a3; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< 4a7448c83e117ed68597952ecaede1cebc4427a7; \>= 58119068cb27ef7513f80aff44b62a3a8f40ef5f, \< 0f5cce3fc55b08ee4da3372baccf4bcd36a98396; Linux 2.6.25.

### Is there a fix for CVE-2025-22071?

Yes. Fixed in Linux 829bd6139968e2e759f3928cf65ad0db1e302fe3, Linux 410c787d89c92df4215d7b1a338e2c1a8aba6b9b, Linux 239ea3c34673b3244a499fd65771c47e5bffcbb0, Linux 5a90b699844a5bb96961e5892e51cc59255444a3, Linux 4a7448c83e117ed68597952ecaede1cebc4427a7, Linux 0f5cce3fc55b08ee4da3372baccf4bcd36a98396. Upgrade Linux to 0f5cce3fc55b08ee4da3372baccf4bcd36a98396 or later.

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

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.

## References

- patch: <https://git.kernel.org/stable/c/829bd6139968e2e759f3928cf65ad0db1e302fe3>
- patch: <https://git.kernel.org/stable/c/410c787d89c92df4215d7b1a338e2c1a8aba6b9b>
- patch: <https://git.kernel.org/stable/c/c4e72a0d75442237b6f3bcca10a7d81b89376d16>
- patch: <https://git.kernel.org/stable/c/a333f223e555d27609f8b45d75a08e8e1d36c432>
- patch: <https://git.kernel.org/stable/c/239ea3c34673b3244a499fd65771c47e5bffcbb0>
- patch: <https://git.kernel.org/stable/c/d04600f43569d48262e1328eaa1592fcefa2c19c>
- patch: <https://git.kernel.org/stable/c/5a90b699844a5bb96961e5892e51cc59255444a3>
- patch: <https://git.kernel.org/stable/c/4a7448c83e117ed68597952ecaede1cebc4427a7>
- patch: <https://git.kernel.org/stable/c/0f5cce3fc55b08ee4da3372baccf4bcd36a98396>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-22071>

HTML: <https://flawdb.com/CVE-2025-22071> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-22071>
