CVE-2022-42324
publishedxen vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Xen | — | xenconsult Xen advisory XSA-420 | Unknown | Not stated | XEN |
| Alpine Linux | edge | xen | Fixed | 4.17.0-r0 | Package fix record |
| Debian | bullseye | xen | Advisory build | 4.14.5+86-g1c354767d5-1 | DSA-5272-1 |
| Alpine Linux | v3.14 | xen | Fixed | 4.15.4-r0 | Package fix record |
| Alpine Linux | v3.15 | xen | Fixed | 4.15.4-r0 | Package fix record |
| Alpine Linux | v3.18 | xen | Fixed | 4.17.0-r0 | Package fix record |
| Alpine Linux | v3.19 | xen | Fixed | 4.17.0-r0 | Package fix record |
| Alpine Linux | v3.20 | xen | Fixed | 4.17.0-r0 | Package fix record |
Show 4 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.21 | xen | Fixed | 4.17.0-r0 | Package fix record |
| Alpine Linux | v3.22 | xen | Fixed | 4.17.0-r0 | Package fix record |
| Alpine Linux | v3.23 | xen | Fixed | 4.17.0-r0 | Package fix record |
| Alpine Linux | v3.24 | xen | Fixed | 4.17.0-r0 | Package fix record |
Description
Oxenstored 32->31 bit integer truncation issues Integers in Ocaml are 63 or 31 bits of signed precision. The Ocaml Xenbus library takes a C uint32_t out of the ring and casts it directly to an Ocaml integer. In 64-bit Ocaml builds this is fine, but in 32-bit builds, it truncates off the most significant bit, and then creates unsigned/signed confusion in the remainder. This in turn can feed a negative value into logic not expecting a negative value, resulting in unexpected exceptions being thrown. The unexpected exception is not handled suitably, creating a busy-loop trying (and failing) to take the bad packet out of the xenstore ring.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Xen | xen | consult Xen advisory XSA-420 (unknown) | XEN · cna |
Weaknesses
1- unknown
References
8- [oss-security] 20221101 Xen Security Advisory 420 v2 (CVE-2022-42324) - Oxenstored 32->31 bit integer truncation issues http://www.openwall.com/lists/oss-security/2022/11/01/10
- http://xenbits.xen.org/xsa/advisory-420.html
- FEDORA-2022-9f51d13fa3 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YTMITQBGC23MSDHUCAPCVGLMVXIBXQTQ/
- FEDORA-2022-99af00f60e https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YZVXG7OOOXCX6VIPEMLFDPIPUTFAYWPE/
- FEDORA-2022-07438e12df https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZLI2NPNEH7CNJO3VZGQNOI4M4EWLNKPZ/
- GLSA-202402-07 https://security.gentoo.org/glsa/202402-07
- DSA-5272 https://www.debian.org/security/2022/dsa-5272
- https://xenbits.xenproject.org/xsa/advisory-420.txt
Provider assertions
2XEN · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- af5d1db55bbc91d70b0889203e984afafc858fab0eff0cf332824f1921cab18a
- Ingested
- 23 Sep 2026, 08:02:53 UTC
- Source record
- Official CVE record