CVE-2026-99209: drm/xe: skip eviction of a BO with no resource

Published Oct 28, 2026
·
Updated

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

drm/xe: skip eviction of a BO with no resource

xeevictflags() switches on tbo->resource->memtype to choose an eviction placement. An xe BO can reach eviction with no ttm.resource, e.g. an imported dma-buf BO whose resource was freed during teardown while its attachment is still live: the exporter then invalidates it via xedmabufmovenotify() -> xeboevict(), and the switch dereferences a NULL resource and faults.

A BO with no resource has nothing placed or mapped, so there is nothing to evict. Return an empty placement (numplacement = 0), mirroring the handling already used for non-xe scatter-gather BOs just above; ttmbovalidate() then takes the pipeline-gutting path and returns 0.

Without the fix the xedmabuf@xetestdmabufmovenotifynoresource dynamic live selftest will fail with below stack.

BUG: kernel NULL pointer dereference, address: 0000000000000010 RIP: 0010:xeevictflags+0xf4/0x140 [xe] Call Trace: <TASK> xeboevict+0x40/0xa0 [xe] ? ttmbopipelinegutting+0x71/0x180 [ttm] xetestdmabufmovenotifynoresource+0x182/0x440 [xe] xedmabufkunit+0x387/0x580 [xe]

v2: Add Fixes tag and failure info in commit text (Matt Brost)

(cherry picked from commit dbcfaac6331f1fcb0c2fe3ad3e9adb1e5d43ec0c)

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch dbcfaac6331f1fcb0c2fe3ad3e9adb1e5d43ec0c

Event History

Oct 28, 2026
CVE Published
via MITRE·10:36 AM
Data Sourced
via MITRE·10:36 AM
Description

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