In the Linux kernel, the following vulnerability has been resolved:
firmware: armscmi: Fix the double free in scmidebugfscommonsetup()
Clang static checker(scan-build) throws below warning: | drivers/firmware/arm_scmi/driver.c:line 2915, column 2 | Attempt to free released memory.
When devmaddactionorreset() fails, scmidebugfscommon_cleanup() will run twice which causes double free of 'dbg->name'.
Remove the redundant scmidebugfscommon_cleanup() to fix this problem.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50159.json"
}