CVE-2024-49855

nbd: fix race between timeout and normal completion

HIGH
7
CVSS Score
Published: October 21, 2024 at 12:18 PM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7
Exploit prediction
EPSS 0.5%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 5.17.15v ≥ 5.18.45.17.15 ≤ v < 5.185.18.4 ≤ v < 5.195.19 ≤ v < 6.1.1135.19 ≤ v < 6.10.135.19 ≤ v < 6.11.25.19 ≤ v < 6.125.19 ≤ v < 6.6.546.11 ≤ v < 6.11.26.2 ≤ v < 6.6.546.7 ≤ v < 6.10.132895f1831e911ca87d4efdf43e35eb72a0c7e66e5.17.155.18.45171ef20bae852ff38f4cfdb368bcdcc744776d0cdf62c535a9bfd5ff0eef4b91669da39d8abc0c3
Vendor states this is fixed in 5236ada8ebbd9e7461f17477357582f5be4f46f7 (fixed)
Vendor states this is fixed in 6e73b946a379a1dfbb62626af93843bdfb53753d (fixed)
Vendor states this is fixed in 9a74c3e6c0d686c26ba2aab66d15ddb89dc139cc (fixed)
Vendor states this is fixed in 9c25faf72d780a9c71081710cd48759d61ff6e9b (fixed)
Vendor states this is fixed in c9ea57c91f03bcad415e1a20113bdb2077bcf990 (fixed)
Affected range stops below 5.18, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 6.1.113 (unaffected)
Vendor states this is fixed in 6.10.13 (unaffected)
Vendor states this is fixed in 6.11.2 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.6.54 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5236ada8ebbd9e7461f17477357582f5be4f46f7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6e73b946a379a1dfbb62626af93843bdfb53753d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9a74c3e6c0d686c26ba2aab66d15ddb89dc139cc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9c25faf72d780a9c71081710cd48759d61ff6e9b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c9ea57c91f03bcad415e1a20113bdb2077bcf990
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card