LiveActive security incident?Get immediate response
CVE Record

CVE-2024-50159: firmware: arm_scmi: Fix the double free in scmi_debugfs_common_setup()

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.

HighCVSS 7Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A Linux ARM SCMI driver error can free the same memory twice during a failed debugfs setup. This may crash the kernel or potentially compromise system integrity and confidentiality. The published CVSS score is 7.0, but triggering requires local access, privileges, high complexity, and a specific failure path.

Executive priority

Treat this as a high-priority kernel maintenance issue for confirmed ARM SCMI deployments, especially critical infrastructure. It is not supported as an internet-wide emergency because the documented attack vector is local, complexity is high, and active exploitation is unconfirmed. Validate exposure before accelerating disruptive updates.

Technical view

If devm_add_action_or_reset() fails in scmi_debugfs_common_setup(), cleanup executes twice and double-frees dbg->name. The correction removes the redundant scmi_debugfs_common_cleanup() call. Clang scan-build identified the defect. The supplied version data names Linux 6.3, 6.6.59, 6.11.6, and 6.12, but does not clearly express complete affected ranges.

Likely exposure

Exposure appears limited to systems running affected Linux kernels with the ARM SCMI firmware driver and relevant debugfs setup path. The CVSS vector indicates a local, low-privileged attacker and high attack complexity. The bundle does not establish exposure on non-ARM systems, internet reachability, or reliable attacker control of the required failure.

Exploitation context

The supplied record is not in CISA KEV and provides no evidence of active or public exploitation. It describes a static-analysis finding in an uncommon error path. Although the CVSS assessment allows severe confidentiality, integrity, and availability impact, practical exploitability is not demonstrated by these sources.

Researcher notes

The vulnerable behavior depends on devm_add_action_or_reset() failing after cleanup registration causes an immediate reset action; an additional explicit cleanup then releases dbg->name again. The source bundle does not provide a CWE, proof of exploitation, complete version-range semantics, or distribution-specific package status. Use vendor backport information to determine remediation accurately.

Mitigation direction

  • Inventory ARM systems using the Linux SCMI firmware driver.
  • Compare installed kernels against vendor advisories and the linked stable fixes.
  • Upgrade to a vendor-supported kernel containing the applicable correction.
  • Restrict local access and unnecessary privileges until affected systems are updated.
  • Prioritize externally important or safety-sensitive ARM infrastructure.

Validation and detection

  • Record kernel versions and architectures across potentially exposed systems.
  • Confirm whether the ARM SCMI firmware driver is present or enabled.
  • Verify the installed kernel includes the applicable linked fix commit.
  • Review kernel logs for crashes or memory errors involving ARM SCMI setup.
  • Retest SCMI initialization after updating the kernel.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2024-50159 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7CVSS 3.1HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H15.9Linux

Vulnerability scoring details

Base CVSS 3.1 score

7High
CVSS 3.1 vector shape for CVE-2024-50159Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxc3d4aed763ce4a39f8ed36c7b7cd9a6a35971329, c3d4aed763ce4a39f8ed36c7b7cd9a6a35971329, c3d4aed763ce4a39f8ed36c7b7cd9a6a35971329unaffected
LinuxLinux6.3, 0, 6.6.59, 6.11.6, 6.12affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.