Bug 2320426 (CVE-2024-50012) - CVE-2024-50012 kernel: cpufreq: Avoid a bad reference count on CPU node
Summary: CVE-2024-50012 kernel: cpufreq: Avoid a bad reference count on CPU node
Keywords:
Status: NEW
Alias: CVE-2024-50012
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2320762
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-21 19:01 UTC by OSIDB Bzimport
Modified: 2024-11-20 12:16 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-21 19:01:12 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.