CVE-2022-23035

MEDIUM

Xen >=4.6.0 - Use-After-Free in Passed-Through Device IRQ Cleanup

Title source: llm
STIX 2.1

Description

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 the device. In the case where an interrupt is not quiescent yet at the time this cleanup gets invoked, the cleanup attempt may be scheduled to be retried. When multiple interrupts are involved, this scheduling of a retry may get erroneously skipped. At the same time pointers may get cleared (resulting in a de-reference of NULL) and freed (resulting in a use-after-free), while other code would continue to assume them to be valid.

References (5)

Core 5
Core References
Vendor Advisory x_refsource_misc
https://xenbits.xenproject.org/xsa/advisory-395.txt
Mailing List, Patch, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2022/01/25/4
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2022/dsa-5117
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/202208-23

Scores

CVSS v3 4.6
EPSS 0.0035
EPSS Percentile 26.2%
Attack Vector PHYSICAL
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-459
Status published
Products (3)
debian/debian_linux 11.0
fedoraproject/fedora 34
xen/xen 4.6.0
Published Jan 25, 2022
Tracked Since Feb 18, 2026