{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-46839",
        "ASSIGNER": "security@xen.org",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "PCI devices can make use of a functionality called phantom functions,\nthat when enabled allows the device to generate requests using the IDs\nof functions that are otherwise unpopulated.  This allows a device to\nextend the number of outstanding requests.\n\nSuch phantom functions need an IOMMU context setup, but failure to\nsetup the context is not fatal when the device is assigned.  Not\nfailing device assignment when such failure happens can lead to the\nprimary device being assigned to a guest, while some of the phantom\nfunctions are assigned to a different domain.\n"
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "Xen",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Xen",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "not down converted",
                                            "x_cve_json_5_version_data": {
                                                "versions": [
                                                    {
                                                        "status": "unknown",
                                                        "version": "consult Xen advisory XSA-449"
                                                    }
                                                ],
                                                "defaultStatus": "unknown"
                                            }
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://xenbits.xenproject.org/xsa/advisory-449.html",
                "refsource": "MISC",
                "name": "https://xenbits.xenproject.org/xsa/advisory-449.html"
            }
        ]
    },
    "configuration": [
        {
            "lang": "en",
            "value": "Systems running all version of Xen are affected.\n\nOnly x86 systems are vulnerable.  Arm systems are not vulnerable.\n\nOnly systems using PCI passthrough of devices with phantom functions\nare affected.\n"
        }
    ],
    "work_around": [
        {
            "lang": "en",
            "value": "There is no mitigation (other than not passing through PCI devices\nwith phantom functions to guests).\n"
        }
    ],
    "credits": [
        {
            "lang": "en",
            "value": "This issue was discovered by Roger Pau Monn\u00e9 of XenServer.\n"
        }
    ]
}