CVE-2026-142871: iommu/amd: remove obsolete domain pointer warning on release

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

iommu/amd: remove obsolete domain pointer warning on release

A warning is triggered in amdiommureleasedevice() on removal of a device with an IOMMURESVDIRECT region. The warning is based on the false assumption that correct attachment to the releasedomain will always result in a NULL devdata->domain pointer. For devices with IOMMURESVDIRECT (and consequently dev->iommu->requiredirect), the release domain is the permanent identitydomain which sets itself to devdata->domain on attach.

This behaviour was added in commit e94160488e65 ("iommu: Generic support for RMRs during device release"). Commit c21b34762e2f ("iommu/amd: Set releasedomain to blockeddomain") caused it to take effect for AMD IOMMU.

Remove the warning as it is no longer strictly an error to have a non-NULL domain pointer. As this leaves amdiommureleasedevice() empty, remove it.

The warning was observed for a device with direct mapped region:

/sys/bus/pci/devices/0000:04:00.0/iommugroup/reservedregions:

0x00000000fee00000 0x00000000feefffff msi 0x000000fd00000000 0x000000ffffffffff reserved 0x0000fffd00000000 0x0000ffffffffffff direct

Upon hotunplug:

[ 28.715475] pcieport 0000:00:03.1: pciehp: Slot(0-3): Link Down [ 28.715482] pcieport 0000:00:03.1: pciehp: Slot(0-3): Card not present [ 28.715601] ------------[ cut here ]------------ [ 28.715603] WARNING: drivers/iommu/amd/iommu.c:2521 at amdiommureleasedevice+0x5d/0x70, CPU#4: irq/29-pciehp/99 [ 28.715657] RIP: 0010:amdiommureleasedevice+0x5d/0x70 [ 28.715687] Call Trace: [ 28.715689] <TASK> [ 28.715694] iommudeinitdevice+0x84/0x110 [ 28.715699] iommugroupremovedevice+0xa8/0xd0 [ 28.715703] iommubusnotifier+0x48/0x70 [ 28.715707] notifiercallchain+0x48/0xe0 [ 28.715712] blockingnotifiercallchain+0x45/0x60 [ 28.715716] busnotify+0x3b/0x60 [ 28.715720] devicedel+0x259/0x3b0 [ 28.715730] pciremovebusdevice+0x85/0x100 [ 28.715735] pciehpunconfiguredevice+0x9d/0x180 [ 28.715743] pciehpdisableslot+0x47/0xe0 [ 28.715747] pciehphandlepresenceorlinkchange+0x80/0x5e0 [ 28.715753] pciehpist+0x162/0x290

Affected Software

1 affected component
Linux Linux kernel

Event History

Dec 3, 2026
CVE Published
via MITRE·03:23 AM
Data Sourced
via MITRE·03:23 AM
Description

Frequently Asked Questions

1

Which systems are affected by the warning?

Systems using the AMD IOMMU are affected when a device has an IOMMU_RESV_DIRECT reserved region and is removed. In this case, the device may be attached to the permanent identity domain, leaving its domain pointer non-NULL during release.

2

How can I tell whether this condition is present?

The warning is triggered during device removal in amd_iommu_release_device(). A device's iommu_group/reserved_regions entry can show a direct-mapped region; the reported example included a region labeled "direct".

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203