CVE-2024-50012

cpufreq: Avoid a bad reference count on CPU node

MEDIUM
5.5
CVSS Score
Published: October 21, 2024 at 06:54 PM UTC
Updated: June 17, 2026 at 08:03 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: cpufreq: Avoid a bad reference count on CPU node In the parse_perf_domain function, if the call to of_parse_phandle_with_args returns an error, then the reference to the CPU device node that was acquired at the start of the function would not be properly decremented. Address this by declaring the variable with the __free(device_node) cleanup attribute.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.6.555.15 ≤ v < 5.15.2095.15 ≤ v < 6.1.1165.15 ≤ v < 6.10.145.15 ≤ v < 6.11.35.15 ≤ v < 6.125.15 ≤ v < 6.6.556.11 ≤ v < 6.11.36.7 ≤ v < 6.10.145.158486a32dd484a7d7ec25295c7439094608f54915
Vendor states this is fixed in 0f41f383b5a61a2bf6429a449ebba7fb08179d81 (fixed)
Vendor states this is fixed in 2b846344b15f933a56903b7cdba9080f06c725ff (fixed)
Vendor states this is fixed in 47cb1d9278f179df8250304ec41009e3e836a926 (fixed)
Vendor states this is fixed in 6c3d8387839252f1a0fc6367f314446e4a2ebd0b (fixed)
Vendor states this is fixed in 77f88b17387a017416babf1e6488fa17682287e2 (fixed)
Vendor states this is fixed in c0f02536fffbbec71aced36d52a765f8c4493dc2 (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.15.209 (unaffected)
Vendor states this is fixed in 6.1.116 (unaffected)
Vendor states this is fixed in 6.10.14 (unaffected)
Vendor states this is fixed in 6.11.3 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.6.55 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card