{"id":"CVE-2024-50159","summary":"firmware: arm_scmi: Fix the double free in scmi_debugfs_common_setup()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: arm_scmi: Fix the double free in scmi_debugfs_common_setup()\n\nClang static checker(scan-build) throws below warning：\n  |  drivers/firmware/arm_scmi/driver.c:line 2915, column 2\n  |        Attempt to free released memory.\n\nWhen devm_add_action_or_reset() fails, scmi_debugfs_common_cleanup()\nwill run twice which causes double free of 'dbg-\u003ename'.\n\nRemove the redundant scmi_debugfs_common_cleanup() to fix this problem.","modified":"2026-04-02T12:21:18.633150Z","published":"2024-11-07T09:31:36.167Z","related":["MGASA-2024-0368","MGASA-2024-0369","SUSE-SU-2024:4314-1","SUSE-SU-2024:4316-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50159.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/39b13dce1a91cdfc3bec9238f9e89094551bd428"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6d91d07913aee90556362d648d6a28a1eda419dc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fb324fdaf546bf14bc4c17e0037bca6cb952b121"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50159.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50159"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c3d4aed763ce4a39f8ed36c7b7cd9a6a35971329"},{"fixed":"6d91d07913aee90556362d648d6a28a1eda419dc"},{"fixed":"fb324fdaf546bf14bc4c17e0037bca6cb952b121"},{"fixed":"39b13dce1a91cdfc3bec9238f9e89094551bd428"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50159.json"}}],"schema_version":"1.7.5"}