{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142871",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.334Z",
        "datePublished": "2026-12-03T03:23:31.478Z",
        "dateUpdated": "2026-12-03T03:23:31.478Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T03:23:31.478Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niommu/amd: remove obsolete domain pointer warning on release\n\nA warning is triggered in amd_iommu_release_device() on removal of a\ndevice with an IOMMU_RESV_DIRECT region. The warning is based on the\nfalse assumption that correct attachment to the release_domain will\nalways result in a NULL dev_data->domain pointer. For devices with\nIOMMU_RESV_DIRECT (and consequently dev->iommu->require_direct), the\nrelease domain is the permanent identity_domain which sets\nitself to dev_data->domain on attach.\n\nThis behaviour was added in commit e94160488e65 (\"iommu: Generic support\nfor RMRs during device release\"). Commit c21b34762e2f (\"iommu/amd: Set\nrelease_domain to blocked_domain\") caused it to take effect for AMD\nIOMMU.\n\nRemove the warning as it is no longer strictly an error to have a non-NULL\ndomain pointer. As this leaves amd_iommu_release_device() empty, remove it.\n\nThe warning was observed for a device with direct mapped region:\n\n/sys/bus/pci/devices/0000:04:00.0/iommu_group/reserved_regions:\n\n  0x00000000fee00000 0x00000000feefffff msi\n  0x000000fd00000000 0x000000ffffffffff reserved\n  0x0000fffd00000000 0x0000ffffffffffff direct\n\nUpon hotunplug:\n\n[   28.715475] pcieport 0000:00:03.1: pciehp: Slot(0-3): Link Down\n[   28.715482] pcieport 0000:00:03.1: pciehp: Slot(0-3): Card not present\n[   28.715601] ------------[ cut here ]------------\n[   28.715603] WARNING: drivers/iommu/amd/iommu.c:2521 at amd_iommu_release_device+0x5d/0x70, CPU#4: irq/29-pciehp/99\n[   28.715657] RIP: 0010:amd_iommu_release_device+0x5d/0x70\n[   28.715687] Call Trace:\n[   28.715689]  <TASK>\n[   28.715694]  iommu_deinit_device+0x84/0x110\n[   28.715699]  __iommu_group_remove_device+0xa8/0xd0\n[   28.715703]  iommu_bus_notifier+0x48/0x70\n[   28.715707]  notifier_call_chain+0x48/0xe0\n[   28.715712]  blocking_notifier_call_chain+0x45/0x60\n[   28.715716]  bus_notify+0x3b/0x60\n[   28.715720]  device_del+0x259/0x3b0\n[   28.715730]  pci_remove_bus_device+0x85/0x100\n[   28.715735]  pciehp_unconfigure_device+0x9d/0x180\n[   28.715743]  __pciehp_disable_slot+0x47/0xe0\n[   28.715747]  pciehp_handle_presence_or_link_change+0x80/0x5e0\n[   28.715753]  pciehp_ist+0x162/0x290"
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/iommu/amd/iommu.c"
                    ],
                    "versions": [
                        {
                            "version": "c21b34762e2f4a9a255b4ef69a018f8787699bf8",
                            "lessThan": "399c8fb1fafc9114877125bc5c8e3225d4f8222f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c21b34762e2f4a9a255b4ef69a018f8787699bf8",
                            "lessThan": "fa77b023eb80cdb297ff32f6b13786e483a81ca8",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/iommu/amd/iommu.c"
                    ],
                    "versions": [
                        {
                            "version": "6.19",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.19",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.5",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.19",
                                    "versionEndExcluding": "7.3.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.19",
                                    "versionEndExcluding": "7.4-rc2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/399c8fb1fafc9114877125bc5c8e3225d4f8222f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/fa77b023eb80cdb297ff32f6b13786e483a81ca8"
                }
            ],
            "title": "iommu/amd: remove obsolete domain pointer warning on release",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}