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-1000321: perf: Fix list corruption in perf_cgroup_switch(). Affects Kernel versions >= 058fe1c0440e68a1ba3c2270ae43e9f0298b27d8, < 30d9f3cbe47e1018ddc8069ac5b5c9e66fbdf727. 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 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 part of the kernel's performance monitoring subsystem and is used to switch the monitoring context between different control groups. Control groups allow for resource allocation and monitoring of processes. This vulnerability in the perf_cgroup_switch() function can lead to list corruption, potentially impacting the stability and security of the system.

Vulnerability Detail

The perf_cgroup_switch() function in the Linux Kernel is vulnerable to list corruption. This vulnerability was introduced in version v4.11 of the kernel and was fixed in version v4.19.230. An attacker could potentially exploit this vulnerability to cause list corruption, leading to system instability or even arbitrary code execution. The impact and attack plausibility of this vulnerability have not been proven yet. For more technical details, please refer to the references link.

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. It is advised to apply the fix by updating the Linux Kernel to the recommended version.

Conclusion

The vulnerability in the perf_cgroup_switch() function of the Linux Kernel can lead to list corruption and potential system instability. It is crucial to update the kernel to the fixed version to mitigate this vulnerability. Regularly updating the kernel is essential for maintaining the security and stability of the system. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

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 part of the Linux Kernel's performance monitoring subsystem and is used to switch the monitoring context between different control groups.

List corruption refers to a situation where the integrity of a linked list data structure is compromised, leading to unexpected behavior or crashes in the system.

Control groups, also known as cgroups, are a feature of the Linux Kernel that allow for resource allocation and monitoring of processes. They provide a way to manage and limit the resources used by a group of processes.

The process of updating the Linux Kernel depends on the specific distribution you are using. Generally, it involves downloading the latest kernel version and installing it on your system. It is recommended to follow the official documentation or consult the community for your specific distribution for detailed instructions.

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