CVE-2022-23042: Race Condition

Published Mar 10, 2022
·
Updated

Last updated 25 April 2025

Other sources

Linux PV device frontends vulnerable to attacks by backends T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] Several Linux PV device frontends are using the grant table interfaces for removing access rights of the backends in ways being subject to race conditions, resulting in potential data leaks, data corruption by malicious backends, and denial of service triggered by malicious backends: blkfront, netfront, scsifront and the gntalloc driver are testing whether a grant reference is still in use. If this is not the case, they assume that a following removal of the granted access will always succeed, which is not true in case the backend has mapped the granted page between those two operations. As a result the backend can keep access to the memory page of the guest no matter how the page will be used after the frontend I/O has finished. The xenbus driver has a similar problem, as it doesn't check the success of removing the granted access of a shared ring buffer. blkfront: CVE-2022-23036 netfront: CVE-2022-23037 scsifront: CVE-2022-23038 gntalloc: CVE-2022-23039 xenbus: CVE-2022-23040 blkfront, netfront, scsifront, usbfront, dmabuf, xenbus, 9p, kbdfront, and pvcalls are using a functionality to delay freeing a grant reference until it is no longer in use, but the freeing of the related data page is not synchronized with dropping the granted access. As a result the backend can keep access to the memory page even after it has been freed and then re-used for a different purpose. CVE-2022-23041 netfront will fail a BUGON() assertion if it fails to revoke access in the rx path. This will result in a Denial of Service (DoS) situation of the guest which can be triggered by the backend. CVE-2022-23042

Launchpad

Affected Software

3 affected componentsFixes available
XEN Xen
Debian Debian Linux=9.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

Mar 10, 2022
CVE Published
via MITRE·07:20 PM
Data Sourced
via MITRE·07:20 PM
DescriptionWeakness
Jan 12, 2024
Data Sourced
via Launchpad·12:07 AM
Description
May 2, 2025
Data Sourced
via Ubuntu·04:38 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·04:39 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-23042?

CVE-2022-23042 is classified as a high severity vulnerability affecting multiple Linux PV device frontends.

2

How do I fix CVE-2022-23042?

To fix CVE-2022-23042, update to the patched versions of the Linux package specified in the advisory.

3

What causes CVE-2022-23042?

CVE-2022-23042 is caused by improper handling of grant table interfaces in Linux PV device frontends.

4

Which software is affected by CVE-2022-23042?

CVE-2022-23042 affects several versions of Xen and Debian Linux 9.0 and related kernel packages.

5

What are the potential impacts of CVE-2022-23042?

The potential impacts of CVE-2022-23042 include unauthorized access and potential exploitation of the vulnerable systems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203