Vulnerability in Kernel: PM: core: keep irq flags in device_pm_check_callbacks()

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001156: PM: core: keep irq flags in device_pm_check_callbacks(). Affects Kernel versions < c7c0ec5a1dcc3eaa1e85c804c2ccf46e457788a3. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel is a critical component of the Linux operating system that manages communication between hardware and software. It provides essential functionality for device drivers, memory management, and process scheduling. The PM (Power Management) core is responsible for managing power-related operations, such as device suspend and resume. The device_pm_check_callbacks() function is a part of the PM core and is used to check and execute power management callbacks for devices. This vulnerability affects the Kernel's PM core and specifically the device_pm_check_callbacks() function.

Vulnerability Detail

The vulnerability in the Kernel's PM core arises from a lack of proper handling of IRQ (Interrupt Request) flags in the device_pm_check_callbacks() function. IRQ flags are used to manage interrupts and ensure proper synchronization between different parts of the system. By not preserving the IRQ flags during the execution of power management callbacks, this vulnerability can lead to various issues, including potential race conditions and incorrect behavior of devices. An attacker could potentially exploit this vulnerability to manipulate device behavior, cause system instability, or escalate privileges.

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 apply patches or backports that include the fix for this vulnerability. Alternatively, if updating the Kernel is not feasible, users can disable power management functionality for affected devices. However, this may result in reduced power efficiency and performance.

Conclusion

In conclusion, the vulnerability in the Kernel's PM core, specifically the device_pm_check_callbacks() function, can lead to various issues and potential exploitation. It is crucial to update the Linux Kernel to the latest version or apply patches that include the fix. Disabling power management functionality for affected devices is a temporary workaround but may result in reduced power efficiency and performance. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can potentially be exploited by an attacker to manipulate device behavior, cause system instability, or escalate privileges.

You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it for open-source vulnerabilities, including this one.

There are no known instances of this vulnerability being exploited in the wild. However, it is important to apply the necessary updates and patches to mitigate the risk.

This vulnerability affects systems running the Linux Kernel. Any device or system utilizing the Kernel's PM core and the device_pm_check_callbacks() function is potentially vulnerable.

The recommended course of action is to update the Linux Kernel to version v5.17.2 or later. This ensures that the device_pm_check_callbacks() function properly preserves IRQ flags, mitigating the vulnerability.

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