
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-50401 is a vulnerability in the Linux kernel's NFSv4.1 implementation, discovered and disclosed in September 2025. The vulnerability specifically affects the NFSd (Network File System daemon) component when handling callback setup under NFSv4.1 protocol (NVD, Red Hat).
The vulnerability occurs due to a double svcxprtput operation on rpccreate failure in the NFSv4.1 callback setup. When an error situation occurs, `clp->clcbconn.cbxprt` incorrectly receives a reference to the xprt, causing both client cleanup and the error handling path to attempt to release it. This leads to a refcount underflow condition and potential use-after-free scenario (Red Hat). The vulnerability has been assigned a CVSS v3.1 Base Score of 5.1 with attack vector: Local, attack complexity: High (Red Hat).
The vulnerability can result in a server-side denial of service condition. When triggered, it can cause a refcount underflow and use-after-free situation, potentially leading to kernel oops or panic. This can be initiated by a misbehaving client or during resource-pressure situations during callback establishment (Red Hat).
The fix involves modifying the reference handling in the NFSv4.1 callback setup code to delay handing over the reference to a later branch, preventing the double-put situation. Various Linux distributions have different patch status: Red Hat Enterprise Linux 8 and 9 have deferred the fix, while Red Hat Enterprise Linux 7 is not affected (Red Hat).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."