{"id":"CVE-2024-46737","summary":"nvmet-tcp: fix kernel crash if commands allocation fails","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-tcp: fix kernel crash if commands allocation fails\n\nIf the commands allocation fails in nvmet_tcp_alloc_cmds()\nthe kernel crashes in nvmet_tcp_release_queue_work() because of\na NULL pointer dereference.\n\n  nvmet: failed to install queue 0 cntlid 1 ret 6\n  Unable to handle kernel NULL pointer dereference at\n         virtual address 0000000000000008\n\nFix the bug by setting queue-\u003enr_cmds to zero in case\nnvmet_tcp_alloc_cmd() fails.","modified":"2026-04-16T04:36:08.851116994Z","published":"2024-09-18T07:11:59.300Z","related":["SUSE-SU-2024:3551-1","SUSE-SU-2024:3553-1","SUSE-SU-2024:3559-1","SUSE-SU-2024:3561-1","SUSE-SU-2024:3564-1","SUSE-SU-2024:3566-1","SUSE-SU-2024:3569-1","SUSE-SU-2024:3587-1","SUSE-SU-2024:3591-1","SUSE-SU-2024:3592-1","SUSE-SU-2025:20073-1","SUSE-SU-2025:20077-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46737.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/03e1fd0327fa5e2174567f5fe9290fe21d21b8f4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/489f2913a63f528cfe3f21722583fb981967ecda"},{"type":"WEB","url":"https://git.kernel.org/stable/c/50632b877ce55356f5d276b9add289b1e7ddc683"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5572a55a6f830ee3f3a994b6b962a5c327d28cb3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6c04d1e3ab22cc5394ef656429638a5947f87244"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7957c731fc2b23312f8935812dee5a0b14b04e2d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/91dad30c5607e62864f888e735d0965567827bdf"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html"},{"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/46xxx/CVE-2024-46737.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46737"},{"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":"872d26a391da92ed8f0c0f5cb5fef428067b7f30"},{"fixed":"03e1fd0327fa5e2174567f5fe9290fe21d21b8f4"},{"fixed":"50632b877ce55356f5d276b9add289b1e7ddc683"},{"fixed":"91dad30c5607e62864f888e735d0965567827bdf"},{"fixed":"7957c731fc2b23312f8935812dee5a0b14b04e2d"},{"fixed":"489f2913a63f528cfe3f21722583fb981967ecda"},{"fixed":"6c04d1e3ab22cc5394ef656429638a5947f87244"},{"fixed":"5572a55a6f830ee3f3a994b6b962a5c327d28cb3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46737.json"}}],"schema_version":"1.7.5"}