CVE-2024-49855
nbd: fix race between timeout and normal completion
Mitigation
- Upgrade Linux to 5.19 or later.
Who should check
- Anyone running Linux >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, < 9c25faf72d780a9c71081710cd48759d61ff6e9b; >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, < 6e73b946a379a1dfbb62626af93843bdfb53753d; >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, < 5236ada8ebbd9e7461f17477357582f5be4f46f7; >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, < 9a74c3e6c0d686c26ba2aab66d15ddb89dc139cc; >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, < c9ea57c91f03bcad415e1a20113bdb2077bcf990; cdf62c535a9bfd5ff0eef4b91669da39d8abc0c3; 5171ef20bae852ff38f4cfdb368bcdcc744776d0; >= 5.17.15, < 5.18; >= 5.18.4, < 5.19
- Anyone running Linux 5.19
Vulnerability facts
- Affected
- Linux >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, < 9c25faf72d780a9c71081710cd48759d61ff6e9b; >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, < 6e73b946a379a1dfbb62626af93843bdfb53753d; >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, < 5236ada8ebbd9e7461f17477357582f5be4f46f7; >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, < 9a74c3e6c0d686c26ba2aab66d15ddb89dc139cc; >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, < c9ea57c91f03bcad415e1a20113bdb2077bcf990; cdf62c535a9bfd5ff0eef4b91669da39d8abc0c3; 5171ef20bae852ff38f4cfdb368bcdcc744776d0; >= 5.17.15, < 5.18; >= 5.18.4, < 5.19; Linux 5.19
- Fixed in
- Linux 9c25faf72d780a9c71081710cd48759d61ff6e9b, Linux 6e73b946a379a1dfbb62626af93843bdfb53753d, Linux 5236ada8ebbd9e7461f17477357582f5be4f46f7, Linux 9a74c3e6c0d686c26ba2aab66d15ddb89dc139cc, Linux 5.18, Linux 5.19
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.85% chance of exploitation in 30 days (percentile 56, 2026-11-26)
- CWE
- CWE-416
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, < 9c25faf72d780a9c71081710cd48759d61ff6e9b; >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, < 6e73b946a379a1dfbb62626af93843bdfb53753d; >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, < 5236ada8ebbd9e7461f17477357582f5be4f46f7; >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, < 9a74c3e6c0d686c26ba2aab66d15ddb89dc139cc; >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, < c9ea57c91f03bcad415e1a20113bdb2077bcf990; cdf62c535a9bfd5ff0eef4b91669da39d8abc0c3; 5171ef20bae852ff38f4cfdb368bcdcc744776d0; >= 5.17.15, < 5.18; >= 5.18.4, < 5.19 | — | cvelist |
| Linux | 5.19 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-49855. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-49855.md Affected: Linux >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, < 9c25faf72d780a9c71081710cd48759d61ff6e9b; >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, < 6e73b946a379a1dfbb62626af93843bdfb53753d; >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, < 5236ada8ebbd9e7461f17477357582f5be4f46f7; >= 2895f1831e911ca87d4efdf… Fixed in: Linux 9c25faf72d780a9c71081710cd48759d61ff6e9b, Linux 6e73b946a379a1dfbb62626af93843bdfb53753d, Linux 5236ada8ebbd9e7461f17477357582f5be4f46f7, Linux 9a74c3e6c0d686c26ba2aab66d15ddb89dc139cc, Linux 5.18, Linux 5.19 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/9c25faf72d780a9c71081710cd48759d61ff6e9b
- https://git.kernel.org/stable/c/6e73b946a379a1dfbb62626af93843bdfb53753d
- https://git.kernel.org/stable/c/5236ada8ebbd9e7461f17477357582f5be4f46f7
- https://git.kernel.org/stable/c/9a74c3e6c0d686c26ba2aab66d15ddb89dc139cc
- https://git.kernel.org/stable/c/c9ea57c91f03bcad415e1a20113bdb2077bcf990
FAQ
Is CVE-2024-49855 being exploited?
There is no confirmed exploitation: CVE-2024-49855 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.85% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-49855?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2024-49855?
Linux >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, < 9c25faf72d780a9c71081710cd48759d61ff6e9b; >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, < 6e73b946a379a1dfbb62626af93843bdfb53753d; >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, < 5236ada8ebbd9e7461f17477357582f5be4f46f7; >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, < 9a74c3e6c0d686c26ba2aab66d15ddb89dc139cc; >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e, < c9ea57c91f03bcad415e1a20113bdb2077bcf990; cdf62c535a9bfd5ff0eef4b91669da39d8abc0c3; 5171ef20bae852ff38f4cfdb368bcdcc744776d0; >= 5.17.15, < 5.18; >= 5.18.4, < 5.19; Linux 5.19.
Is there a fix for CVE-2024-49855?
Yes. Fixed in Linux 9c25faf72d780a9c71081710cd48759d61ff6e9b, Linux 6e73b946a379a1dfbb62626af93843bdfb53753d, Linux 5236ada8ebbd9e7461f17477357582f5be4f46f7, Linux 9a74c3e6c0d686c26ba2aab66d15ddb89dc139cc, Linux 5.18, Linux 5.19. Upgrade Linux to 5.19 or later.
How do I check if I'm affected by CVE-2024-49855?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.