CVE-2024-45013
Severity CVSS v4.0:
Pending analysis
Type:
CWE-416
Use After Free
Publication date:
11/09/2024
Last modified:
13/09/2024
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
nvme: move stopping keep-alive into nvme_uninit_ctrl()<br />
<br />
Commit 4733b65d82bd ("nvme: start keep-alive after admin queue setup")<br />
moves starting keep-alive from nvme_start_ctrl() into<br />
nvme_init_ctrl_finish(), but don&#39;t move stopping keep-alive into<br />
nvme_uninit_ctrl(), so keep-alive work can be started and keep pending<br />
after failing to start controller, finally use-after-free is triggered if<br />
nvme host driver is unloaded.<br />
<br />
This patch fixes kernel panic when running nvme/004 in case that connection<br />
failure is triggered, by moving stopping keep-alive into nvme_uninit_ctrl().<br />
<br />
This way is reasonable because keep-alive is now started in<br />
nvme_init_ctrl_finish().
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.10.7 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.11:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.11:rc4:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



