{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-49855","id":"CVE-2024-49855","title":"nbd: fix race between timeout and normal completion","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnbd: fix race between timeout and normal completion\n\nIf request timetout is handled by nbd_requeue_cmd(), normal completion\nhas to be stopped for avoiding to complete this requeued request, other\nuse-after-free can be triggered.\n\nFix the race by clearing NBD_CMD_INFLIGHT in nbd_requeue_cmd(), meantime\nmake sure that cmd->lock is ","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnbd: fix race between timeout and normal completion\n\nIf request timetout is handled by nbd_requeue_cmd(), normal completion\nhas to be stopped for avoiding to complete this requeued request, other\nuse-after-free can be triggered.\n\nFix the race by clearing NBD_CMD_INFLIGHT in nbd_requeue_cmd(), meantime\nmake sure that cmd->lock is grabbed for clearing the flag and the\nrequeue.","published":"2024-10-21T12:18:47.391Z","updated":"2026-11-17T07:01:46.196954501Z","reserved":"2024-10-21T12:17:06.016Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2895f1831e911ca87d4efdf43e35eb72a0c7e66e","lessThan":"9c25faf72d780a9c71081710cd48759d61ff6e9b","status":"affected","versionType":"git"},{"version":"2895f1831e911ca87d4efdf43e35eb72a0c7e66e","lessThan":"6e73b946a379a1dfbb62626af93843bdfb53753d","status":"affected","versionType":"git"},{"version":"2895f1831e911ca87d4efdf43e35eb72a0c7e66e","lessThan":"5236ada8ebbd9e7461f17477357582f5be4f46f7","status":"affected","versionType":"git"},{"version":"2895f1831e911ca87d4efdf43e35eb72a0c7e66e","lessThan":"9a74c3e6c0d686c26ba2aab66d15ddb89dc139cc","status":"affected","versionType":"git"},{"version":"2895f1831e911ca87d4efdf43e35eb72a0c7e66e","lessThan":"c9ea57c91f03bcad415e1a20113bdb2077bcf990","status":"affected","versionType":"git"},{"version":"cdf62c535a9bfd5ff0eef4b91669da39d8abc0c3","status":"affected","versionType":"git"},{"version":"5171ef20bae852ff38f4cfdb368bcdcc744776d0","status":"affected","versionType":"git"},{"version":"5.17.15","lessThan":"5.18","status":"affected","versionType":"semver"},{"version":"5.18.4","lessThan":"5.19","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","lessThan":"5.19","status":"unaffected","versionType":"semver"},{"version":"6.1.113","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.54","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.10.13","lessThanOrEqual":"6.10.*","status":"unaffected","versionType":"semver"},{"version":"6.11.2","lessThanOrEqual":"6.11.*","status":"unaffected","versionType":"semver"},{"version":"6.12","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/9c25faf72d780a9c71081710cd48759d61ff6e9b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6e73b946a379a1dfbb62626af93843bdfb53753d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5236ada8ebbd9e7461f17477357582f5be4f46f7","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9a74c3e6c0d686c26ba2aab66d15ddb89dc139cc","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c9ea57c91f03bcad415e1a20113bdb2077bcf990","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49855.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49855","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00467,"epssPercentile":0.41207,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-49855","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49855","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-49855","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-49855","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}