CVE-2024-50159

published 7 Nov 2024 · updated 5 Aug 2026

firmware: arm_scmi: Fix the double free in scmi_debugfs_common_setup()

7.0HighCVSS 7.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 39b13dce1a91cdfc3bec9238f9e89094551bd428, Kernel 6d91d07913aee90556362d648d6a28a1eda419dc and Kernel fb324fdaf546bf14bc4c17e0037bca6cb952b121.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.3, >=c3d4aed763ce4a39f8ed36c7b7cd9a6a35971329 <39b13dce1a91cdfc3bec9238f9e89094551bd428, >=c3d4aed763ce4a39f8ed36c7b7cd9a6a35971329 <6d91d07913aee90556362d648d6a28a1eda419dc, >=c3d4aed763ce4a39f8ed36c7b7cd9a6a35971329 <fb324fdaf546bf14bc4c17e0037bca6cb952b12139b13dce1a91cdfc3bec9238f9e89094551bd428, 6d91d07913aee90556362d648d6a28a1eda419dc, fb324fdaf546bf14bc4c17e0037bca6cb952b121

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-50159 severity on Zeptric[![CVE-2024-50159](https://zeptric.io/badge/cve/CVE-2024-50159.svg)](https://zeptric.io/cve/CVE-2024-50159)