Refcount Leak Bug in cpufreq: pmac32-cpufreq

Kernel Updated 02 Oct 2025

Summary

31/07/2022
N/A
No i
Unrated
Not published

GSD-2022-1004791: cpufreq: pmac32-cpufreq: Fix refcount leak bug. Affects Kernel versions < 4585890ab2dbf455d80e254d3d859d4c1e357920. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The cpufreq package is a component of the Linux Kernel that manages the frequency scaling of CPUs. It allows the system to dynamically adjust the CPU frequency based on workload, optimizing power consumption and performance. The pmac32-cpufreq module is specifically designed for PowerPC-based Macintosh systems. This module is responsible for controlling the CPU frequency on these machines. However, a refcount leak bug has been discovered in the pmac32-cpufreq module, which can lead to potential security vulnerabilities.

Vulnerability Detail

The refcount leak bug in cpufreq: pmac32-cpufreq allows an attacker to exploit a reference count leak in the module. This can result in memory corruption or use-after-free vulnerabilities, potentially leading to privilege escalation or denial of service attacks. The bug originates from improper handling of reference counts within the module's code. By manipulating the reference counts, an attacker can trigger memory corruption or use-after-free conditions, allowing them to execute arbitrary code or crash the system. This vulnerability has the potential to impact the security and stability of PowerPC-based Macintosh systems running the affected version of the Linux Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Conclusion

The refcount leak bug in cpufreq: pmac32-cpufreq is a potentially serious vulnerability that can lead to memory corruption, use-after-free vulnerabilities, and other security risks. It is crucial to update the Linux Kernel to the recommended version to mitigate the risk of exploitation. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

Cpufreq is a component of the Linux Kernel that manages the frequency scaling of CPUs. It allows the system to dynamically adjust the CPU frequency based on workload, optimizing power consumption and performance.

Pmac32-cpufreq is a module specifically designed for PowerPC-based Macintosh systems. It controls the CPU frequency on these machines.

A refcount leak bug refers to a situation where the reference count of a resource is not properly managed, leading to memory leaks or other vulnerabilities. In this case, the refcount leak bug in cpufreq: pmac32-cpufreq can result in memory corruption or use-after-free vulnerabilities.

The refcount leak bug in cpufreq: pmac32-cpufreq can potentially allow an attacker to execute arbitrary code, escalate privileges, or cause denial of service attacks. It can impact the security and stability of PowerPC-based Macintosh systems running the affected version of the Linux Kernel.

To fix the refcount leak bug, it is recommended to update the Linux Kernel to version v4.19.253 or later. This fix is implemented in commit 4585890ab2dbf455d80e254d3d859d4c1e357920.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback