CVE-2024-50241 NFSD: Initialize struct nfsd4_copy earlier
An uninitialized struct in the Linux kernel NFS server can cause a refcount underflow and potential crash when an error occurs during copy operations.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-50241?
CVE-2024-50241 is a high-severity vulnerability in Linux kernel, published on 9 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
NFSD: Initialize struct nfsd4_copy earlier
Ensure the refcount and async_copies fields are initialized early. cleanup_async_copy() will reference these fields if an error occurs in nfsd4_copy(). If they are not correctly initialized, at the very least, a refcount underflow occurs.
Weakness: CWE-908
Which versions are affected by CVE-2024-50241?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-50241?
Apply the vendor's patch.
Is CVE-2024-50241 being exploited?
There is no known exploitation of CVE-2024-50241 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2024-50241, GHSA-x9gg-ww2m-r7gj, UBUNTU-CVE-2024-50241.