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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.94% (percentile 60, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-09-18T07:11:59.300Z
- **Modified:** 2026-08-05T11:38:13.852Z

## Who should check

- Anyone running Linux \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 03e1fd0327fa5e2174567f5fe9290fe21d21b8f4; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 50632b877ce55356f5d276b9add289b1e7ddc683; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 91dad30c5607e62864f888e735d0965567827bdf; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 7957c731fc2b23312f8935812dee5a0b14b04e2d; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 489f2913a63f528cfe3f21722583fb981967ecda; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 6c04d1e3ab22cc5394ef656429638a5947f87244; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 5572a55a6f830ee3f3a994b6b962a5c327d28cb3
- Anyone running Linux 5.0

## 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 and fixed versions

- Linux: \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 03e1fd0327fa5e2174567f5fe9290fe21d21b8f4; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 50632b877ce55356f5d276b9add289b1e7ddc683; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 91dad30c5607e62864f888e735d0965567827bdf; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 7957c731fc2b23312f8935812dee5a0b14b04e2d; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 489f2913a63f528cfe3f21722583fb981967ecda; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 6c04d1e3ab22cc5394ef656429638a5947f87244; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 5572a55a6f830ee3f3a994b6b962a5c327d28cb3 (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

- Upgrade Linux to 5572a55a6f830ee3f3a994b6b962a5c327d28cb3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-46737. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-46737.md
Affected: Linux >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < 03e1fd0327fa5e2174567f5fe9290fe21d21b8f4; >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < 50632b877ce55356f5d276b9add289b1e7ddc683; >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < 91dad30c5607e62864f888e735d0965567827bdf; >= 872d26a391da92ed8f0c0f5…
Fixed in: Linux 03e1fd0327fa5e2174567f5fe9290fe21d21b8f4, Linux 50632b877ce55356f5d276b9add289b1e7ddc683, Linux 91dad30c5607e62864f888e735d0965567827bdf, Linux 7957c731fc2b23312f8935812dee5a0b14b04e2d, Linux 489f2913a63f528cfe3f21722583fb981967ecda, Linux 6c04d1e3ab22cc5394ef656429638a5947f87244, Linux 5572a…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-46737 being exploited?

There is no confirmed exploitation: CVE-2024-46737 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.94% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-46737?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-46737?

Linux \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 03e1fd0327fa5e2174567f5fe9290fe21d21b8f4; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 50632b877ce55356f5d276b9add289b1e7ddc683; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 91dad30c5607e62864f888e735d0965567827bdf; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 7957c731fc2b23312f8935812dee5a0b14b04e2d; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 489f2913a63f528cfe3f21722583fb981967ecda; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 6c04d1e3ab22cc5394ef656429638a5947f87244; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 5572a55a6f830ee3f3a994b6b962a5c327d28cb3; Linux 5.0.

### Is there a fix for CVE-2024-46737?

Yes. Fixed in Linux 03e1fd0327fa5e2174567f5fe9290fe21d21b8f4, Linux 50632b877ce55356f5d276b9add289b1e7ddc683, Linux 91dad30c5607e62864f888e735d0965567827bdf, Linux 7957c731fc2b23312f8935812dee5a0b14b04e2d, Linux 489f2913a63f528cfe3f21722583fb981967ecda, Linux 6c04d1e3ab22cc5394ef656429638a5947f87244, Linux 5572a55a6f830ee3f3a994b6b962a5c327d28cb3. Upgrade Linux to 5572a55a6f830ee3f3a994b6b962a5c327d28cb3 or later.

### How do I check if I'm affected by CVE-2024-46737?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/03e1fd0327fa5e2174567f5fe9290fe21d21b8f4>
- patch: <https://git.kernel.org/stable/c/50632b877ce55356f5d276b9add289b1e7ddc683>
- patch: <https://git.kernel.org/stable/c/91dad30c5607e62864f888e735d0965567827bdf>
- patch: <https://git.kernel.org/stable/c/7957c731fc2b23312f8935812dee5a0b14b04e2d>
- patch: <https://git.kernel.org/stable/c/489f2913a63f528cfe3f21722583fb981967ecda>
- patch: <https://git.kernel.org/stable/c/6c04d1e3ab22cc5394ef656429638a5947f87244>
- patch: <https://git.kernel.org/stable/c/5572a55a6f830ee3f3a994b6b962a5c327d28cb3>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-46737>

HTML: <https://flawdb.com/CVE-2024-46737> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-46737>
