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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-04-16 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2025-22071, DEBIAN-CVE-2025-22071
- Record: https://cvemate.com/vulnerability/CVE-2025-22071 · JSON: https://cvemate.com/vulnerability/CVE-2025-22071/json

## Description

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

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.244%, percentile 16.721%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 141)

- debian linux (Debian): \< 6.1.135-1 \| \< 6.12.25-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-218.238 \| \< 5.15.0-142.152 \| \< 6.8.0-86.87
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1147.157 \| \< 5.15.0-1086.93 \| \< 6.8.0-1041.43
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1086.93~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1147.157~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1041.43~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1147.157+fips1 \| \< 5.15.0-1086.93+fips1 \| \< 6.8.0-1041.43+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1152.159 \| \< 5.15.0-1091.100 \| \< 6.8.0-1041.47
- ubuntu linux-azure-4.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 53)

- <https://git.kernel.org/stable/c/829bd6139968e2e759f3928cf65ad0db1e302fe3>
- <https://git.kernel.org/stable/c/410c787d89c92df4215d7b1a338e2c1a8aba6b9b>
- <https://git.kernel.org/stable/c/c4e72a0d75442237b6f3bcca10a7d81b89376d16>
- <https://git.kernel.org/stable/c/a333f223e555d27609f8b45d75a08e8e1d36c432>
- <https://git.kernel.org/stable/c/239ea3c34673b3244a499fd65771c47e5bffcbb0>
- <https://git.kernel.org/stable/c/d04600f43569d48262e1328eaa1592fcefa2c19c>
- <https://git.kernel.org/stable/c/5a90b699844a5bb96961e5892e51cc59255444a3>
- <https://git.kernel.org/stable/c/4a7448c83e117ed68597952ecaede1cebc4427a7>
- <https://git.kernel.org/stable/c/0f5cce3fc55b08ee4da3372baccf4bcd36a98396>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- <https://ubuntu.com/security/CVE-2025-22071>
- <https://www.cve.org/CVERecord?id=CVE-2025-22071>
- <https://git.kernel.org/linus/0f5cce3fc55b08ee4da3372baccf4bcd36a98396>
- <https://ubuntu.com/security/notices/USN-7585-1>
- <https://ubuntu.com/security/notices/USN-7585-2>
- <https://ubuntu.com/security/notices/USN-7591-1>
- <https://ubuntu.com/security/notices/USN-7591-2>
- <https://ubuntu.com/security/notices/USN-7591-3>
- <https://ubuntu.com/security/notices/USN-7592-1>
- <https://ubuntu.com/security/notices/USN-7593-1>

---

Data as of 2026-12-05T04:02:45.458Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
