Incorrect numeric conversion in xen
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Xen | xen | — | — | No fix listed | CNA |
- xen VendorXen Affected — Fixed in — No fix listed CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:xen:xen:*:*:*:*:*:*:*:* | all versions | Vulnerable | Xen |
| cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 11.0 | Vulnerable | Debian |
| cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* | 35 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* | 36 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* | 37 | Vulnerable | Fedoraproject |
- cpe:2.3:o:xen:xen:*:*:*:*:*:*:*:* Versions all versions Vulnerable ·Xen
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* Versions 37 Vulnerable ·Fedoraproject
Remediation
No fixed version listed by the sources yet.
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
xen — FEDORA-2022-9f51d13fa3
19 records Highest priority Priority LOW 19 LOW
Other records, highest priority first
- TI-2022-20525 Xenstore: Guests can crash xenstored Due to a bug in the fix of XSA-115 a malicious guest…Priority LOW 38
- TI-2022-20543 Improper access control in xenPriority LOW 33
- TI-2022-20536 Xenstore: Guests can get access to Xenstore nodes of deleted domains Access rights of…Priority LOW 33
- Advisory ·
xen — FEDORA-2022-07438e12df
19 records Highest priority Priority LOW 19 LOW
Other records, highest priority first
- TI-2022-20525 Xenstore: Guests can crash xenstored Due to a bug in the fix of XSA-115 a malicious guest…Priority LOW 38
- TI-2022-20543 Improper access control in xenPriority LOW 33
- TI-2022-20536 Xenstore: Guests can get access to Xenstore nodes of deleted domains Access rights of…Priority LOW 33
Timeline
- 2026-10-02 Threatist record created from CVE-2022-42324
- 2026-10-03 Alias added: GHSA-2hqj-m7qj-9pc3
References
Patch 3
More Xen vulnerabilities
- TI-2012-00210 The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix… CVSS 2.0HIGH 7.2
- TI-2023-07042 Information disclosure through error messages in AMD Ryzen™ 3000 Series Desktop… CVSS 3.1MEDIUM 5.5
- TI-2015-04333 The C+ mode offload emulation in the RTL8139 network card device model in QEMU, as used… CVSS 2.0HIGH 9.3
- TI-2015-06741 The KVM subsystem in the Linux kernel through 4.2.6, and Xen 4.3.x through 4.6.x, allows… CVSS 3.1CRITICAL 10.0
- TI-2018-06436 A statement in the System Programming Guide of the Intel 64 and IA-32 Architectures… CVSS 3.0HIGH 7.8
- TI-2024-20522 x86: Incorrect logic for BTC/SRSO mitigations CVSS 3.1HIGH 7.5
Sources
- CVE-2022-42324 · CVE Program
- CVE-2022-42324 · NVD
- FIRST EPSS
- GHSA-2hqj-m7qj-9pc3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences