CVE-2024-46737 nvmet-tcp: fix kernel crash if commands allocation fails
A NULL pointer dereference in the Linux kernel's nvmet-tcp module causes a crash when command allocation fails, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-46737?
CVE-2024-46737 is a high-severity vulnerability in Linux kernel, published on 18 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-476
Which versions are affected by CVE-2024-46737?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-46737?
Apply the vendor's patch.
Is CVE-2024-46737 being exploited?
There is no known exploitation of CVE-2024-46737 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-49431, BELL-CVE-2024-46737, DEBIAN-CVE-2024-46737, GHSA-wfgh-48cf-2678, UBUNTU-CVE-2024-46737.