PT-2024-3377 · Linux+2 · Linux Kernel+2

Shinichiro Kawasaki

·

Published

2024-03-06

·

Updated

2024-12-26

·

CVE-2024-27392

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: Linux kernel versions prior to 6.8-rc7
Description: The issue is related to a double-free vulnerability in the ns update nuse() function, which can lead to a denial of service. When nvme identify ns() fails, it frees the pointer to the struct nvme id ns before returning. However, ns update nuse() calls kfree() for the pointer even when nvme identify ns() fails, resulting in a KASAN double-free error. This was observed with blktests nvme/045 and proposed patches on kernel v6.8-rc7. The vulnerability can be exploited to cause a denial of service.
Recommendations: To resolve the issue, update the Linux kernel to a version that includes the fix for the double-free vulnerability in ns update nuse(). As a temporary workaround, consider disabling the ns update nuse() function until a patch is available. Restrict access to the vulnerable nvme module to minimize the risk of exploitation. Avoid using the nvme identify ns() function in the affected kernel versions until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Double Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2024-03649
CVE-2024-27392
USN-6816-1
USN-6817-1
USN-6817-2
USN-6817-3
USN-6878-1

Affected Products

Linuxmint
Linux Kernel
Ubuntu