CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2024-49855: nbd: fix race between timeout and normal completion

7.0 CVSS

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.

Classification

CVE ID: CVE-2024-49855

CVSS Base Severity: HIGH

CVSS Base Score: 7.0

CVSS Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 10.47% (scored less or equal to compared to others)

EPSS Date: 2025-06-02 (when was this score calculated)

Stakeholder-Specific Vulnerability Categorization (SSVC)

SSVC Exploitation: none

SSVC Technical Impact: partial

SSVC Automatable: false

References

https://nvd.nist.gov/vuln/detail/CVE-2024-49855
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

Timeline