CVE-2025-22026: nfsd: don't ignore the return code of svc_proc_register()

Published Apr 16, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

nfsd: don't ignore the return code of svcprocregister()

Currently, nfsdprocstatinit() ignores the return value of svcprocregister(). If the procfile creation fails, then the kernel will WARN when it tries to remove the entry later.

Fix nfsdprocstatinit() to return the same type of pointer as svcprocregister(), and fix up nfsdnetinit() to check that and fail the nfsdnet construction if it occurs.

svcprocregister() can fail if the dentry can't be allocated, or if an identical dentry already exists. The second case is pretty unlikely in the nfsdnet construction codepath, so if this happens, return -ENOMEM.

Affected Software

16 affected componentsFixes available
Linux Foundation Linux Kernel
Microsoft azl3 kernel 6.6.117.1-1
Microsoft cbl2 kernel 5.15.186.1-1
Microsoft azl3 kernel 6.6.104.2-4
Microsoft azl3 kernel 6.6.96.2-2
Microsoft azl3 kernel 6.6.112.1-2
Microsoft azl3 kernel 6.6.96.2-1
F5 BIG-IP=21.0.0
F5 BIG-IP>=17.5.0<=17.5.1, >=17.1.0<=17.1.3
F5 BIG-IP>=16.1.0<=16.1.6
F5 BIG-IQ Centralized Management>=8.3.0<=8.4.1
Linux Linux kernel<6.12.24
Linux Linux kernel>=6.13<6.13.12
Linux Linux kernel>=6.14<6.14.2
Microsoft azl3 kernel 6.6.119.3-1
Microsoft azl3 kernel 6.6.121.1-1<6.6.126.1-1
6.6.126.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.126.1-1

Event History

Apr 16, 2025
CVE Published
via MITRE·02:11 PM
Data Sourced
via MITRE·02:11 PM
Description
Data Sourced
via Red Hat·03:03 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 4, 2025
Data Sourced
via Microsoft·01:19 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:19 AM
Affected Software
Updated
via Microsoft·01:19 AM
SeverityAffected Software
Updated
via Microsoft·08:19 AM
WeaknessAffected Software
Updated
via Microsoft·08:19 AM
DescriptionSeverityWeakness
Feb 19, 2026
Advisory Published
via F5·03:55 PM
Data Sourced
via F5·03:55 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-22026?

CVE-2025-22026 has been classified with a moderate severity level.

2

How do I fix CVE-2025-22026?

To resolve CVE-2025-22026, update your Linux kernel to the latest stable version where the vulnerability has been patched.

3

What systems are affected by CVE-2025-22026?

CVE-2025-22026 affects the Linux kernel, specifically impacting systems utilizing the nfsd service.

4

When was CVE-2025-22026 disclosed?

CVE-2025-22026 was disclosed on January 25, 2025.

5

What are the consequences of exploiting CVE-2025-22026?

Exploiting CVE-2025-22026 could lead to potential denial-of-service conditions due to the ignored return code in the nfsd process.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203