# CVE-2025-22071: spufs: fix a leak in spufs_create_context()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2025-04-16T14:12:23.933Z
- Modified: 2026-06-17T08:44:59.027Z
- Weaknesses: CWE-401
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 58119068cb27ef7513f80aff44b62a3a8f40ef5f before 829bd6139968e2e759f3928cf65ad0db1e302fe3; from 58119068cb27ef7513f80aff44b62a3a8f40ef5f before 410c787d89c92df4215d7b1a338e2c1a8aba6b9b; from 58119068cb27ef7513f80aff44b62a3a8f40ef5f before c4e72a0d75442237b6f3bcca10a7d81b89376d16; from 58119068cb27ef7513f80aff44b62a3a8f40ef5f before a333f223e555d27609f8b45d75a08e8e1d36c432; from 58119068cb27ef7513f80aff44b62a3a8f40ef5f before 239ea3c34673b3244a499fd65771c47e5bffcbb0; from 58119068cb27ef7513f80aff44b62a3a8f40ef5f before d04600f43569d48262e1328eaa1592fcefa2c19c; from 58119068cb27ef7513f80aff44b62a3a8f40ef5f before 5a90b699844a5bb96961e5892e51cc59255444a3; from 58119068cb27ef7513f80aff44b62a3a8f40ef5f before 4a7448c83e117ed68597952ecaede1cebc4427a7; from 58119068cb27ef7513f80aff44b62a3a8f40ef5f before 0f5cce3fc55b08ee4da3372baccf4bcd36a98396; 2.6.25 (not affected: before 2.6.25; from 5.4.292 up to 5.4.*; from 5.10.236 up to 5.10.*; from 5.15.180 up to 5.15.*; from 6.1.134 up to 6.1.*; from 6.6.87 up to 6.6.*; from 6.12.23 up to 6.12.*; from 6.13.11 up to 6.13.*; from 6.14.2 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 2.6.25 before 5.4.292; from 5.5 before 5.10.236; from 5.11 before 5.15.180; from 5.16 before 6.1.134; from 6.2 before 6.6.87; from 6.7 before 6.12.23; from 6.13 before 6.13.11; from 6.14 before 6.14.2

## References

- <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> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>

## Sources

- CVE List: [CVE-2025-22071](https://www.cve.org/CVERecord?id=CVE-2025-22071), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-22071](https://nvd.nist.gov/vuln/detail/CVE-2025-22071), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-22071 · Whole record: https://cve.day/CVE-2025-22071.json · Rebuilt by cve.day 2026-11-25T22:58:56.595Z
