CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2024-46737: nvmet-tcp: fix kernel crash if commands allocation fails

5.5 CVSS

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.

Classification

CVE ID: CVE-2024-46737

CVSS Base Severity: MEDIUM

CVSS Base Score: 5.5

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.06% (probability of being exploited)

EPSS Percentile: 17.23% (scored less or equal to compared to others)

EPSS Date: 2025-06-02 (when was this score calculated)

Stakeholder-Specific Vulnerability Categorization (SSVC)

SSVC Exploitation: none

SSVC Technical Impact: partial

SSVC Automatable: false

References

https://nvd.nist.gov/vuln/detail/CVE-2024-46737
https://git.kernel.org/stable/c/03e1fd0327fa5e2174567f5fe9290fe21d21b8f4
https://git.kernel.org/stable/c/50632b877ce55356f5d276b9add289b1e7ddc683
https://git.kernel.org/stable/c/91dad30c5607e62864f888e735d0965567827bdf
https://git.kernel.org/stable/c/7957c731fc2b23312f8935812dee5a0b14b04e2d
https://git.kernel.org/stable/c/489f2913a63f528cfe3f21722583fb981967ecda
https://git.kernel.org/stable/c/6c04d1e3ab22cc5394ef656429638a5947f87244
https://git.kernel.org/stable/c/5572a55a6f830ee3f3a994b6b962a5c327d28cb3

Timeline