Vulnerability · Published Apr 16, 2025 · Assigned by Linux

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

Medium 5.5

In plain English

A medium-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.2%top 89.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8bpftool4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:8kernel4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9kernel5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-64k5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-64k-core5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-64k-debug5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-64k-debug-core5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-64k-debug-devel5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-64k-debug-devel-matched5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-64k-debug-modules5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-64k-debug-modules-core5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-64k-debug-modules-extra5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-64k-devel5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-64k-devel-matched5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-64k-modules5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-64k-modules-core5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-64k-modules-extra5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:10kernel-abi-stablelists6.12.0-55.38.1.el10_0ALSA-2025:17396
AlmaLinux:8kernel-abi-stablelists4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9kernel-abi-stablelists5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-core4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9kernel-core5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-cross-headers4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9kernel-cross-headers5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-debug4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9kernel-debug5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-debug-core4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9kernel-debug-core5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-debug-devel4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9kernel-debug-devel5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-debug-devel-matched5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-debug-modules4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9kernel-debug-modules5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-debug-modules-core5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-debug-modules-extra4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9kernel-debug-modules-extra5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-debug-uki-virt5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-devel4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9kernel-devel5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-devel-matched5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:10kernel-doc6.12.0-55.38.1.el10_0ALSA-2025:17396
AlmaLinux:8kernel-doc4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9kernel-doc5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-headers4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9kernel-headers5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-modules4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9kernel-modules5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-modules-core5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-modules-extra4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9kernel-modules-extra5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-rt4.18.0-553.77.1.rt7.418.el8_10ALSA-2025:16920
AlmaLinux:9kernel-rt5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-rt-64k5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-rt-64k-core5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-rt-64k-debug5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-rt-64k-debug-core5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-rt-64k-debug-devel5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-rt-64k-debug-modules5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-rt-64k-debug-modules-core5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-rt-64k-debug-modules-extra5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-rt-64k-devel5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-rt-64k-modules5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-rt-64k-modules-core5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-rt-64k-modules-extra5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-rt-core4.18.0-553.77.1.rt7.418.el8_10ALSA-2025:16920
AlmaLinux:9kernel-rt-core5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-rt-debug4.18.0-553.77.1.rt7.418.el8_10ALSA-2025:16920
AlmaLinux:9kernel-rt-debug5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-rt-debug-core4.18.0-553.77.1.rt7.418.el8_10ALSA-2025:16920
AlmaLinux:9kernel-rt-debug-core5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-rt-debug-devel4.18.0-553.77.1.rt7.418.el8_10ALSA-2025:16920
AlmaLinux:9kernel-rt-debug-devel5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-rt-debug-kvm5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-rt-debug-modules4.18.0-553.77.1.rt7.418.el8_10ALSA-2025:16920
AlmaLinux:9kernel-rt-debug-modules5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-rt-debug-modules-core5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-rt-debug-modules-extra4.18.0-553.77.1.rt7.418.el8_10ALSA-2025:16920
AlmaLinux:9kernel-rt-debug-modules-extra5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-rt-devel4.18.0-553.77.1.rt7.418.el8_10ALSA-2025:16920
AlmaLinux:9kernel-rt-devel5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-rt-kvm5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-rt-modules4.18.0-553.77.1.rt7.418.el8_10ALSA-2025:16920
AlmaLinux:9kernel-rt-modules5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-rt-modules-core5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-rt-modules-extra4.18.0-553.77.1.rt7.418.el8_10ALSA-2025:16920
AlmaLinux:9kernel-rt-modules-extra5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-tools4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9kernel-tools5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-tools-libs4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9kernel-tools-libs5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-tools-libs-devel4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9kernel-tools-libs-devel5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-uki-virt5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-uki-virt-addons5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-zfcpdump4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9kernel-zfcpdump5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-zfcpdump-core4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9kernel-zfcpdump-core5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-zfcpdump-devel4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9kernel-zfcpdump-devel5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-zfcpdump-devel-matched5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-zfcpdump-modules4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9kernel-zfcpdump-modules5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9kernel-zfcpdump-modules-core5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8kernel-zfcpdump-modules-extra4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9kernel-zfcpdump-modules-extra5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9libperf5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8perf4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9perf5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:8python3-perf4.18.0-553.77.1.el8_10ALSA-2025:16919
AlmaLinux:9python3-perf5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9rtla5.14.0-570.55.1.el9_6ALSA-2025:18281
AlmaLinux:9rv5.14.0-570.55.1.el9_6ALSA-2025:18281
Debian:12linux6.1.164-1DEBIAN-CVE-2025-22026
Debian:12linux6.1.164-1DSA-6163-1
Debian:13linux6.12.25-1DEBIAN-CVE-2025-22026
Debian:14linux6.12.25-1DEBIAN-CVE-2025-22026
Rocky Linux:8kernel0:4.18.0-553.77.1.el8_10RLSA-2025:16919
Rocky Linux:8kernel-rt0:4.18.0-553.77.1.rt7.418.el8_10RLSA-2025:16920
Ubuntu:22.04:LTSlinux5.15.0-198.208USN-8875-1
Ubuntu:22.04:LTSlinux5.15.0-198.208UBUNTU-CVE-2025-22026
Ubuntu:24.04:LTSlinux6.8.0-100.100USN-8028-1
Ubuntu:24.04:LTSlinux6.8.0-100.100UBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-aws5.15.0-1117.124UBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-aws5.15.0-1117.124USN-8875-1
Ubuntu:24.04:LTSlinux-aws6.8.0-1046.49USN-8028-5
Ubuntu:24.04:LTSlinux-aws6.8.0-1046.49UBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-aws-6.5no fix listedUBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-aws-6.86.8.0-1046.49~22.04.1UBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-aws-6.86.8.0-1046.49~22.04.1USN-8028-5
Ubuntu:22.04:LTSlinux-azure5.15.0-1123.132USN-8875-1
Ubuntu:22.04:LTSlinux-azure5.15.0-1123.132UBUNTU-CVE-2025-22026
Ubuntu:24.04:LTSlinux-azure6.8.0-1046.52UBUNTU-CVE-2025-22026
Ubuntu:24.04:LTSlinux-azure6.8.0-1046.52USN-8074-1
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2025-22026
Ubuntu:24.04:LTSlinux-azure-6.11no fix listedUBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-azure-6.5no fix listedUBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-azure-6.86.8.0-1051.57~22.04.1UBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-azure-6.86.8.0-1051.57~22.04.1USN-8126-1
Ubuntu:22.04:LTSlinux-azure-fde5.15.0-1122.131USN-8876-1
Ubuntu:22.04:LTSlinux-azure-fde5.15.0-1122.131UBUNTU-CVE-2025-22026
Ubuntu:24.04:LTSlinux-azure-fde6.8.0-1046.53UBUNTU-CVE-2025-22026
Ubuntu:25.10linux-azure-fdeno fix listedUBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-azure-fde-6.86.8.0-1046.53~22.04.1UBUNTU-CVE-2025-22026
Ubuntu:24.04:LTSlinux-azure-nvidiano fix listedUBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-gcp5.15.0-1118.128UBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-gcp5.15.0-1118.128USN-8877-1
Ubuntu:24.04:LTSlinux-gcp6.8.0-1047.50USN-8031-3
Ubuntu:24.04:LTSlinux-gcp6.8.0-1047.50UBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2025-22026
Ubuntu:24.04:LTSlinux-gcp-6.11no fix listedUBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-gcp-6.5no fix listedUBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-gcp-6.86.8.0-1047.50~22.04.2USN-8031-1
Ubuntu:22.04:LTSlinux-gcp-6.86.8.0-1047.50~22.04.2UBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-gke5.15.0-1113.119UBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-gke5.15.0-1113.119USN-8875-1
Ubuntu:24.04:LTSlinux-gke6.8.0-1043.48USN-8031-3
Ubuntu:24.04:LTSlinux-gke6.8.0-1043.48UBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1100.108UBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1100.108USN-8875-1
Ubuntu:24.04:LTSlinux-gkeop6.8.0-1030.33USN-8028-5
Ubuntu:24.04:LTSlinux-gkeop6.8.0-1030.33UBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2025-22026
Ubuntu:24.04:LTSlinux-hwe-6.11no fix listedUBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-hwe-6.5no fix listedUBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-hwe-6.86.8.0-100.100~22.04.1USN-8028-6
Ubuntu:22.04:LTSlinux-hwe-6.86.8.0-100.100~22.04.1UBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-ibm5.15.0-1111.115USN-8875-1
Ubuntu:22.04:LTSlinux-ibm5.15.0-1111.115UBUNTU-CVE-2025-22026
Ubuntu:24.04:LTSlinux-ibm6.8.0-1044.44USN-8028-8
Ubuntu:24.04:LTSlinux-ibm6.8.0-1044.44UBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-ibm-6.86.8.0-1044.44~22.04.1UBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-ibm-6.86.8.0-1044.44~22.04.1USN-8028-8
Ubuntu:24.04:LTSlinux-intelno fix listedUBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1112.118USN-8875-1
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1112.118UBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-kvm5.15.0-1109.114UBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-kvm5.15.0-1109.114USN-8875-1
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-195.205UBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-195.205USN-8875-1
Ubuntu:24.04:LTSlinux-lowlatency6.8.0-100.100.1UBUNTU-CVE-2025-22026
Ubuntu:24.04:LTSlinux-lowlatency6.8.0-100.100.1USN-8052-1
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2025-22026
Ubuntu:24.04:LTSlinux-lowlatency-hwe-6.11no fix listedUBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.5no fix listedUBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.86.8.0-100.100.1~22.04.1UBUNTU-CVE-2025-22026
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.86.8.0-100.100.1~22.04.1USN-8028-6
Ubuntu:22.04:LTSlinux-nvidia5.15.0-1112.113USN-8875-2
Ubuntu:22.04:LTSlinux-nvidia5.15.0-1112.113UBUNTU-CVE-2025-22026
Ubuntu:24.04:LTSlinux-nvidia6.8.0-1046.49USN-8028-5

Affected products (as reported)

VendorProductVersions
Linux Linux 5545496966631cd40ad3aa6450be56d0e5773d10 – before 51107e768de6821b68aa34a136d07bc7a09cf6c373c43bccf25cec9cdec62fc22a513c28a4b28390 – before e4316bd85e42b01125b2aab691769234a388b8a310ece754df9a799131a1cf3197e9d26c04ddec22 – before 51da899c209a9624e48be416bd30e7ed5cd6c3d86f8d6ed3426a17f77628cebfb6a6e2c6f2b2496c – before 30405b23b4d5e2a596fb756d48119d7293194e7593483ac5fec62cc1de166051b219d953bb5e4ef4 – before 6a59b70fe71ec66c0dd19e2c279c71846a3fb2f093483ac5fec62cc1de166051b219d953bb5e4ef4 – before e31957a819e60cf0bc9a49408765e6095fd3d04693483ac5fec62cc1de166051b219d953bb5e4ef4 – before 9d9456185fd5f1891c74354ee297f19538141ead93483ac5fec62cc1de166051b219d953bb5e4ef4 – before 930b64ca0c511521f0abdd1d57ce52b2a6e3476b
Linux Linux 6.9

References