CVE-2024-50159

Severity CVSS v4.0:
Pending analysis
Type:
CWE-415 Double Free
Publication date:
07/11/2024
Last modified:
19/11/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> firmware: arm_scmi: Fix the double free in scmi_debugfs_common_setup()<br /> <br /> Clang static checker(scan-build) throws below warning:<br /> | drivers/firmware/arm_scmi/driver.c:line 2915, column 2<br /> | Attempt to free released memory.<br /> <br /> When devm_add_action_or_reset() fails, scmi_debugfs_common_cleanup()<br /> will run twice which causes double free of &amp;#39;dbg-&gt;name&amp;#39;.<br /> <br /> Remove the redundant scmi_debugfs_common_cleanup() to fix this problem.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.3 (including) 6.6.59 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.11.6 (excluding)
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:*