CVE-2024-49855

Source
https://cve.org/CVERecord?id=CVE-2024-49855
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49855.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-49855
Downstream
AZL (1)
BELL (1)
DEBIAN (1)
MGASA (2)
OESA (5)
openSUSE (2)
ROOT (1)
SUSE (23)
UBUNTU (1)
Related
Published
2024-10-21T12:18:47Z
Modified
2026-10-08T02:49:39Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
nbd: fix race between timeout and normal completion
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49855.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2895f1831e911ca87d4efdf43e35eb72a0c7e66e
Fixed
9c25faf72d780a9c71081710cd48759d61ff6e9b
Fixed
6e73b946a379a1dfbb62626af93843bdfb53753d
Fixed
5236ada8ebbd9e7461f17477357582f5be4f46f7
Fixed
9a74c3e6c0d686c26ba2aab66d15ddb89dc139cc
Fixed
c9ea57c91f03bcad415e1a20113bdb2077bcf990
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5.17.15
Fixed
5.18
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5.18.4
Fixed
5.19
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cdf62c535a9bfd5ff0eef4b91669da39d8abc0c3
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5171ef20bae852ff38f4cfdb368bcdcc744776d0

Affected versions

v5.*
v5.17.15
v5.18.10
v5.18.11
v5.18.12
v5.18.13
v5.18.14
v5.18.15
v5.18.16
v5.18.17
v5.18.18
v5.18.19
v5.18.4
v5.18.5
v5.18.6
v5.18.7
v5.18.8
v5.18.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49855.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
6.1.113
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.54
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.10.13
Type
ECOSYSTEM
Events
Introduced
6.11.0
Fixed
6.11.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49855.json"