VDB

CVE-2024-45013

CVE-2024-45013 PUBLISHED CVSS 9.8 CRITICAL

nvme: move stopping keep-alive into nvme_uninit_ctrl()

Reported by linux · Published September 11, 2024

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().

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.10.7

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux3af755a46881c32fecaecfdeaf3a8f0a869deca5, 3af755a46881c32fecaecfdeaf3a8f0a869deca5
LinuxLinux6.7, 0, 6.10.7
linuxlinux_kernel6.7, 6.7
LinuxLinux3af755a46881c32fecaecfdeaf3a8f0a869deca5, 3af755a46881c32fecaecfdeaf3a8f0a869deca5, 6.7

Timeline

  • Sep 11, 2024 CVE Published
  • Sep 12, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (7 in total, the first dated here)
  • Jan 5, 2026 Security Advisory (68 in total, the first dated here)
  • Feb 16, 2026 CVE Updated
  • Mar 30, 2026 Distribution Patch (48 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-45013
vulnetix vdb fixes CVE-2024-45013

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-45013/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›