Insufficient cleanup of passed-through device IRQs in xen

xen Updated 02 Oct 2025

Summary

25/01/2022
N/A
Yes i
Medium
4.6

CVE-2022-23035: Insufficient cleanup of passed-through device IRQs The management of IRQs associated with physical devices exposed to x86 HVM guests involves an iterative operation in particular when cleaning up after the guest's use of... Affects xen versions < 4.13.4-r3. Fixed in 4.13.4-r3. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Xen is an open-source hypervisor that provides virtualization capabilities for x86, x86_64, IA64, ARM, and other CPU architectures. It allows multiple operating systems to run concurrently on a single physical machine. Xen provides a secure and efficient environment for virtualization, enabling the isolation of guest operating systems from each other and the host system. However, a vulnerability has been identified in Xen that affects the cleanup of passed-through device IRQs.

Vulnerability Detail

The management of IRQs associated with physical devices exposed to x86 HVM guests in Xen involves an iterative operation during the cleanup process after the guest's use of the device. In certain cases, when an interrupt is not quiescent at the time of cleanup, the cleanup attempt may be scheduled for retry. However, when multiple interrupts are involved, the scheduling of a retry may be skipped erroneously. This can lead to pointers being cleared and freed, resulting in a use-after-free vulnerability. Other code may continue to assume the validity of these pointers, leading to potential exploitation by an attacker.

How To Fix

Minimum fixed version

4.13.4-r3

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

There is no known workaround for this vulnerability at this time.

Conclusion

The vulnerability in Xen related to the insufficient cleanup of passed-through device IRQs can lead to a use-after-free vulnerability, potentially allowing an attacker to execute arbitrary code or cause a denial-of-service condition. It is crucial to update Xen to the fixed versions mentioned in the 'how_to_fix' section to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for xen →

Share this vulnerability

FAQ

Xen is an open-source hypervisor that provides virtualization capabilities for various CPU architectures, allowing multiple operating systems to run concurrently on a single physical machine.

This vulnerability in Xen can potentially be exploited by an attacker to execute arbitrary code or cause a denial-of-service condition.

To fix this vulnerability, it is recommended to update Xen to the fixed versions mentioned in the 'how_to_fix' section.

No, there is currently no known workaround for this vulnerability.

You can find more information about this vulnerability in the provided source link.

Related vulnerabilities

Recent vulnerabilities recorded for xen.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

4.13.4-r3

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