CVE-2023-46840 VT-d: Failure to quarantine devices in !HVM builds

Medium 4.1 Published Updated

Attackers can bypass device quarantine mechanisms in Xen hypervisor builds compiled without HVM support due to incorrect preprocessor logic.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-46840?

CVE-2023-46840 is a medium-severity vulnerability in Fedoraproject Fedora, published on 20 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Incorrect placement of a preprocessor directive in source code results in logic that doesn't operate as intended when support for HVM guests is compiled out of Xen.

Weakness: CWE-670

Which versions are affected by CVE-2023-46840?

It affects 2 products.

Products include Fedoraproject Fedora, Xen Xen.

How do I fix CVE-2023-46840?

Apply the vendor's patch.

Is CVE-2023-46840 being exploited?

There is no known exploitation of CVE-2023-46840 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-46840, GHSA-858p-q38q-g87r, UBUNTU-CVE-2023-46840.

Is CVE-2023-46840 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free