CVE-2024-46737

Source
https://cve.org/CVERecord?id=CVE-2024-46737
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46737.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-46737
Downstream
Related
Published
2024-09-18T07:11:59.300Z
Modified
2026-05-28T03:54:18.288125472Z
Summary
nvmet-tcp: fix kernel crash if commands allocation fails
Details

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 nvmettcpalloccmds() the kernel crashes in nvmettcpreleasequeue_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->nrcmds to zero in case nvmettcpalloccmd() fails.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46737.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
872d26a391da92ed8f0c0f5cb5fef428067b7f30
Fixed
03e1fd0327fa5e2174567f5fe9290fe21d21b8f4
Fixed
50632b877ce55356f5d276b9add289b1e7ddc683
Fixed
91dad30c5607e62864f888e735d0965567827bdf
Fixed
7957c731fc2b23312f8935812dee5a0b14b04e2d
Fixed
489f2913a63f528cfe3f21722583fb981967ecda
Fixed
6c04d1e3ab22cc5394ef656429638a5947f87244
Fixed
5572a55a6f830ee3f3a994b6b962a5c327d28cb3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46737.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.0.0
Fixed
5.4.284
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.226
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.167
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.110
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.51
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.10.10

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46737.json"