CVE-2024-50159

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-50159
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50159.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-50159
Downstream
Related
Published
2024-11-07T09:31:36.167Z
Modified
2025-11-28T02:34:06.660053Z
Summary
firmware: arm_scmi: Fix the double free in scmi_debugfs_common_setup()
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50159.json"
}
References

Affected packages

Git / 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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.3.0
Fixed
6.6.59
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.11.6