CVE-2024-27392CWE-415

CVE-2024-27392

High · published May 1, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
16.6
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

nvme: host: fix double-free of struct nvme_id_ns in ns_update_nuse()

When nvme_identify_ns() fails, it frees the pointer to the struct

nvme_id_ns before it returns. However, ns_update_nuse() calls kfree()

for the pointer even when nvme_identify_ns() fails. This results in

KASAN double-free, which was observed with blktests nvme/045 with

proposed patches [1] on the kernel v6.8-rc7. Fix the double-free by

skipping kfree() when nvme_identify_ns() fails.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00259 · 16.6th percentile
Weakness
CWE-415 · Double Free
Published
2024-05-01T17:15Z
Affected products (1)
ProductVersionsFixed in
linux/linux_kernel≥ 6.8, < 6.8.26.8.2
References (4)
EPSS history
Timeline
  • 01 MAY 13:05Z
    nvme: host: fix double-free of struct nvme_id_ns in ns_update_nuse()
    cvelistv5