CVE
CVE-2024-49855
CNA 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 versions
All Linux kernel vulnerabilities →
- ≥ 6.11, < 6.11.2Fixed in 6.11.2
- ≥ 6.7, < 6.10.13Fixed in 6.10.13
- ≥ 6.2, < 6.6.54Fixed in 6.6.54
- ≥ 5.19, < 6.1.113Fixed in 6.1.113
- ≥ 5.18.4, < 5.19Fixed in 5.19
- 5.17.15This version only
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/5236ada8ebbd9e7461f17477357582f5be4f46f7 · Patch
- git.kernel.org/stable/c/6e73b946a379a1dfbb62626af93843bdfb53753d · Patch
- git.kernel.org/stable/c/9a74c3e6c0d686c26ba2aab66d15ddb89dc139cc · Patch
- git.kernel.org/stable/c/9c25faf72d780a9c71081710cd48759d61ff6e9b · Patch
- git.kernel.org/stable/c/c9ea57c91f03bcad415e1a20113bdb2077bcf990 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.