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-03-20T12:37:51.780764Z
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
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46737.json",
    "cna_assigner": "Linux"
}
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"