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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < 03e1fd0327fa5e2174567f5fe9290fe21d21b8f4; >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < 50632b877ce55356f5d276b9add289b1e7ddc683; >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < 91dad30c5607e62864f888e735d0965567827bdf; >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < 7957c731fc2b23312f8935812dee5a0b14b04e2d; >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < 489f2913a63f528cfe3f21722583fb981967ecda; >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < 6c04d1e3ab22cc5394ef656429638a5947f87244; >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < 5572a55a6f830ee3f3a994b6b962a5c327d28cb3 |
| Linux | Linux | 5.0 |
References
- https://git.kernel.org/stable/c/03e1fd0327fa5e2174567f5fe9290fe21d21b8f4Patch
- https://git.kernel.org/stable/c/489f2913a63f528cfe3f21722583fb981967ecdaPatch
- https://git.kernel.org/stable/c/50632b877ce55356f5d276b9add289b1e7ddc683Patch
- https://git.kernel.org/stable/c/5572a55a6f830ee3f3a994b6b962a5c327d28cb3Patch
- https://git.kernel.org/stable/c/6c04d1e3ab22cc5394ef656429638a5947f87244Patch
- https://git.kernel.org/stable/c/7957c731fc2b23312f8935812dee5a0b14b04e2dPatch
- https://git.kernel.org/stable/c/91dad30c5607e62864f888e735d0965567827bdfPatch
- https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Timeline
- Published
- Sep 18, 2024
- Last modified
- Aug 4, 2026
- NVD status
- Modified