CVE-2024-49855
nbd: fix race between timeout and normal completion
Check your servers for CVE-2024-49855
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-49855 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:
nbd: fix race between timeout and normal completion
If request timetout is handled by nbd_requeue_cmd(), normal completion has to be stopped for avoiding to complete this requeued request, other use-after-free can be triggered.
Fix the race by clearing NBD_CMD_INFLIGHT in nbd_requeue_cmd(), meantime make sure that cmd->lock is grabbed for clearing the flag and the requeue.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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 high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.47%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 42.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 21 Oct 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, before 9c25faf72d780a9c71081710cd48759d61ff6e9b affected from 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, before 6e73b946a379a1dfbb62626af93843bdfb53753d affected from 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, before 5236ada8ebbd9e7461f17477357582f5be4f46f7 affected from 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, before 9a74c3e6c0d686c26ba2aab66d15ddb89dc139cc affected from 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, before c9ea57c91f03bcad415e1a20113bdb2077bcf990 affected cdf62c535a9bfd5ff0eef4b91669da39d8abc0c3 affected 5171ef20bae852ff38f4cfdb368bcdcc744776d0 affected from 5.17.15, before 5.18 affected from 5.18.4, before 5.19
Other versions: unaffected
|
| Linux |
affected 5.19 unaffected before 5.19 unaffected from 6.1.113 up to and including 6.1.* unaffected from 6.6.54 up to and including 6.6.* unaffected from 6.10.13 up to and including 6.10.* unaffected from 6.11.2 up to and including 6.11.* unaffected 6.12 and later
Other versions: affected
|
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-49855 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-49855
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-49855
trivy image --scanners vuln IMAGE | grep CVE-2024-49855
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/9c25faf72d780a9c71081710cd48759d61ff6e9b git.kernel.org
- https://git.kernel.org/stable/c/6e73b946a379a1dfbb62626af93843bdfb53753d git.kernel.org
- https://git.kernel.org/stable/c/5236ada8ebbd9e7461f17477357582f5be4f46f7 git.kernel.org
- https://git.kernel.org/stable/c/9a74c3e6c0d686c26ba2aab66d15ddb89dc139cc git.kernel.org
- https://git.kernel.org/stable/c/c9ea57c91f03bcad415e1a20113bdb2077bcf990 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
Source: the record CVE-2024-49855 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse