CVE-2024-50012
5.5 MEDIUMIn the Linux kernel, the following vulnerability has been resolved: cpufreq: Avoid a bad reference count on CPU node In the parse_perf_...
Published: 2024-10-21 · Last updated: 2026-06-01
Severity and scoring
- CVSS
- 5.5 MEDIUM
- Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected products
| Vendor | Product |
|---|---|
| linux | linux_kernel |
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.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2024-50012
- [Patch]https://git.kernel.org/stable/c/0f41f383b5a61a2bf6429a449ebba7fb08179d81
- [Other]https://git.kernel.org/stable/c/2b846344b15f933a56903b7cdba9080f06c725ff
- [Patch]https://git.kernel.org/stable/c/47cb1d9278f179df8250304ec41009e3e836a926
- [Other]https://git.kernel.org/stable/c/6c3d8387839252f1a0fc6367f314446e4a2ebd0b
- [Patch]https://git.kernel.org/stable/c/77f88b17387a017416babf1e6488fa17682287e2
- [Patch]https://git.kernel.org/stable/c/c0f02536fffbbec71aced36d52a765f8c4493dc2
- [Other]https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Related CVEs
Same vendor
- CVE-2026-46273 — In the Linux kernel, the following vulnerability has been resolved: ibmveth: Disable GSO for packets with small MSS Some physical adapt... (8.6 HIGH)
- CVE-2026-46272 — In the Linux kernel, the following vulnerability has been resolved: coresight: tmc-etr: Fix race condition between sysfs and perf mode ... (4.7 MEDIUM)
- CVE-2026-46271 — In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: do WoW offloads only on primary link In case of multi... (7.8 HIGH)
- CVE-2026-46270 — In the Linux kernel, the following vulnerability has been resolved: power: supply: rt9455: Fix use-after-free in power_supply_changed() ... (8.4 HIGH)
- CVE-2026-46269 — In the Linux kernel, the following vulnerability has been resolved: pinctrl: canaan: k230: Fix NULL pointer dereference when parsing dev... (5.5 MEDIUM)