CVE-2022-42324

MEDIUM
5.5
CVSS Score
Published: November 1, 2022 at 12:00 AM UTC
Updated: June 17, 2026 at 05:04 AM UTC
3 products affected across 3 vendorsDebian LinuxFedoraXen

Using xen by Xen?

Get instant alerts when new vulnerabilities affect xen - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Xen· Xenwordpress-plugin
95%
All versions
Vendor states this is fixed in consult Xen advisory XSA-420 (unknown)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-681

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card