Vulnerability in cpufreq: schedutil in Kernel

Kernel Updated 02 Oct 2025

Summary

19/10/2021
N/A
No i
Unrated
Not published

GSD-2021-1001656: cpufreq: schedutil: Destroy mutex before kobject_put() frees the memory. Affects Kernel versions >= a7d4fc84404d45d72f4490417e8cc3efa4af93f1, < 3945c481360caee7d496c95b5c73afe923a1c7cd. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a crucial component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The cpufreq subsystem within the Kernel is responsible for dynamically adjusting the CPU frequency to optimize power consumption and performance. One of the components of cpufreq is schedutil, which implements the 'schedutil' governor for frequency scaling. This governor aims to adapt the CPU frequency based on the system's current workload. However, a vulnerability has been discovered in the schedutil component that could potentially lead to security issues.

Vulnerability Detail

The vulnerability in cpufreq: schedutil arises from a flaw in the handling of a mutex before freeing memory using kobject_put(). When the mutex is not destroyed before kobject_put() is called, it can result in memory being freed while still being accessed, leading to potential use-after-free vulnerabilities. An attacker could exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The impact and attack plausibility of this vulnerability have not been proven yet. The vulnerability was introduced in Linux Kernel version v5.10.71 by commit a7d4fc84404d45d72f4490417e8cc3efa4af93f1 and has been fixed in version v5.10.71 by commit 3945c481360caee7d496c95b5c73afe923a1c7cd.

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 →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The vulnerability in cpufreq: schedutil in the Kernel could potentially lead to security issues, including arbitrary code execution and denial-of-service. It is crucial to update the Linux Kernel to version v5.10.71 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability could potentially allow an attacker to execute arbitrary code or cause a denial-of-service condition.

You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities.

As of now, there is no known exploit for this vulnerability. However, it is important to apply the recommended fix to mitigate any potential risks.

The details regarding remote exploitation of this vulnerability have not been provided. However, it is always advisable to keep systems up to date with the latest security patches to minimize the risk of remote attacks.

The specific prerequisites for exploiting this vulnerability have not been mentioned. However, it is generally recommended to have local access to the system to exploit such vulnerabilities.

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