Vulnerability · Published Jan 25, 2022 · Assigned by XEN
CVE-2022-23035
Medium 4.6
In plain English
A medium-severity security flaw in xen from Xen. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 29% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | xen | 4.16.1-r0 | ALPINE-CVE-2022-23035 |
| Alpine:v3.21 | xen | 4.16.1-r0 | ALPINE-CVE-2022-23035 |
| Alpine:v3.22 | xen | 4.16.1-r0 | ALPINE-CVE-2022-23035 |
| Alpine:v3.23 | xen | 4.16.1-r0 | ALPINE-CVE-2022-23035 |
| Alpine:v3.24 | xen | 4.16.1-r0 | ALPINE-CVE-2022-23035 |
| Debian:12 | xen | 4.16.0+51-g0941d6cb-1 | DEBIAN-CVE-2022-23035 |
| Debian:13 | xen | 4.16.0+51-g0941d6cb-1 | DEBIAN-CVE-2022-23035 |
| Debian:14 | xen | 4.16.0+51-g0941d6cb-1 | DEBIAN-CVE-2022-23035 |
| Ubuntu:22.04:LTS | xen | no fix listed | UBUNTU-CVE-2022-23035 |
| Ubuntu:24.04:LTS | xen | no fix listed | UBUNTU-CVE-2022-23035 |
| Ubuntu:25.10 | xen | no fix listed | UBUNTU-CVE-2022-23035 |
| Ubuntu:26.04:LTS | xen | no fix listed | UBUNTU-CVE-2022-23035 |
| Ubuntu:26.10 | xen | no fix listed | UBUNTU-CVE-2022-23035 |
Affected products (as reported)
References
- https://xenbits.xenproject.org/xsa/advisory-395.txt x_refsource_MISC
- [oss-security] 20220125 Xen Security Advisory 395 v2 (CVE-2022-23035) - Insufficient cleanup of passed-through device IRQs mailing-list, x_refsource_MLIST
- FEDORA-2022-0cc3916e08 vendor-advisory, x_refsource_FEDORA
- DSA-5117 vendor-advisory, x_refsource_DEBIAN
- GLSA-202208-23 vendor-advisory, x_refsource_GENTOO