Review reviewHigh

CVE-2024-50159

Linux Linux, linux kernel

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.

CVSS
7.8
EPSS
-
- percentile
CISA KEV
Not listed
Published
2024.11.07
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability-
Technical severityCVSS 7.8

Vulnerability overview

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 product and versions

Product
Linux Linux, linux kernel
Affected versions
>= c3d4aed763ce4a39f8ed36c7b7cd9a6a35971329 < 6d91d07913aee90556362d648d6a28a1eda419dc, >= c3d4aed763ce4a39f8ed36c7b7cd9a6a35971329 < fb324fdaf546bf14bc4c17e0037bca6cb952b121, >= c3d4aed763ce4a39f8ed36c7b7cd9a6a35971329 < 39b13dce1a91cdfc3bec9238f9e89094551bd428, >= 6.3, >= 6.3 < 6.6.59, >= 6.7 < 6.11.6, 6.12
Fixed versions
6.6.59, 6.11.6

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-415
CVE-2024-50159 — Linux Linux, linux kernel | SECUFOCUS NOW