CVE-2024-45013
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-45013 affects the Linux kernel's NVMe driver. The vulnerability was introduced when commit 4733b65d82bd moved the keep-alive start functionality from nvme_start_ctrl() to nvme_init_ctrl_finish() without moving the corresponding stop functionality to nvme_uninit_ctrl(). This oversight allows the keep-alive work to remain pending after controller startup failures, potentially leading to a use-after-free condition when the NVMe host driver is unloaded (Kernel Patch).

Technical details

The vulnerability stems from improper synchronization of keep-alive functionality in the NVMe driver. The issue occurs because the keep-alive stop operation remains in nvme_stop_ctrl() while the start operation was moved to nvme_init_ctrl_finish(). This mismatch in initialization and cleanup locations can result in a use-after-free vulnerability when the controller fails to start properly and the driver is subsequently unloaded. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (MEDIUM) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, this vulnerability can trigger a kernel panic during NVMe device operations, specifically when connection failures occur during the nvme/004 test. This represents a significant reliability issue as it can lead to system crashes and potential denial of service conditions (Kernel Patch).

Mitigation and workarounds

The issue has been fixed by moving the nvme_stop_keep_alive() function call into nvme_uninit_ctrl(), ensuring proper cleanup synchronization with the initialization in nvme_init_ctrl_finish(). The fix has been implemented in the kernel patch and is available in updated kernel versions (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-realtime
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • linux-oracle
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-realtime
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel
NoYesJan 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management