PT-2026-128202
CVE-2026-99209
·
Published
2026-10-28
·
Updated
2026-10-28
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
drm/xe: skip eviction of a BO with no resource
xe evict flags() switches on tbo->resource->mem type 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
xe dma buf move notify() -> xe bo evict(), 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 (num placement = 0), mirroring the
handling already used for non-xe scatter-gather BOs just above;
ttm bo validate() then takes the pipeline-gutting path and returns 0.
Without the fix the xe dma buf@xe test dmabuf move notify no resource
dynamic live selftest will fail with below stack.
BUG: kernel NULL pointer dereference, address: 0000000000000010
RIP: 0010:xe evict flags+0xf4/0x140 [xe]
Call Trace:
xe bo evict+0x40/0xa0 [xe]
? ttm bo pipeline gutting+0x71/0x180 [ttm]
xe test dmabuf move notify no resource+0x182/0x440 [xe]
xe dma buf kunit+0x387/0x580 [xe]
v2: Add Fixes tag and failure info in commit text (Matt Brost)
(cherry picked from commit dbcfaac6331f1fcb0c2fe3ad3e9adb1e5d43ec0c)
Found an issue in the description? Have something to add? Feel free to write us 👾