cpufreq: Avoid a bad reference count on CPU node
Summary
| CVE | CVE-2024-50012 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-10-21 19:15:04 UTC |
| Updated | 2026-06-01 17:16:30 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: NVD-CWE-Other
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 8486a32dd484a7d7ec25295c7439094608f54915 2b846344b15f933a56903b7cdba9080f06c725ff git | Not specified |
| CNA | Linux | Linux | affected 8486a32dd484a7d7ec25295c7439094608f54915 6c3d8387839252f1a0fc6367f314446e4a2ebd0b git | Not specified |
| CNA | Linux | Linux | affected 8486a32dd484a7d7ec25295c7439094608f54915 0f41f383b5a61a2bf6429a449ebba7fb08179d81 git | Not specified |
| CNA | Linux | Linux | affected 8486a32dd484a7d7ec25295c7439094608f54915 77f88b17387a017416babf1e6488fa17682287e2 git | Not specified |
| CNA | Linux | Linux | affected 8486a32dd484a7d7ec25295c7439094608f54915 47cb1d9278f179df8250304ec41009e3e836a926 git | Not specified |
| CNA | Linux | Linux | affected 8486a32dd484a7d7ec25295c7439094608f54915 c0f02536fffbbec71aced36d52a765f8c4493dc2 git | Not specified |
| CNA | Linux | Linux | affected 5.15 | Not specified |
| CNA | Linux | Linux | unaffected 5.15 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.209 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.116 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.55 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.10.14 6.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.11.3 6.11.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/77f88b17387a017416babf1e6488fa17682287e2 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/0f41f383b5a61a2bf6429a449ebba7fb08179d81 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/2b846344b15f933a56903b7cdba9080f06c725ff | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/47cb1d9278f179df8250304ec41009e3e836a926 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/c0f02536fffbbec71aced36d52a765f8c4493dc2 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2025/01/msg00001.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| git.kernel.org/stable/c/6c3d8387839252f1a0fc6367f314446e4a2ebd0b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.