CVE-2024-50012

cpufreq: Avoid a bad reference count on CPU node

published October 21, 2024

CVSS
—
EPSS
0%
Percentile
13.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00231 · 13.1th percentile
Published
2024-10-21T18:54Z
EPSS history
Timeline
  • 21 OCT 18:54Z
    cpufreq: Avoid a bad reference count on CPU node
    cvelistv5