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

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.

Classification

CVE ID: CVE-2025-22071

Affected Products

Vendor: Linux

Product: Linux, Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.03% (probability of being exploited)

EPSS Percentile: 8.02% (scored less or equal to compared to others)

EPSS Date: 2025-04-20 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-22071
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

Timeline