CVE-2024-46737

nvmet-tcp: fix kernel crash if commands allocation fails

MEDIUM
5.5
CVSS Score
Published: September 18, 2024 at 07:11 AM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.8%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.0 ≤ v < 5.10.2265.0 ≤ v < 5.15.1675.0 ≤ v < 5.4.2845.0 ≤ v < 6.1.1105.0 ≤ v < 6.10.105.0 ≤ v < 6.115.0 ≤ v < 6.6.515.11 ≤ v < 5.15.1675.16 ≤ v < 6.1.1105.5 ≤ v < 5.10.2266.2 ≤ v < 6.6.516.7 ≤ v < 6.10.106.11 rc16.11 rc26.11 rc36.11 rc46.11 rc56.11 rc6872d26a391da92ed8f0c0f5cb5fef428067b7f30
Vendor states this is fixed in 03e1fd0327fa5e2174567f5fe9290fe21d21b8f4 (fixed)
Vendor states this is fixed in 489f2913a63f528cfe3f21722583fb981967ecda (fixed)
Vendor states this is fixed in 50632b877ce55356f5d276b9add289b1e7ddc683 (fixed)
Vendor states this is fixed in 5572a55a6f830ee3f3a994b6b962a5c327d28cb3 (fixed)
Vendor states this is fixed in 6c04d1e3ab22cc5394ef656429638a5947f87244 (fixed)
Vendor states this is fixed in 7957c731fc2b23312f8935812dee5a0b14b04e2d (fixed)
Vendor states this is fixed in 91dad30c5607e62864f888e735d0965567827bdf (fixed)
Vendor states this is fixed in 5.0 (unaffected)
Vendor states this is fixed in 5.10.226 (unaffected)
Vendor states this is fixed in 5.15.167 (unaffected)
Vendor states this is fixed in 5.4.284 (unaffected)
Vendor states this is fixed in 6.1.110 (unaffected)
Vendor states this is fixed in 6.10.10 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.51 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/03e1fd0327fa5e2174567f5fe9290fe21d21b8f4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/489f2913a63f528cfe3f21722583fb981967ecda
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/50632b877ce55356f5d276b9add289b1e7ddc683
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5572a55a6f830ee3f3a994b6b962a5c327d28cb3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6c04d1e3ab22cc5394ef656429638a5947f87244
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7957c731fc2b23312f8935812dee5a0b14b04e2d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/91dad30c5607e62864f888e735d0965567827bdf
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card