CVE-2024-45013
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.10.7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 3af755a46881c32fecaecfdeaf3a8f0a869deca5, 3af755a46881c32fecaecfdeaf3a8f0a869deca5 |
| Linux | Linux | 6.7, 0, 6.10.7 |
| linux | linux_kernel | 6.7, 6.7 |
| Linux | Linux | 3af755a46881c32fecaecfdeaf3a8f0a869deca5, 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