Every CVE Search/ Get API key

CVE-2023-46840

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

4.1 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
High
Privileges needed
High
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

0.26%Up 0.2 points since Mar 21, 2024
90%50%10%1%

What each source reports

CVE List Score used 4.1

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

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.

Record
CVE-2023-46840
CVSS 3.1
4.1 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
EUVDEUVD-2023-51006 4.1

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.

Record
EUVD-2023-51006
CVSS 3.1
4.1 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-858p-q38q-g87r 4.1

Incorrect placement of a preprocessor directive in source code results in logic that doesn't...

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.

Record
GHSA-858p-q38q-g87r
CVSS 3.1
4.1 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-670
Updated
2026-11-02
NVD 4.1

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.

Record
CVE-2023-46840
CVSS 3.1
4.1 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-670
Updated
2026-11-02
OSVALPINE-CVE-2023-46840 4.1

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.

Record
ALPINE-CVE-2023-46840
CVSS 3.1
4.1 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSV 4.1

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.

Record
CVE-2023-46840
CVSS 3.1
4.1 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
Show 6 moreShow less
OSVDEBIAN-CVE-2023-46840 4.1

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.

Record
DEBIAN-CVE-2023-46840
CVSS 3.1
4.1 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2023-46840 4.1

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.

Record
UBUNTU-CVE-2023-46840
CVSS 3.1
4.1 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVMGASA-2024-0047 No score

Updated xen, qemu and libvirt packages fix security vulnerabilities

This update fixes several security issues and also improves stability.

Record
MGASA-2024-0047
Updated
2026-11-02
OSVopenSUSE-SU-2024:13648-1 No score

xen-4.18.0_06-1.1 on GA media

These are all security issues fixed in the xen-4.18.0_06-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13648-1
Updated
2026-11-02
OSVSUSE-SU-2024:0266-1 No score

Security update for xen

