All reports
Medium

kernel: nvmet-tcp: fix kernel crash if commands allocation fails

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-46737

Probability of exploitation in the next 30 days: 0.76%

FIRST EPSS · 2026-11-19

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.

A flaw was found in the nvmet-tcp component of the Linux kernel. This vulnerability occurs when the allocation of commands fails, leading to a NULL pointer dereference. A local attacker could exploit this flaw to trigger a kernel crash, resulting in a Denial of Service (DoS).