cpufreq: Avoid a bad reference count on CPU node
Vulnerability 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.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-50012
Credits & Attribution
No credits recorded in the NVD database.
References
- https://git.kernel.org/stable/c/2b846344b15f933a56903b7cdba9080f06c725ff
- https://git.kernel.org/stable/c/6c3d8387839252f1a0fc6367f314446e4a2ebd0b
- https://git.kernel.org/stable/c/0f41f383b5a61a2bf6429a449ebba7fb08179d81
- https://git.kernel.org/stable/c/77f88b17387a017416babf1e6488fa17682287e2
- https://git.kernel.org/stable/c/47cb1d9278f179df8250304ec41009e3e836a926
- https://git.kernel.org/stable/c/c0f02536fffbbec71aced36d52a765f8c4493dc2
More from Linux
View All →Affected Vendor
Linux
View all reports →Affected Software
Timeline
CVSS Vectors
Weaknesses (CWE)
No CWE data available
MITRE ATT&CK TTPs
No associated TTPs found for this vulnerability.