Vulnerability in perf_cgroup_switch() function in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

27/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000306: perf: Fix list corruption in perf_cgroup_switch(). Affects Kernel versions >= 058fe1c0440e68a1ba3c2270ae43e9f0298b27d8, < 5d76ed4223403f90421782adb2f20a9ecbc93186. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux Kernel is the core component of the Linux operating system, responsible for managing system resources and providing an interface for applications to interact with the hardware. The perf_cgroup_switch() function is a part of the kernel's performance monitoring subsystem, which allows users to gather and analyze performance data. This vulnerability affects the Linux Kernel versions 4.11 to 4.14.267.

Vulnerability Detail

The perf_cgroup_switch() function in the Linux Kernel is vulnerable to list corruption. This vulnerability can be exploited by an attacker to cause a denial-of-service (DoS) condition or potentially execute arbitrary code with kernel privileges. The issue arises due to a flaw in the function's implementation, which can lead to corruption of internal data structures. An attacker with local access to the system can exploit this vulnerability by triggering the flaw, potentially leading to system instability or unauthorized access.

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

As a workaround, users can disable the perf_cgroup_switch() function by modifying the kernel configuration. However, this may impact the functionality of performance monitoring tools that rely on this feature. It is recommended to apply the official fix by updating the kernel to the latest version.

Conclusion

The perf_cgroup_switch() vulnerability in the Linux Kernel poses a risk of system instability and unauthorized access. It is crucial to update the kernel to the latest version (4.14.267 or later) to mitigate this vulnerability. Regularly applying security patches is essential to ensure the system's integrity and protect against potential exploits. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can lead to a denial-of-service condition or potential execution of arbitrary code with kernel privileges. An attacker with local access to the system can exploit this vulnerability to disrupt system operations or gain unauthorized access.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will analyze and alert you if the vulnerability is present.

At the time of this report, there are no known public exploits targeting this vulnerability. However, it is important to apply the recommended fix to mitigate any potential risks.

No, this vulnerability requires local access to the system to exploit. Remote exploitation is not possible.

For more details about this vulnerability, including the specific commits that fix the issue, you can refer to the vulnerability database entry at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1000xxx/GSD-2022-1000306.json.

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