CVE-2024-50012: cpufreq: Avoid a bad reference count on CPU node
cpufreq: Avoid a bad reference count on CPU node
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1 - Upgrade
Upgrade
debian/linux-6.1to a version that resolves this vulnerability.Fixed in 6.1.129-1~deb11u1 - Configuration
Declare the CPU device node variable with the __free(device_node) cleanup attribute so its reference is properly decremented when of_parse_phandle_with_args returns an error.
Linux kernel cpufreq parse_perf_domain function CPU device node variable declaration = __free(device_node) cleanup attribute
Event History
Frequently Asked Questions
What is the severity of CVE-2024-50012?
The severity of CVE-2024-50012 is considered to be moderate due to potential reference count issues in the Linux kernel.
How do I fix CVE-2024-50012?
To fix CVE-2024-50012, update your Linux kernel to a version that is greater than 6.10.14, less than 6.7, or between 6.11 and 6.11.3.
What are the affected versions for CVE-2024-50012?
The affected versions for CVE-2024-50012 include Linux kernel versions up to 6.6.55 as well as versions 6.10.14 and 6.11.3.
What component is impacted by CVE-2024-50012?
CVE-2024-50012 impacts the cpufreq component in the Linux kernel related to CPU node reference counting.
Is CVE-2024-50012 exploit mitigated?
There are currently no details available on mitigations for CVE-2024-50012, making updates to the kernel the primary recommendation.