{"id":"CVE-2023-46840","state":"PUBLISHED","title":"VT-d: Failure to quarantine devices in !HVM builds","description":"Incorrect placement of a preprocessor directive in source code results\nin logic that doesn't operate as intended when support for HVM guests is\ncompiled out of Xen.\n","publishedAt":"2024-03-20T10:40:18.050Z","updatedAt":"2025-11-04T18:18:56.351Z","severity":{"score":4.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N","source":"CISA-ADP"},"assigner":"XEN","products":["Xen Xen"],"affected":[{"vendor":"Xen","product":"Xen","defaultStatus":"unknown","versions":[{"version":"consult Xen advisory XSA-450","status":"unknown"}]}],"references":["https://xenbits.xenproject.org/xsa/advisory-450.html","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XLL6SQ6IKFYXLYWITYZCRV5IBRK5G35R/","http://xenbits.xen.org/xsa/advisory-450.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:24.729Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/46xxx/CVE-2023-46840.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-46840","state":"PUBLISHED","datePublished":"2024-03-20T10:40:18.050Z","dateUpdated":"2025-11-04T18:18:56.351Z","assignerShortName":"XEN","assignerOrgId":"23aa2041-22e1-471f-9209-9b7396fa234f","dateReserved":"2023-10-27T07:55:35.333Z"},"containers":{"cna":{"title":"VT-d: Failure to quarantine devices in !HVM builds","descriptions":[{"lang":"en","value":"Incorrect placement of a preprocessor directive in source code results\nin logic that doesn't operate as intended when support for HVM guests is\ncompiled out of Xen.\n"}],"affected":[{"vendor":"Xen","product":"Xen","defaultStatus":"unknown","versions":[{"version":"consult Xen advisory XSA-450","status":"unknown"}]}],"references":[{"url":"https://xenbits.xenproject.org/xsa/advisory-450.html"}],"providerMetadata":{"shortName":"XEN","orgId":"23aa2041-22e1-471f-9209-9b7396fa234f","dateUpdated":"2024-03-20T10:40:18.050Z"},"datePublic":"2024-01-30T12:00:00.000Z","impacts":[{"descriptions":[{"lang":"en","value":"When a device is removed from a domain, it is not properly quarantined\nand retains its access to the domain to which it was previously\nassigned.\n"}]}],"configurations":[{"lang":"en","value":"Xen 4.17 and onwards are vulnerable.  Xen 4.16 and older are not\nvulnerable.\n\nOnly Xen running on x86 platforms with an Intel-compatible VT-d IOMMU is\nvulnerable.  Platforms from other manufacturers, or platforms without a\nVT-d IOMMU are not vulnerable.\n\nOnly systems where PCI devices are passed through to untrusted or\nsemi-trusted guests are vulnerable.  Systems which do not assign PCI\ndevices to untrusted guests are not vulnerable.\n\nXen is only vulnerable when CONFIG_HVM is disabled at build time.  Most\ndeployments of Xen are expected to have CONFIG_HVM enabled at build\ntime, and would therefore not be vulnerable.\n"}],"workarounds":[{"lang":"en","value":"There is no mitigation.\n"}],"credits":[{"lang":"en","type":"finder","value":"This issue was discovered by Teddy Astie of Vates\n"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://xenbits.xenproject.org/xsa/advisory-450.html","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XLL6SQ6IKFYXLYWITYZCRV5IBRK5G35R/"},{"url":"http://xenbits.xen.org/xsa/advisory-450.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-04T18:18:56.351Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":4.1,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"HIGH","availabilityImpact":"NONE","privilegesRequired":"HIGH","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-08-05T18:59:02.763689Z","id":"CVE-2023-46840","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-noinfo Not enough information"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-04T21:39:44.430Z"}}]}}}