{"id":"CVE-2024-27392","published":"2024-05-01T13:05:20Z","modified":"2026-08-05T11:29:25Z","title":"nvme: host: fix double-free of struct nvme_id_ns in ns_update_nuse()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme: host: fix double-free of struct nvme_id_ns in ns_update_nuse()\n\nWhen nvme_identify_ns() fails, it frees the pointer to the struct\nnvme_id_ns before it returns. However, ns_update_nuse() calls kfree()\nfor the pointer even when nvme_identify_ns() fails. This results in\nKASAN double-free, which was observed with blktests nvme/045 with\nproposed patches [1] on the kernel v6.8-rc7. Fix the double-free by\nskipping kfree() when nvme_identify_ns() fails.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00307,"percentile":0.16036,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/534f9dc7fe495b3f9cc84363898ac50c5a25fccb","tags":[]},{"url":"https://git.kernel.org/stable/c/8d0d2447394b13fb22a069f0330f9c49b7fff9d3","tags":[]}],"priority":{"score":8.7,"factors":[{"name":"EPSS percentile","points":3.21},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= a1a825ab6a60380240ca136596732fdb80bad87a, < 534f9dc7fe495b3f9cc84363898ac50c5a25fccb",">= a1a825ab6a60380240ca136596732fdb80bad87a, < 8d0d2447394b13fb22a069f0330f9c49b7fff9d3"]},{"vendor":"Linux","product":"Linux","versions":["6.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T15:43:42.735445Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-24596","exploited":false,"provenance":"source"}}