Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2024-46737

nvmet-tcp: fix kernel crash if commands allocation fails

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 03e1fd0327fa5e2174567f5fe9290fe21d21b8f4affected
  • 872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 50632b877ce55356f5d276b9add289b1e7ddc683affected
  • 872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 91dad30c5607e62864f888e735d0965567827bdfaffected
  • 872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 7957c731fc2b23312f8935812dee5a0b14b04e2daffected
  • 872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 489f2913a63f528cfe3f21722583fb981967ecdaaffected
  • 872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 6c04d1e3ab22cc5394ef656429638a5947f87244affected
  • 872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 5572a55a6f830ee3f3a994b6b962a5c327d28cb3affected

Linux Linux

Default version status: affected

  • 5.0affected
  • 0 to < 5.0unaffected
  • 5.4.284 to ≤ 5.4.*unaffected
  • 5.10.226 to ≤ 5.10.*unaffected
  • 5.15.167 to ≤ 5.15.*unaffected
  • 6.1.110 to ≤ 6.1.*unaffected
  • 6.6.51 to ≤ 6.6.*unaffected
  • 6.10.10 to ≤ 6.10.*unaffected
  • 6.11 to ≤ *unaffected

References