CVE-2024-45013

MEDIUM

Linux Kernel 6.7-6.10.6 - Use-After-Free in NVMe Controller Keep-Alive Handling

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: nvme: move stopping keep-alive into nvme_uninit_ctrl() Commit 4733b65d82bd ("nvme: start keep-alive after admin queue setup") moves starting keep-alive from nvme_start_ctrl() into nvme_init_ctrl_finish(), but don't move stopping keep-alive into nvme_uninit_ctrl(), so keep-alive work can be started and keep pending after failing to start controller, finally use-after-free is triggered if nvme host driver is unloaded. This patch fixes kernel panic when running nvme/004 in case that connection failure is triggered, by moving stopping keep-alive into nvme_uninit_ctrl(). This way is reasonable because keep-alive is now started in nvme_init_ctrl_finish().

Scores

CVSS v3 5.5
EPSS 0.0018
EPSS Percentile 7.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-416
Status published
Products (9)
linux/Kernel 6.7.0 - 6.10.7linux
Linux/Linux < 6.7
Linux/Linux 3af755a46881c32fecaecfdeaf3a8f0a869deca5 - 4101af98ab573554c4225e328d506fec2a74bc54
Linux/Linux 3af755a46881c32fecaecfdeaf3a8f0a869deca5 - a54a93d0e3599b05856971734e15418ac551a14c
Linux/Linux 6.10.7 - 6.10.*
Linux/Linux 6.11
Linux/Linux 6.7
linux/linux_kernel 6.11 rc1 (4 CPE variants)
linux/linux_kernel 6.7 - 6.10.7
Published Sep 11, 2024
Tracked Since Feb 18, 2026