{"id":"CVE-2024-49855","summary":"nbd: fix race between timeout and normal completion","details":"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-\u003elock is grabbed for clearing the flag and the\nrequeue.","modified":"2026-11-13T04:03:13.704451025Z","published":"2024-10-21T12:18:47.391Z","related":["SUSE-SU-2024:3984-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4315-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4376-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:01840-1","SUSE-SU-2025:01853-1","SUSE-SU-2025:01869-1","SUSE-SU-2025:01873-1","SUSE-SU-2025:01930-1","SUSE-SU-2025:01932-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","SUSE-SU-2025:20381-1","SUSE-SU-2025:20384-1","SUSE-SU-2025:20386-1","SUSE-SU-2025:20388-1","SUSE-SU-2025:20397-1","SUSE-SU-2025:20400-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49855.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5236ada8ebbd9e7461f17477357582f5be4f46f7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6e73b946a379a1dfbb62626af93843bdfb53753d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9a74c3e6c0d686c26ba2aab66d15ddb89dc139cc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9c25faf72d780a9c71081710cd48759d61ff6e9b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c9ea57c91f03bcad415e1a20113bdb2077bcf990"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49855.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49855"},{"type":"PACKAGE","url":"https://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":"cdf62c535a9bfd5ff0eef4b91669da39d8abc0c3"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5171ef20bae852ff38f4cfdb368bcdcc744776d0"}]}],"versions":["v5.17.15","v5.18.19","v5.18.18","v5.18.17","v5.18.16","v5.18.15","v5.18.14","v5.18.13","v5.18.12","v5.18.11","v5.18.10","v5.18.9","v5.18.8","v5.18.7","v5.18.6","v5.18.5","v5.18.4"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49855.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.17.15"},{"fixed":"5.18"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.18.4"},{"fixed":"5.19"}]},{"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/osv-test-cve-osv-conversion/osv-output/CVE-2024-49855.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}