Vulnerability in Kernel: perf_cgroup_switch() List Corruption

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1000529: perf: Fix list corruption in perf_cgroup_switch(). Affects Kernel versions >= 058fe1c0440e68a1ba3c2270ae43e9f0298b27d8, < 2142bc1469a316fddd10012d76428f7265258f81. 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 Kernel is a critical component of the Linux operating system that provides core functionality and interfaces with hardware devices. It manages system resources, facilitates communication between software and hardware, and ensures the stability and security of the system. One of the key features of the Kernel is performance monitoring, which allows users to analyze system performance using tools like 'perf'. The 'perf_cgroup_switch()' function is responsible for handling context switches between cgroups during performance monitoring. However, a vulnerability has been discovered in this function that can lead to list corruption.

Vulnerability Detail

The vulnerability in 'perf_cgroup_switch()' arises from a list corruption issue. When a context switch occurs between cgroups during performance monitoring, the list of cgroups can become corrupted, potentially leading to various security and stability issues. The exact impact and attack vectors of this vulnerability have not been proven yet. However, it is crucial to address this issue to ensure the integrity and reliability of the 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 →

Workaround

No specific workaround has been mentioned for this vulnerability. The recommended approach is to update the Kernel to the fixed version.

Conclusion

The vulnerability in 'perf_cgroup_switch()' can lead to list corruption, potentially compromising the security and stability of the Kernel. It is crucial to update the Linux Kernel to version v5.16.10 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 Kernel is a critical component of the Linux operating system that provides core functionality and interfaces with hardware devices.

'perf' is a performance monitoring tool in Linux, and 'perf_cgroup_switch()' is a function within the Kernel responsible for handling context switches between cgroups during performance monitoring.

List corruption refers to a situation where the integrity of a linked list data structure is compromised, leading to unexpected behavior and potential security vulnerabilities.

The list corruption in 'perf_cgroup_switch()' can result in security vulnerabilities and stability issues within the Kernel, potentially allowing for unauthorized access or system instability.

You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.

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