CVE-2024-27392
Severity CVSS v4.0:
Pending analysis
Type:
CWE-415
Double Free
Publication date:
01/05/2024
Last modified:
26/12/2024
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
nvme: host: fix double-free of struct nvme_id_ns in ns_update_nuse()<br />
<br />
When nvme_identify_ns() fails, it frees the pointer to the struct<br />
nvme_id_ns before it returns. However, ns_update_nuse() calls kfree()<br />
for the pointer even when nvme_identify_ns() fails. This results in<br />
KASAN double-free, which was observed with blktests nvme/045 with<br />
proposed patches [1] on the kernel v6.8-rc7. Fix the double-free by<br />
skipping kfree() when nvme_identify_ns() fails.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.8 (including) | 6.8.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



