What’s Vulnerable › Vulnerabilities

CVE-2024-50012: cpufreq: Avoid a bad reference count on CPU node

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.10.14, 6.11.3, 6.6.55. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-50012 or the next vulnerability affects your stack