CVEvulnerability
CVE-2024-50012
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-10-21
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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 configurations
• linux linux kernel (< 6.6.55)
• linux linux kernel (>= 6.7 < 6.10.14)
• linux linux kernel (>= 6.11 < 6.11.3)
References
- https://git.kernel.org/stable/c/0f41f383b5a61a2bf6429a449ebba7fb08179d81 Patch
- https://git.kernel.org/stable/c/2b846344b15f933a56903b7cdba9080f06c725ff git.kernel.org
- https://git.kernel.org/stable/c/47cb1d9278f179df8250304ec41009e3e836a926 Patch
- https://git.kernel.org/stable/c/6c3d8387839252f1a0fc6367f314446e4a2ebd0b git.kernel.org
- https://git.kernel.org/stable/c/77f88b17387a017416babf1e6488fa17682287e2 Patch
- https://git.kernel.org/stable/c/c0f02536fffbbec71aced36d52a765f8c4493dc2 Patch
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org