Vulnerability in Kernel: cfi: Fix __cfi_slowpath_diag RCU usage with cpuidle

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1004489: cfi: Fix __cfi_slowpath_diag RCU usage with cpuidle. Affects Kernel versions >= cf68fffb66d60d96209446bfc4a15291dc5a5d41, < 75f3a5fa2ad049c85ab5d5ee1ed9cfaa7e62c5ed. 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 critical component of the Linux operating system that manages the system's resources and provides an interface for applications to interact with the hardware. It is responsible for tasks such as process management, memory management, and device drivers. The vulnerability in question affects the Kernel's Control Flow Integrity (CFI) mechanism, specifically the __cfi_slowpath_diag function when used in conjunction with cpuidle. CFI is a security feature that helps protect against control flow hijacking attacks. However, due to improper RCU (Read-Copy Update) usage, this vulnerability can be exploited to bypass CFI protections.

Vulnerability Detail

The vulnerability arises from a flaw in the __cfi_slowpath_diag function's RCU usage when cpuidle is involved. An attacker could potentially exploit this vulnerability to bypass CFI protections and execute arbitrary code. The impact and attack plausibility of this vulnerability have not been proven yet. It is important to note that this vulnerability has been fixed in Linux Kernel version v5.15.49 by commit 75f3a5fa2ad049c85ab5d5ee1ed9cfaa7e62c5ed. However, it was introduced in version v5.13 by commit cf68fffb66d60d96209446bfc4a15291dc5a5d41.

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

In conclusion, the vulnerability in the Kernel's Control Flow Integrity (CFI) mechanism, specifically the __cfi_slowpath_diag function with cpuidle, can be exploited to bypass CFI protections. It is crucial to update the Linux Kernel to version v5.15.49 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a critical component of the Linux operating system that manages the system's resources and provides an interface for applications to interact with the hardware.

Control Flow Integrity (CFI) is a security feature that helps protect against control flow hijacking attacks by enforcing a strict control flow within a program.

This vulnerability can be exploited by an attacker to bypass CFI protections and execute arbitrary code.

No, the impact and attack plausibility of this vulnerability have not been proven yet.

To fix this vulnerability, update the Linux Kernel to version v5.15.49 or later.

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