CVE-2022-42332
CVE-2022-42332
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
x86 shadow plus log-dirty mode use-after-free In environments where host assisted address translation is necessary but Hardware Assisted Paging (HAP) is unavailable, Xen will run guests in so called shadow mode. Shadow mode maintains a pool of memory used for both shadow page tables as well as auxiliary data structures. To migrate or snapshot guests, Xen additionally runs them in so called log-dirty mode. The data structures needed by the log-dirty tracking are part of aformentioned auxiliary data. In order to keep error handling efforts within reasonable bounds, for operations which may require memory allocations shadow mode logic ensures up front that enough memory is available for the worst case requirements. Unfortunately, while page table memory is properly accounted for on the code path requiring the potential establishing of new shadows, demands by the log-dirty infrastructure were not taken into consideration. As a result, just established shadow page tables could be freed again immediately, while other code is still accessing them on the assumption that they would remain allocated.
CVSS 7.8 · Élevée · EPSS 0,3% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: system
Produits et versions concernés
xen
- Versions du logiciel
- consult Xen advisory XSA-427: Inconnu
Aucun correctif publié
xen Debian:12
- Plages de versions concernées
- ECOSYSTEM: < 4.17.0+74-g3eac216e6e-1
Mettez à jour vers 4.17.0+74-g3eac216e6e-1
xen Debian:13
- Plages de versions concernées
- ECOSYSTEM: < 4.17.0+74-g3eac216e6e-1
Mettez à jour vers 4.17.0+74-g3eac216e6e-1
xen Debian:14
- Plages de versions concernées
- ECOSYSTEM: < 4.17.0+74-g3eac216e6e-1
Mettez à jour vers 4.17.0+74-g3eac216e6e-1
xen Ubuntu:16.04:LTS
- Versions du logiciel
- 4.5.1-0ubuntu1
- 4.5.1-0ubuntu2
- 4.6.0-1ubuntu1
- 4.6.0-1ubuntu2
- 4.6.0-1ubuntu4
- 4.6.0-1ubuntu4.1
- 4.6.0-1ubuntu4.2
- 4.6.0-1ubuntu4.3
- 4.6.5-0ubuntu1
- 4.6.5-0ubuntu1.1
- 4.6.5-0ubuntu1.2
- 4.6.5-0ubuntu1.4
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
xen Ubuntu:18.04:LTS
- Versions du logiciel
- 4.9.0-0ubuntu3
- 4.9.0-0ubuntu4
- 4.9.2-0ubuntu1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
xen Ubuntu:20.04:LTS
- Versions du logiciel
- 4.9.2-0ubuntu2
- 4.9.2-0ubuntu6
- 4.9.2-0ubuntu7
- 4.11.3+24-g14b62ab3e5-1ubuntu1
- 4.11.3+24-g14b62ab3e5-1ubuntu2
- 4.11.3+24-g14b62ab3e5-1ubuntu2.2
- 4.11.3+24-g14b62ab3e5-1ubuntu2.3
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
xen Ubuntu:22.04:LTS
- Versions du logiciel
- 4.11.4+24-gddaaccbbab-1ubuntu2
- 4.16.0-1~ubuntu2
- 4.16.0-1~ubuntu2.1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
xen Ubuntu:24.04:LTS
- Versions du logiciel
- 4.17.2-1
- 4.17.2+55-g0b56bed864-1
- 4.17.2+76-ge1f9cb16e2-1
- 4.17.2+76-ge1f9cb16e2-1ubuntu1
- 4.17.3+10-g091466ba55-1
- 4.17.3+10-g091466ba55-1.1ubuntu2
- 4.17.3+10-g091466ba55-1.1ubuntu3
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
xen Ubuntu:25.10
- Versions du logiciel
- 4.20.0-1ubuntu1
- 4.20.0+68-g35cb38b222-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
xen Ubuntu:26.10
- Versions du logiciel
- 4.20.2+7-g1badcf5035-2build2
- 4.20.2+37-g61ff35323e-1ubuntu1
- 4.20.3+127-gc42374a105-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
xen Ubuntu:26.04:LTS
- Versions du logiciel
- 4.20.0+68-g35cb38b222-1
- 4.20.2+7-g1badcf5035-2
- 4.20.2+7-g1badcf5035-2build2
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
Sources originales
- https://xenbits.xenproject.org/xsa/advisory-427.txt
- http://xenbits.xen.org/xsa/advisory-427.html
- http://www.openwall.com/lists/oss-security/2023/03/21/1
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/APBMS2Q6746AXAFAITNJMGBNFGNMVLWR/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5L6PM4RE7MUE6OWA32ZVOXCP235RM2TM/
- https://www.debian.org/security/2023/dsa-5378
- https://security.gentoo.org/glsa/202402-07
- https://nvd.nist.gov/vuln/detail/CVE-2022-42332