CVE-2024-50012

published 21 Oct 2024 · updated 12 Aug 2026

cpufreq: Avoid a bad reference count on CPU node

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0f41f383b5a61a2bf6429a449ebba7fb08179d81, Kernel 2b846344b15f933a56903b7cdba9080f06c725ff, Kernel 47cb1d9278f179df8250304ec41009e3e836a926 and 3 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.15, >=8486a32dd484a7d7ec25295c7439094608f54915 <0f41f383b5a61a2bf6429a449ebba7fb08179d81, >=8486a32dd484a7d7ec25295c7439094608f54915 <2b846344b15f933a56903b7cdba9080f06c725ff, >=8486a32dd484a7d7ec25295c7439094608f54915 <47cb1d9278f179df8250304ec41009e3e836a926, >=8486a32dd484a7d7ec25295c7439094608f54915 <6c3d8387839252f1a0fc6367f314446e4a2ebd0b, >=8486a32dd484a7d7ec25295c7439094608f54915 <77f88b17387a017416babf1e6488fa17682287e2, >=8486a32dd484a7d7ec25295c7439094608f54915 <c0f02536fffbbec71aced36d52a765f8c4493dc20f41f383b5a61a2bf6429a449ebba7fb08179d81, 2b846344b15f933a56903b7cdba9080f06c725ff, 47cb1d9278f179df8250304ec41009e3e836a926, 6c3d8387839252f1a0fc6367f314446e4a2ebd0b, 77f88b17387a017416babf1e6488fa17682287e2, c0f02536fffbbec71aced36d52a765f8c4493dc2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-50012 severity on Zeptric[![CVE-2024-50012](https://zeptric.io/badge/cve/CVE-2024-50012.svg)](https://zeptric.io/cve/CVE-2024-50012)