CVE-2024-50241
NFSD: Initialize struct nfsd4_copy earlier
Check your servers for CVE-2024-50241
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-50241 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.48%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 42.9% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 9e52ff544e0bfa09ee339fd7b0937ee3c080c24e, before 059434d23c4578d9d02efb92d848ea21bc640112 affected from 43e46ee5efc03990b223f7aa8b77aa9c3d3acfdf, before 7267625baf365a969f1b25ded6f07b64bc90ec5b affected from 7ea9260874b779637aff6d24c344b8ef4ac862a0, before c3074003fa6837c2b89a34d8d12d9463b59d22d6 affected from ae267989b7b7933dfedcd26468d0a88fc3a9da9e, before 421f1a2a1afb47d88de09457ef7687e1df7bc997 affected from 6a488ad7745b8f64625c6d3a24ce7e448e83f11b, before e30a9a2f69c34a00a3cb4fd45c5d231929e66fb1 affected from aadc3bbea163b6caaaebfdd2b6c4667fbc726752, before 63fab04cbd0f96191b6e5beedc3b643b01c15889 affected b4e21431a0db4854b5023cd5af001be557e6c3db affected from 6.10.14, before 6.11
Other versions: unaffected
|
| Linux |
affected from 6.11.3, before 6.11.7
Other versions: unaffected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-50241 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-50241
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-50241
trivy image --scanners vuln IMAGE | grep CVE-2024-50241
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/059434d23c4578d9d02efb92d848ea21bc640112 git.kernel.org
- https://git.kernel.org/stable/c/7267625baf365a969f1b25ded6f07b64bc90ec5b git.kernel.org
- https://git.kernel.org/stable/c/c3074003fa6837c2b89a34d8d12d9463b59d22d6 git.kernel.org
- https://git.kernel.org/stable/c/421f1a2a1afb47d88de09457ef7687e1df7bc997 git.kernel.org
- https://git.kernel.org/stable/c/e30a9a2f69c34a00a3cb4fd45c5d231929e66fb1 git.kernel.org
- https://git.kernel.org/stable/c/63fab04cbd0f96191b6e5beedc3b643b01c15889 git.kernel.org
Source: the record CVE-2024-50241 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse