Excessive P2M Pool Freeing Delay in Xen Package - CVE-2022-33746

xen Updated 02 Oct 2025

Summary

11/10/2022
N/A
Yes i
Medium
6.5

ALPINE-CVE-2022-33746: P2M pool freeing may take excessively long The P2M pool backing second level address translation for guests may be of significant size. Affects xen versions < 4.15.4-r0. Fixed in 4.15.4-r0. 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 Xen package is a powerful open-source hypervisor that enables the creation and management of virtual machines. It is widely used for virtualization in cloud computing and enterprise environments. The package is known for its performance and flexibility, allowing users to run multiple operating systems on a single physical machine. However, it is susceptible to vulnerabilities that can affect its efficiency and security, including the recent CVE-2022-33746.

Vulnerability Detail

CVE-2022-33746 arises from the P2M (Page to Machine) pool management in Xen, where the process of freeing up memory can take excessively long due to the size of the second-level address translation for guest virtual machines. This delay can lead to performance degradation and may hinder the system's responsiveness, especially under heavy loads. The vulnerability is rooted in the absence of intermediate preemption checks during the freeing process, which can cause the hypervisor to become unresponsive.

How To Fix

Minimum fixed version

4.15.4-r0

This is the first release that contains the fix.

sudo apk add --upgrade xen

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability other than applying the patch by updating the package to the latest version.

Conclusion

CVE-2022-33746 presents a significant risk to users of the Xen package due to excessive delays in memory management. It is crucial to update to the latest patched versions to ensure optimal performance and security. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for xen →

Share this vulnerability

FAQ

CVE-2022-33746 is a vulnerability in the Xen package that causes excessive delays in freeing the P2M pool, potentially leading to performance issues.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score for CVE-2022-33746 is 6.5, indicating a medium severity level.

The main consequence of this vulnerability is the potential for significant performance degradation in virtualized environments, which can affect the responsiveness of the hypervisor.

It is recommended to regularly check for updates to the Xen package and apply them promptly to mitigate vulnerabilities and enhance security.

Related vulnerabilities

Recent vulnerabilities recorded for xen.

How To Fix

Minimum fixed version

4.15.4-r0

This is the first release that contains the fix.

sudo apk add --upgrade xen

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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