VYPR
Medium severity5.5NVD Advisory· Published Nov 1, 2022· Updated Jun 17, 2026

CVE-2022-42324

CVE-2022-42324

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

7
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*+ 2 more
    • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
    • cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
    • cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
  • Xen/Xen2 versions
    cpe:2.3:o:xen:xen:*:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:o:xen:xen:*:*:*:*:*:*:*:*
    • (no CPE)range: consult Xen advisory XSA-420

Patches

Vulnerability mechanics

References

8

News mentions

0

No linked articles in our index yet.