CVE-2024-46737

published 18 Sep 2024 · updated 5 Aug 2026

nvmet-tcp: fix kernel crash if commands allocation fails

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 03e1fd0327fa5e2174567f5fe9290fe21d21b8f4, Kernel 489f2913a63f528cfe3f21722583fb981967ecda, Kernel 50632b877ce55356f5d276b9add289b1e7ddc683 and 4 more.

In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: fix kernel crash if commands allocation fails If the commands allocation fails in nvmet_tcp_alloc_cmds() the kernel crashes in nvmet_tcp_release_queue_work() because of a NULL pointer dereference. nvmet: failed to install queue 0 cntlid 1 ret 6 Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008 Fix the bug by setting queue->nr_cmds to zero in case nvmet_tcp_alloc_cmd() fails.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.0, >=872d26a391da92ed8f0c0f5cb5fef428067b7f30 <03e1fd0327fa5e2174567f5fe9290fe21d21b8f4, >=872d26a391da92ed8f0c0f5cb5fef428067b7f30 <489f2913a63f528cfe3f21722583fb981967ecda, >=872d26a391da92ed8f0c0f5cb5fef428067b7f30 <50632b877ce55356f5d276b9add289b1e7ddc683, >=872d26a391da92ed8f0c0f5cb5fef428067b7f30 <5572a55a6f830ee3f3a994b6b962a5c327d28cb3, >=872d26a391da92ed8f0c0f5cb5fef428067b7f30 <6c04d1e3ab22cc5394ef656429638a5947f87244, >=872d26a391da92ed8f0c0f5cb5fef428067b7f30 <7957c731fc2b23312f8935812dee5a0b14b04e2d, >=872d26a391da92ed8f0c0f5cb5fef428067b7f30 <91dad30c5607e62864f888e735d0965567827bdf03e1fd0327fa5e2174567f5fe9290fe21d21b8f4, 489f2913a63f528cfe3f21722583fb981967ecda, 50632b877ce55356f5d276b9add289b1e7ddc683, 5572a55a6f830ee3f3a994b6b962a5c327d28cb3, 6c04d1e3ab22cc5394ef656429638a5947f87244, 7957c731fc2b23312f8935812dee5a0b14b04e2d, 91dad30c5607e62864f888e735d0965567827bdf

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-46737 severity on Zeptric[![CVE-2024-46737](https://zeptric.io/badge/cve/CVE-2024-46737.svg)](https://zeptric.io/cve/CVE-2024-46737)