This update for xen fixes the following issues:

  • CVE-2023-46839: Fixed phantom functions assigned to incorrect contexts (XSA-449) (bsc#1218851)
  • CVE-2023-46840: Fixed VT-d: Failure to quarantine devices in !HVM builds (XSA-450) (bsc#1219080)
Record
SUSE-SU-2024:0266-1
Updated
2026-11-02
OSVSUSE-SU-2024:0830-1 No score

Security update for xen

This update for xen fixes the following issues:

  • CVE-2023-46839: Fixed memory access through PCI device with phantom functions (XSA-449) (bsc#1218851).
  • CVE-2023-46840: Fixed Failure to quarantine devices in !HVM builds (XSA-450) (bsc#1219080).
  • CVE-2023-46841: Fixed shadow stack vs exceptions from emulation stubs (XSA-451) (bsc#1219885).
Record
SUSE-SU-2024:0830-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
xen
Debian:12
before 4.17.3+10-g091466ba55-1~deb12u1, plus listed versions
4.17.1+2-gb773c48e36-14.17.2+55-g0b56bed864-14.17.2+76-ge1f9cb16e2-14.17.2+76-ge1f9cb16e2-1~deb12u14.17.2-1
4.17.3+10-g091466ba55-1~deb12u1
xen
Debian:13
before 4.17.3+10-g091466ba55-1
4.17.3+10-g091466ba55-1
xen
Debian:14
before 4.17.3+10-g091466ba55-1
4.17.3+10-g091466ba55-1
qemu
Mageia:9
From an advisory covering 4 CVEs
before 7.2.9-1.mga9
7.2.9-1.mga9
libvirt
Mageia:9
From an advisory covering 4 CVEs
before 9.6.0-1.mga9
9.6.0-1.mga9
xen
Mageia:9
From an advisory covering 4 CVEs
before 4.17.3-1.mga9
4.17.3-1.mga9
xen
SUSE:Linux Enterprise Micro 5.5
From an advisory covering 2 CVEs
before 4.17.3_04-150500.3.21.1
4.17.3_04-150500.3.21.1
xen
SUSE:Linux Enterprise Module for Basesystem 15 SP5
From an advisory covering 2 CVEs
before 4.17.3_04-150500.3.21.1
4.17.3_04-150500.3.21.1
xen
SUSE:Linux Enterprise Module for Server Applications 15 SP5
From an advisory covering 2 CVEs
before 4.17.3_04-150500.3.21.1
4.17.3_04-150500.3.21.1
xen
openSUSE:Leap 15.5
From an advisory covering 2 CVEs
before 4.17.3_04-150500.3.21.1
4.17.3_04-150500.3.21.1
Show 13 moreShow less
Affected packages
PackageAffectedFixed
xen
SUSE:Linux Enterprise Micro 5.5
From an advisory covering 3 CVEs
before 4.17.3_06-150500.3.24.1
4.17.3_06-150500.3.24.1
xen
SUSE:Linux Enterprise Module for Basesystem 15 SP5
From an advisory covering 3 CVEs
before 4.17.3_06-150500.3.24.1
4.17.3_06-150500.3.24.1
xen
SUSE:Linux Enterprise Module for Server Applications 15 SP5
From an advisory covering 3 CVEs
before 4.17.3_06-150500.3.24.1
4.17.3_06-150500.3.24.1
xen
openSUSE:Leap 15.5
From an advisory covering 3 CVEs
before 4.17.3_06-150500.3.24.1
4.17.3_06-150500.3.24.1
xen
Ubuntu:16.04:LTS
All versions, plus listed versions
4.5.1-0ubuntu14.5.1-0ubuntu24.6.0-1ubuntu14.6.0-1ubuntu24.6.0-1ubuntu4
Show 7 moreShow less
4.6.0-1ubuntu4.14.6.0-1ubuntu4.24.6.0-1ubuntu4.34.6.5-0ubuntu14.6.5-0ubuntu1.14.6.5-0ubuntu1.24.6.5-0ubuntu1.4
None known
xen
Ubuntu:18.04:LTS
All versions, plus listed versions
4.9.0-0ubuntu34.9.0-0ubuntu44.9.2-0ubuntu1
None known
xen
Ubuntu:20.04:LTS
All versions, plus listed versions
4.9.2-0ubuntu24.9.2-0ubuntu64.9.2-0ubuntu74.11.3+24-g14b62ab3e5-1ubuntu14.11.3+24-g14b62ab3e5-1ubuntu24.11.3+24-g14b62ab3e5-1ubuntu2.24.11.3+24-g14b62ab3e5-1ubuntu2.3
None known
xen
Ubuntu:22.04:LTS
All versions, plus listed versions
4.11.4+24-gddaaccbbab-1ubuntu24.16.0-1~ubuntu24.16.0-1~ubuntu2.1
None known
xen
Ubuntu:24.04:LTS
All versions, plus listed versions
4.17.2-14.17.2+55-g0b56bed864-14.17.2+76-ge1f9cb16e2-14.17.2+76-ge1f9cb16e2-1ubuntu14.17.3+10-g091466ba55-14.17.3+10-g091466ba55-1.1ubuntu24.17.3+10-g091466ba55-1.1ubuntu3
None known
xen
Ubuntu:25.10
All versions, plus listed versions
4.20.0-1ubuntu14.20.0+68-g35cb38b222-1
None known
xen
Ubuntu:26.10
All versions, plus listed versions
4.20.2+7-g1badcf5035-2build24.20.2+37-g61ff35323e-1ubuntu14.20.3+127-gc42374a105-1
None known
xen
Ubuntu:26.04:LTS
All versions, plus listed versions
4.20.0+68-g35cb38b222-14.20.2+7-g1badcf5035-24.20.2+7-g1badcf5035-2build2
None known
xen
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 4.18.0_06-1.1
4.18.0_06-1.1

History

History
RecordedChangedSources
affected, facts
affected
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-46840 is a medium vulnerability (CVSS 4.1) in Xen, published January 30, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.26%, the 18th percentile. Fixed in xen 4.17.3+10-g091466ba55-1~deb12u1.

References

Show 16 moreShow less
MoveEnter Open