CVE-2022-42324

Summary

CVECVE-2022-42324
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-11-01 13:15:00 UTC
Updated2024-02-04 08:15:00 UTC
DescriptionOxenstored 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.

Risk And Classification

Problem Types: CWE-681

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 11.0 All All All
Operating System Fedoraproject Fedora 35 All All All
Operating System Fedoraproject Fedora 36 All All All
Operating System Fedoraproject Fedora 37 All All All
Operating System Xen Xen All All All All

References

ReferenceSourceLinkTags
oss-security - Xen Security Advisory 420 v2 (CVE-2022-42324) - Oxenstored 32->31 bit integer truncation issues MLIST www.openwall.com
[SECURITY] Fedora 37 Update: xen-4.16.2-4.fc37 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
Xen: Multiple Vulnerabilities (GLSA 202402-07) — Gentoo security security.gentoo.org
[SECURITY] Fedora 37 Update: xen-4.16.2-4.fc37 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Debian -- Security Information -- DSA-5272-1 xen DEBIAN www.debian.org
[SECURITY] Fedora 36 Update: xen-4.16.2-3.fc36 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
XSA-420 - Xen Security Advisories CONFIRM xenbits.xen.org
[SECURITY] Fedora 36 Update: xen-4.16.2-3.fc36 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
xenbits.xenproject.org/xsa/advisory-420.txt MISC xenbits.xenproject.org
[SECURITY] Fedora 35 Update: xen-4.15.3-7.fc35 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 35 Update: xen-4.15.3-7.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

LEGACY: Array

Legacy QID Mappings

  • 181193 Debian Security Update for xen (DSA 5272-1)
  • 184572 Debian Security Update for xen (CVE-2022-42324)
  • 283293 Fedora Security Update for xen (FEDORA-2022-07438e12df)
  • 283319 Fedora Security Update for xen (FEDORA-2022-99af00f60e)
  • 283430 Fedora Security Update for xen (FEDORA-2022-9f51d13fa3)
  • 502600 Alpine Linux Security Update for xen
  • 503143 Alpine Linux Security Update for xen
  • 503695 Alpine Linux Security Update for xen
  • 505964 Alpine Linux Security Update for xen
  • 710858 Gentoo Linux Xen Multiple Vulnerabilities (GLSA 202402-07)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report