Vulnerability in Kernel: xen: fix is_xen_pmu()

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1002227: xen: fix is_xen_pmu(). Affects Kernel versions >= bf6dfb154d935725c9a2005033ca33017b9df439, < ab2c789d1c0a3d0a682f7aa287754193471ff9f8. 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 crucial component of the Linux operating system that acts as a bridge between the hardware and software layers. It provides essential functionalities, such as managing system resources, handling device drivers, and facilitating communication between different software components. The vulnerability in question affects the Kernel's xen module, which is responsible for supporting Xen virtualization on Linux systems. Xen allows for the creation and management of virtual machines, enabling efficient resource utilization and isolation. However, a flaw in the is_xen_pmu() function within the xen module has been discovered, potentially leading to security issues.

Vulnerability Detail

The vulnerability arises from a coding error in the is_xen_pmu() function within the xen module of the Kernel. This flaw could be exploited by an attacker to gain unauthorized access to sensitive information, execute arbitrary code, or cause a denial-of-service condition. The is_xen_pmu() function is responsible for determining whether the Xen hypervisor supports performance monitoring unit (PMU) functionality. By exploiting this vulnerability, an attacker could bypass security measures and gain elevated privileges within a Xen virtualized environment. This could result in the compromise of other virtual machines, unauthorized access to sensitive data, or disruption of system operations.

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 Xen PMU functionality by modifying the Kernel configuration. This can be achieved by removing the 'CONFIG_XEN_PVHVM' option from the Kernel configuration file and recompiling the Kernel. However, this workaround may result in the loss of PMU functionality within Xen virtualized environments.

Conclusion

In conclusion, a vulnerability has been identified in the Kernel's xen module, specifically in the is_xen_pmu() function. This flaw could potentially allow an attacker to gain unauthorized access, execute arbitrary code, or cause a denial-of-service condition within a Xen virtualized environment. To mitigate this risk, it is crucial to update the Linux Kernel to version v5.4.189 or later. Alternatively, users can apply a workaround by disabling the Xen PMU functionality, although this may result in the loss of PMU capabilities. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability could potentially allow an attacker to gain unauthorized access to sensitive information, execute arbitrary code, or cause a denial-of-service condition within a Xen virtualized environment.

You can use the Vulert 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, using just a manifest file like package-lock.json.

Yes, a patch for this vulnerability is available in the Linux Kernel version v5.4.189. It is recommended to update to this version or a later one to mitigate the risk.

Yes, a workaround is available for this vulnerability. Users can disable the Xen PMU functionality by modifying the Kernel configuration. However, this may result in the loss of PMU functionality within Xen virtualized environments.

You can find more information about this vulnerability in the official Linux Kernel repository at: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/.

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