CVE-2024-45013
MEDIUM EPSS 7.7%
Published Sep 11, 20241y ago · Modified Jun 17, 20261w ago
5.5 CVSS 3.1
Published Sep 11, 2024 1y ago
Last Modified Jun 17, 2026 1w ago
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().
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High
Threat Intelligence
EPSS Exploit Probability
7.7% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 1
CWE-416 Use After Free Memory Safety
Affected Products 5
References 2
- git.kernel.org https://git.kernel.org/stable/c/4101af98ab573554c4225e328d506fec2a74bc54
- git.kernel.org https://git.kernel.org/stable/c/a54a93d0e3599b05856971734e15418ac551a14c
Remediation
- git.kernel.org https://git.kernel.org/stable/c/4101af98ab573554c4225e328d506fec2a74bc54
- git.kernel.org https://git.kernel.org/stable/c/a54a93d0e3599b05856971734e15418ac551a14c