nvmet-tcp: fix kernel crash if commands allocation fails
CVE-2024-46737
What is CVE-2024-46737?
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.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
Linux 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 03e1fd0327fa5e2174567f5fe9290fe21d21b8f4
Linux 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 50632b877ce55356f5d276b9add289b1e7ddc683
Linux 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 91dad30c5607e62864f888e735d0965567827bdf
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved