Double Free in Linux
CVE-2024-50159
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.
Vulnerability class: Double Free
EPSS: 0.002 (14.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Linux — versions c3d4aed763ce4a39f8ed36c7b7cd9a6a35971329, 6.3, 0
- Linux Linux_kernel — versions 6.12
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2024-50159?
- CVE-2024-50159 is a high-severity vulnerability in Linux, classified under Double Free. CVSS score: 7.0/10. Published 2024-11-07.
- How severe is CVE-2024-50159?
- High severity. CVSS v3 base score is 7.0 out of 10.