CVE-2024-49855

Source
https://cve.org/CVERecord?id=CVE-2024-49855
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49855.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-49855
Downstream
Related
Published
2024-10-21T12:18:47.391Z
Modified
2026-03-20T12:39:24.252999Z
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 nbdrequeuecmd(), 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 NBDCMDINFLIGHT in nbdrequeuecmd(), meantime make sure that cmd->lock is grabbed for clearing the flag and the requeue.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49855.json",
    "cna_assigner": "Linux"
}
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
0 Unknown introduced commit / All previous commits are affected
Last affected
cdf62c535a9bfd5ff0eef4b91669da39d8abc0c3
Last affected
5171ef20bae852ff38f4cfdb368bcdcc744776d0

Database specific

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