CVE-2025-22026
MEDIUMLinux Kernel - Unchecked Return Value in nfsd_proc_stat_init
Title source: llmDescription
In the Linux kernel, the following vulnerability has been resolved: nfsd: don't ignore the return code of svc_proc_register() Currently, nfsd_proc_stat_init() ignores the return value of svc_proc_register(). If the procfile creation fails, then the kernel will WARN when it tries to remove the entry later. Fix nfsd_proc_stat_init() to return the same type of pointer as svc_proc_register(), and fix up nfsd_net_init() to check that and fail the nfsd_net construction if it occurs. svc_proc_register() can fail if the dentry can't be allocated, or if an identical dentry already exists. The second case is pretty unlikely in the nfsd_net construction codepath, so if this happens, return -ENOMEM.
References (6)
Core 6
Core References
Scores
CVSS v3
5.5
EPSS
0.0016
EPSS Percentile
5.7%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-252
Status
published
Products (28)
linux/Kernel
< 6.1.164linux
linux/Kernel
6.13.0 - 6.14.2linux
linux/Kernel
6.2.0 - 6.6.125linux
linux/Kernel
6.7.0 - 6.12.24linux
linux/Kernel
6.9.0 - 6.13.12linux
Linux/Linux
< 6.9
Linux/Linux
10ece754df9a799131a1cf3197e9d26c04ddec22 - 51da899c209a9624e48be416bd30e7ed5cd6c3d8
Linux/Linux
5.10.226 - 5.11
Linux/Linux
5.15.166 - 5.16
Linux/Linux
5545496966631cd40ad3aa6450be56d0e5773d10
... and 18 more
Published
Apr 16, 2025
Tracked Since
Feb 18, 2026