CVE-2025-22026

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
16/04/2025
Last modified:
19/02/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> nfsd: don&amp;#39;t ignore the return code of svc_proc_register()<br /> <br /> Currently, nfsd_proc_stat_init() ignores the return value of<br /> svc_proc_register(). If the procfile creation fails, then the kernel<br /> will WARN when it tries to remove the entry later.<br /> <br /> Fix nfsd_proc_stat_init() to return the same type of pointer as<br /> svc_proc_register(), and fix up nfsd_net_init() to check that and fail<br /> the nfsd_net construction if it occurs.<br /> <br /> svc_proc_register() can fail if the dentry can&amp;#39;t be allocated, or if an<br /> identical dentry already exists. The second case is pretty unlikely in<br /> the nfsd_net construction codepath, so if this happens, return -ENOMEM.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.12.24 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.13.12 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.14 (including) 6.14.2 (excluding)