Skip to contentSkip to conversation

drm/xe: Fix UAF in xe_gem_prime_import() on attach failure

PATCH In review Nitin Gote 5 participants 18 messages Jun 1 – Jun 11

Subsystems (3)
lore
Share & tools
lore

Nitin Gote

author
#0 lore raw

PATCH 1/1 drm/xe: Fix UAF in xe_gem_prime_import() on attach failure

xe_dma_buf_create_obj() creates the importer BO with obj->resv pointing at the exporter's dma_buf->resv. When dma_buf_dynamic_attach() fails, no dma_buf reference is held so the exporter can be freed immediately. Since ttm_bo_release() now always defers cleanup for ttm_bo_type_sg BOs to the TTM workqueue, the worker later calls dma_resv_lock() on the already-freed exporter resv, causing a UAF.

Reset obj->resv to the BO's private _resv before calling xe_bo_put() in the error path. The BO is not yet published (attach failed) and carries no fences, so the switch is safe.

Observed with igt@xe_live_ktest@xe_dma_buf_kunit on BMG (QEMU):

  Oops: general protection fault, probably for non-canonical address 0x6b6b6b6b6b6b6b9c
  Workqueue: ttm ttm_bo_delayed_delete [ttm]
  RIP: 0010:mutex_can_spin_on_owner+0x3f/0xc0
  Call Trace:
   <TASK>
   ? __ww_mutex_lock.constprop.0+0x2dd/0x18e0
   ? ttm_bo_delayed_delete+0x41/0xc0 [ttm]
   ww_mutex_lock+0x3c/0xb0
   ttm_bo_delayed_delete+0x41/0xc0 [ttm]
   process_one_work+0x239/0x740
   worker_thread+0x200/0x3f0
   kthread+0x10d/0x150
   ret_from_fork+0x3bd/0x470
   ret_from_fork_asm+0x1a/0x30
   </TASK>
Fixes d99fbd9aab62 ("drm/ttm: Always take the bo delayed cleanup path for imported bos")
Cc Thomas Hellstrom <[email protected]>
Cc Matthew Brost <[email protected]>
Cc Matthew Auld <[email protected]>
---
 drivers/gpu/drm/xe/xe_dma_buf.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/gpu/drm/xe/xe_dma_buf.c +8 -0
index 8a920e58245c..6d944bd4065c 100644
@@ -384,6 +384,14 @@ struct drm_gem_object *xe_gem_prime_import(struct drm_device *dev,
 
 	attach = dma_buf_dynamic_attach(dma_buf, dev->dev, attach_ops, obj);
 	if (IS_ERR(attach)) {
+		/*
+		 * The BO was created with resv = dma_buf->resv (exporter's
+		 * resv). Since attach failed, no dma_buf reference is held and
+		 * the exporter may be freed before TTM's delayed_delete worker
+		 * runs. Switch to the BO's own resv to prevent a UAF when
+		 * ttm_bo_delayed_delete() tries to lock the stale pointer.
+		 */
+		obj->resv = &obj->_resv;
 		xe_bo_put(gem_to_xe_bo(obj));
 		return ERR_CAST(attach);
 	}
Signature · 1 line
2.50.1
#1 lore raw
Quoted 46 lines · Nitin Gote

xe_dma_buf_create_obj() creates the importer BO with obj->resv pointing at the exporter's dma_buf->resv. When dma_buf_dynamic_attach() fails, no dma_buf reference is held so the exporter can be freed immediately. Since ttm_bo_release() now always defers cleanup for ttm_bo_type_sg BOs to the TTM workqueue, the worker later calls dma_resv_lock() on the already-freed exporter resv, causing a UAF.

Reset obj->resv to the BO's private _resv before calling xe_bo_put() in the error path. The BO is not yet published (attach failed) and carries no fences, so the switch is safe.

Observed with igt@xe_live_ktest@xe_dma_buf_kunit on BMG (QEMU):

   Oops: general protection fault, probably for non-canonical address 0x6b6b6b6b6b6b6b9c
   Workqueue: ttm ttm_bo_delayed_delete [ttm]
   RIP: 0010:mutex_can_spin_on_owner+0x3f/0xc0
   Call Trace:
    <TASK>
    ? __ww_mutex_lock.constprop.0+0x2dd/0x18e0
    ? ttm_bo_delayed_delete+0x41/0xc0 [ttm]
    ww_mutex_lock+0x3c/0xb0
    ttm_bo_delayed_delete+0x41/0xc0 [ttm]
    process_one_work+0x239/0x740
    worker_thread+0x200/0x3f0
    kthread+0x10d/0x150
    ret_from_fork+0x3bd/0x470
    ret_from_fork_asm+0x1a/0x30
    </TASK>
Fixes d99fbd9aab62 ("drm/ttm: Always take the bo delayed cleanup path for imported bos")
Cc Thomas Hellstrom <[email protected]>
Cc Matthew Brost <[email protected]>
Cc Matthew Auld <[email protected]>
---
  drivers/gpu/drm/xe/xe_dma_buf.c | 8 ++++++++
  1 file changed, 8 insertions(+)
drivers/gpu/drm/xe/xe_dma_buf.c +0 -0
index 8a920e58245c..6d944bd4065c 100644
@@ -384,6 +384,14 @@ struct drm_gem_object *xe_gem_prime_import(struct drm_device *dev,
 

drivers/gpu/drm/xe/xe_dma_buf.c struct drm_gem_object *xe_gem_prime_import(struct drm_device *dev, · line 394

Quoted 10 lines
drivers/gpu/drm/xe/xe_dma_buf.c +8 -0
  	attach = dma_buf_dynamic_attach(dma_buf, dev->dev, attach_ops, obj);
  	if (IS_ERR(attach)) {
+		/*
+		 * The BO was created with resv = dma_buf->resv (exporter's
+		 * resv). Since attach failed, no dma_buf reference is held and
+		 * the exporter may be freed before TTM's delayed_delete worker
+		 * runs. Switch to the BO's own resv to prevent a UAF when
+		 * ttm_bo_delayed_delete() tries to lock the stale pointer.
+		 */
+		obj->resv = &obj->_resv;

+Christian, does amdgpu not have the type of same issue here? Also any thoughts here?

Quoted 3 lines
drivers/gpu/drm/xe/xe_dma_buf.c +0 -0
  		xe_bo_put(gem_to_xe_bo(obj));
  		return ERR_CAST(attach);
  	}
#2 lore raw
Quoted 50 lines · Matthew Auld
Quoted 49 lines · Nitin Gote

xe_dma_buf_create_obj() creates the importer BO with obj->resv pointing at the exporter's dma_buf->resv. When dma_buf_dynamic_attach() fails, no dma_buf reference is held so the exporter can be freed immediately. Since ttm_bo_release() now always defers cleanup for ttm_bo_type_sg BOs to the TTM workqueue, the worker later calls dma_resv_lock() on the already-freed exporter resv, causing a UAF.

Reset obj->resv to the BO's private _resv before calling xe_bo_put() in the error path. The BO is not yet published (attach failed) and carries no fences, so the switch is safe.

Observed with igt@xe_live_ktest@xe_dma_buf_kunit on BMG (QEMU):

   Oops: general protection fault, probably for non-canonical address 0x6b6b6b6b6b6b6b9c
   Workqueue: ttm ttm_bo_delayed_delete [ttm]
   RIP: 0010:mutex_can_spin_on_owner+0x3f/0xc0
   Call Trace:
    <TASK>
    ? __ww_mutex_lock.constprop.0+0x2dd/0x18e0
    ? ttm_bo_delayed_delete+0x41/0xc0 [ttm]
    ww_mutex_lock+0x3c/0xb0
    ttm_bo_delayed_delete+0x41/0xc0 [ttm]
    process_one_work+0x239/0x740
    worker_thread+0x200/0x3f0
    kthread+0x10d/0x150
    ret_from_fork+0x3bd/0x470
    ret_from_fork_asm+0x1a/0x30
    </TASK>
Fixes d99fbd9aab62 ("drm/ttm: Always take the bo delayed cleanup path for imported bos")
Cc Thomas Hellstrom <[email protected]>
Cc Matthew Brost <[email protected]>
Cc Matthew Auld <[email protected]>

---
  drivers/gpu/drm/xe/xe_dma_buf.c | 8 ++++++++

  1 file changed, 8 insertions(+)
drivers/gpu/drm/xe/xe_dma_buf.c +2 -0
index 8a920e58245c..6d944bd4065c 100644
@@ -384,6 +384,14 @@ struct drm_gem_object *xe_gem_prime_import(struct drm_device *dev,
         attach = dma_buf_dynamic_attach(dma_buf, dev->dev, attach_ops, obj);
       if (IS_ERR(attach)) {
+        /*
+         * The BO was created with resv = dma_buf->resv (exporter's
Quoted 8 lines

drivers/gpu/drm/xe/xe_dma_buf.c struct drm_gem_object *xe_gem_prime_import(struct drm_device *dev, · line 394

Quoted 6 lines
drivers/gpu/drm/xe/xe_dma_buf.c +6 -0
+         * resv). Since attach failed, no dma_buf reference is held and
+         * the exporter may be freed before TTM's delayed_delete worker
+         * runs. Switch to the BO's own resv to prevent a UAF when
+         * ttm_bo_delayed_delete() tries to lock the stale pointer.
+         */
+        obj->resv = &obj->_resv;

+Christian, does amdgpu not have the type of same issue here? Also any thoughts here?

Oh, good catch. Yeah I think we have the same problem on amdgpu as well.

How the heck did you found that? Do we have a dummy driver (VGEM?) which could be made to always fail attachment for a test case?

@Vitaly can you take a look and try to come up with a test case for that? Thanks in advance.

Thanks for the notice,
Christian.

Quoted 5 lines
Quoted 4 lines
drivers/gpu/drm/xe/xe_dma_buf.c +0 -0
           xe_bo_put(gem_to_xe_bo(obj));
           return ERR_CAST(attach);
       }
#3 lore raw
Quoted 62 lines · Christian König
Quoted 50 lines · Matthew Auld
Quoted 49 lines · Nitin Gote

xe_dma_buf_create_obj() creates the importer BO with obj->resv pointing at the exporter's dma_buf->resv. When dma_buf_dynamic_attach() fails, no dma_buf reference is held so the exporter can be freed immediately. Since ttm_bo_release() now always defers cleanup for ttm_bo_type_sg BOs to the TTM workqueue, the worker later calls dma_resv_lock() on the already-freed exporter resv, causing a UAF.

Reset obj->resv to the BO's private _resv before calling xe_bo_put() in the error path. The BO is not yet published (attach failed) and carries no fences, so the switch is safe.

Observed with igt@xe_live_ktest@xe_dma_buf_kunit on BMG (QEMU):

    Oops: general protection fault, probably for non-canonical address 0x6b6b6b6b6b6b6b9c
    Workqueue: ttm ttm_bo_delayed_delete [ttm]
    RIP: 0010:mutex_can_spin_on_owner+0x3f/0xc0
    Call Trace:
     <TASK>
     ? __ww_mutex_lock.constprop.0+0x2dd/0x18e0
     ? ttm_bo_delayed_delete+0x41/0xc0 [ttm]
     ww_mutex_lock+0x3c/0xb0
     ttm_bo_delayed_delete+0x41/0xc0 [ttm]
     process_one_work+0x239/0x740
     worker_thread+0x200/0x3f0
     kthread+0x10d/0x150
     ret_from_fork+0x3bd/0x470
     ret_from_fork_asm+0x1a/0x30
     </TASK>
Fixes d99fbd9aab62 ("drm/ttm: Always take the bo delayed cleanup path for imported bos")
Cc Thomas Hellstrom <[email protected]>
Cc Matthew Brost <[email protected]>
Cc Matthew Auld <[email protected]>
---
   drivers/gpu/drm/xe/xe_dma_buf.c | 8 ++++++++
   1 file changed, 8 insertions(+)
drivers/gpu/drm/xe/xe_dma_buf.c +2 -0
index 8a920e58245c..6d944bd4065c 100644
@@ -384,6 +384,14 @@ struct drm_gem_object *xe_gem_prime_import(struct drm_device *dev,
         attach = dma_buf_dynamic_attach(dma_buf, dev->dev, attach_ops, obj);
       if (IS_ERR(attach)) {
+        /*
+         * The BO was created with resv = dma_buf->resv (exporter's
Quoted 8 lines

drivers/gpu/drm/xe/xe_dma_buf.c struct drm_gem_object *xe_gem_prime_import(struct drm_device *dev, · line 394

Quoted 6 lines
drivers/gpu/drm/xe/xe_dma_buf.c +6 -0
+         * resv). Since attach failed, no dma_buf reference is held and
+         * the exporter may be freed before TTM's delayed_delete worker
+         * runs. Switch to the BO's own resv to prevent a UAF when
+         * ttm_bo_delayed_delete() tries to lock the stale pointer.
+         */
+        obj->resv = &obj->_resv;

+Christian, does amdgpu not have the type of same issue here? Also any thoughts here?

Quoted 1 line

Oh, good catch. Yeah I think we have the same problem on amdgpu as well.

Maybe dumb question, but why does the ttm_bo_individualize_resv() skip the final switch of the resv for type_sg? It goes through the trouble of copying the fences across?

If we do need to handle this here, do we also need to grab the lru lock, like we do in ttm_bo_individualize_resv() when doing the swap?

Ideally xe and amdgpu can just have identical solutions here.

Quoted 14 lines

How the heck did you found that? Do we have a dummy driver (VGEM?) which could be made to always fail attachment for a test case?

@Vitaly can you take a look and try to come up with a test case for that? Thanks in advance.

Thanks for the notice,
Christian.

Quoted 5 lines
Quoted 4 lines
drivers/gpu/drm/xe/xe_dma_buf.c +0 -0
           xe_bo_put(gem_to_xe_bo(obj));
           return ERR_CAST(attach);
       }
#4 lore raw
Quoted 63 lines · Matthew Auld
Quoted 62 lines · Christian König
Quoted 58 lines · Matthew Auld
Quoted 45 lines · Nitin Gote

xe_dma_buf_create_obj() creates the importer BO with obj->resv pointing at the exporter's dma_buf->resv. When dma_buf_dynamic_attach() fails, no dma_buf reference is held so the exporter can be freed immediately. Since ttm_bo_release() now always defers cleanup for ttm_bo_type_sg BOs to the TTM workqueue, the worker later calls dma_resv_lock() on the already-freed exporter resv, causing a UAF.

Reset obj->resv to the BO's private _resv before calling xe_bo_put() in the error path. The BO is not yet published (attach failed) and carries no fences, so the switch is safe.

Observed with igt@xe_live_ktest@xe_dma_buf_kunit on BMG (QEMU):

    Oops: general protection fault, probably for non-canonical address 0x6b6b6b6b6b6b6b9c
    Workqueue: ttm ttm_bo_delayed_delete [ttm]
    RIP: 0010:mutex_can_spin_on_owner+0x3f/0xc0
    Call Trace:
     <TASK>
     ? __ww_mutex_lock.constprop.0+0x2dd/0x18e0
     ? ttm_bo_delayed_delete+0x41/0xc0 [ttm]
     ww_mutex_lock+0x3c/0xb0
     ttm_bo_delayed_delete+0x41/0xc0 [ttm]
     process_one_work+0x239/0x740
     worker_thread+0x200/0x3f0
     kthread+0x10d/0x150
     ret_from_fork+0x3bd/0x470
     ret_from_fork_asm+0x1a/0x30
     </TASK>
Fixes d99fbd9aab62 ("drm/ttm: Always take the bo delayed cleanup path for imported bos")
Cc Thomas Hellstrom <[email protected]>
Cc Matthew Brost <[email protected]>
Cc Matthew Auld <[email protected]>

---
   drivers/gpu/drm/xe/xe_dma_buf.c | 8 ++++++++

   1 file changed, 8 insertions(+)
drivers/gpu/drm/xe/xe_dma_buf.c +0 -0
index 8a920e58245c..6d944bd4065c 100644

drivers/gpu/drm/xe/xe_dma_buf.c struct drm_gem_object *xe_gem_prime_import(struct drm_device *dev, · line 393

Quoted 10 lines
drivers/gpu/drm/xe/xe_dma_buf.c +8 -0
@@ -384,6 +384,14 @@ struct drm_gem_object *xe_gem_prime_import(struct drm_device *dev,
          attach = dma_buf_dynamic_attach(dma_buf, dev->dev, attach_ops, obj);
        if (IS_ERR(attach)) {
+        /*
+         * The BO was created with resv = dma_buf->resv (exporter's
+         * resv). Since attach failed, no dma_buf reference is held and
+         * the exporter may be freed before TTM's delayed_delete worker
+         * runs. Switch to the BO's own resv to prevent a UAF when
+         * ttm_bo_delayed_delete() tries to lock the stale pointer.
+         */
+        obj->resv = &obj->_resv;

+Christian, does amdgpu not have the type of same issue here? Also any thoughts here?

Quoted 3 lines
Quoted 1 line

Oh, good catch. Yeah I think we have the same problem on amdgpu as well.

Maybe dumb question, but why does the ttm_bo_individualize_resv() skip the final switch of the resv for type_sg?

Because we need the original resv object for cleaning up the mapping should the initial attach and then map have succeed.

Quoted 1 line

It goes through the trouble of copying the fences across?

Because we need to know when the import can be cleaned up.

In other words TTM takes a copy of the current fences and only unmap, detach and then do the final cleanup after we are sure that the set of fences which was active on destruction is now signaled.

If new fences are added to the resv object (maybe by the exporter itself or other importers) after our reference count got down to zero then we don't care about that.

Quoted 1 line

If we do need to handle this here, do we also need to grab the lru lock, like we do in ttm_bo_individualize_resv() when doing the swap?

Good question, of hand I would say yes but I clearly need to check the source code as well.

Might be better to switch the type of the BO on error so that the normal cleanup will just switch over to the local dma_resv object.

Since we don't need the original dma_resv for the cleanup that should work fine.

Quoted 1 line

Ideally xe and amdgpu can just have identical solutions here.

Yeah completely agree.

Regards,
Christian.

Quoted 16 lines
Quoted 15 lines

How the heck did you found that? Do we have a dummy driver (VGEM?) which could be made to always fail attachment for a test case?

@Vitaly can you take a look and try to come up with a test case for that? Thanks in advance.

Thanks for the notice,
Christian.

Quoted 5 lines
Quoted 4 lines
drivers/gpu/drm/xe/xe_dma_buf.c +0 -0
            xe_bo_put(gem_to_xe_bo(obj));
            return ERR_CAST(attach);
        }
#5 lore raw

Hi Christian,

Quoted 105 lines

-----Original Message-----
From: Christian König <[email protected]>
Sent: Monday, June 1, 2026 5:47 PM
To: Auld, Matthew <[email protected]>; Gote, Nitin R <[email protected]>; [email protected]; Christian König <[email protected]>
Cc: [email protected]; Thomas Hellstrom <[email protected]>; Brost, Matthew <[email protected]>; Prosyak, Vitaly <[email protected]>
Subject: Re: [PATCH] drm/xe: Fix UAF in xe_gem_prime_import() on attach failure

Quoted 64 lines · Matthew Auld
Quoted 63 lines · Christian König
Quoted 60 lines · Matthew Auld
Quoted 59 lines · Nitin Gote

xe_dma_buf_create_obj() creates the importer BO with obj->resv pointing at the exporter's dma_buf->resv. When dma_buf_dynamic_attach() fails, no dma_buf reference is held so the exporter can be freed immediately. Since ttm_bo_release() now always defers cleanup for ttm_bo_type_sg BOs to the TTM workqueue, the worker later calls
dma_resv_lock() on the already-freed exporter resv, causing a UAF.

Reset obj->resv to the BO's private _resv before calling xe_bo_put() in the error path. The BO is not yet published (attach failed) and carries no fences, so the switch is safe.

Observed with igt@xe_live_ktest@xe_dma_buf_kunit on BMG (QEMU):

    Oops: general protection fault, probably for non-canonical
address 0x6b6b6b6b6b6b6b9c
    Workqueue: ttm ttm_bo_delayed_delete [ttm]
    RIP: 0010:mutex_can_spin_on_owner+0x3f/0xc0
    Call Trace:
     <TASK>
     ? __ww_mutex_lock.constprop.0+0x2dd/0x18e0
     ? ttm_bo_delayed_delete+0x41/0xc0 [ttm]
     ww_mutex_lock+0x3c/0xb0
     ttm_bo_delayed_delete+0x41/0xc0 [ttm]
     process_one_work+0x239/0x740
     worker_thread+0x200/0x3f0
     kthread+0x10d/0x150
     ret_from_fork+0x3bd/0x470
     ret_from_fork_asm+0x1a/0x30
     </TASK>

Closes:
https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/8023

Fixes d99fbd9aab62 ("drm/ttm: Always take the bo delayed cleanup

path for imported bos")

Cc Thomas Hellstrom <[email protected]>
Cc Matthew Brost <[email protected]>
Cc Matthew Auld <[email protected]>

---
   drivers/gpu/drm/xe/xe_dma_buf.c | 8 ++++++++

   1 file changed, 8 insertions(+)
(quoted diff) +0 -0

b/drivers/gpu/drm/xe/xe_dma_buf.c index 8a920e58245c..6d944bd4065c 100644

drivers/gpu/drm/xe/xe_dma_buf.c +5 -0
@@ -384,6 +384,14 @@ struct drm_gem_object
 *xe_gem_prime_import(struct drm_device *dev,
          attach = dma_buf_dynamic_attach(dma_buf, dev->dev,
 attach_ops, obj);
        if (IS_ERR(attach)) {
+        /*
+         * The BO was created with resv = dma_buf->resv
+(exporter's
+         * resv). Since attach failed, no dma_buf reference is
+held and
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

drivers/gpu/drm/xe/xe_dma_buf.c struct drm_gem_object *xe_gem_prime_import(struct drm_device *dev, · line 394

Quoted 6 lines
drivers/gpu/drm/xe/xe_dma_buf.c +6 -0
+         * the exporter may be freed before TTM's delayed_delete
+worker
+         * runs. Switch to the BO's own resv to prevent a UAF when
+         * ttm_bo_delayed_delete() tries to lock the stale pointer.
+         */
+        obj->resv = &obj->_resv;

+Christian, does amdgpu not have the type of same issue here? Also any

thoughts here?

Quoted 4 lines
Quoted 2 lines

Oh, good catch. Yeah I think we have the same problem on amdgpu as well.

Maybe dumb question, but why does the ttm_bo_individualize_resv() skip the

final switch of the resv for type_sg?

Because we need the original resv object for cleaning up the mapping should the initial attach and then map have succeed.

Quoted 1 line

It goes through the trouble of copying the fences across?

Because we need to know when the import can be cleaned up.

In other words TTM takes a copy of the current fences and only unmap, detach and then do the final cleanup after we are sure that the set of fences which was active on destruction is now signaled.

If new fences are added to the resv object (maybe by the exporter itself or other importers) after our reference count got down to zero then we don't care about that.

Quoted 9 lines
Quoted 1 line

If we do need to handle this here, do we also need to grab the lru lock, like we

do in ttm_bo_individualize_resv() when doing the swap?

Good question, of hand I would say yes but I clearly need to check the source code as well.

Might be better to switch the type of the BO on error so that the normal cleanup will just switch over to the local dma_resv object.

- obj->resv = &obj->_resv;
+ gem_to_xe_bo(obj)->ttm.type = ttm_bo_type_kernel;

Switching the type to ttm_bo_type_kernel lets ttm_bo_individualize_resv() swap resv to the BO's private _resv under lru_lock, which prevents UAF without needing any manual locking. This seems a more correct approach.

Quoted 6 lines

Since we don't need the original dma_resv for the cleanup that should work fine.

Quoted 1 line

Ideally xe and amdgpu can just have identical solutions here.

Yeah completely agree.

Quoted 7 lines

Regards,
Christian.

Quoted 3 lines
Quoted 3 lines

How the heck did you found that? Do we have a dummy driver (VGEM?) which

could be made to always fail attachment for a test case?

The bug was found via the existing KUnit test (xe_dma_buf_kunit), which was failing on a BMG VM device. The test runs 20 parameter combinations. the failing ones use force_different_devices=true + mem_mask=XE_BO_FLAG_VRAM0 + nop2p_attach_ops, where dma_buf_dynamic_attach() returns -EOPNOTSUPP, hitting the error path.

On bare metal BMG the race window is too narrow to hit the issue. To make it more deterministic, added a small msleep(100) in ttm_bo_delayed_delete() just before the dma_resv_lock() call, which widened the race window. With KASAN enabled, that gave a clear slab-use-after-free in __ww_mutex_lock — the 0x6b6b6b6b SLUB poison pattern in the faulting address confirmed the UAF.

Thanks,
Nitin

Quoted 14 lines
Quoted 2 lines
Quoted 2 lines

@Vitaly can you take a look and try to come up with a test case for that?

Thanks in advance.

Quoted 11 lines
Quoted 10 lines

Thanks for the notice,
Christian.

Quoted 5 lines
Quoted 4 lines

           xe_bo_put(gem_to_xe_bo(obj));
           return ERR_CAST(attach);
       }

#6 lore raw

Hi,

Quoted 140 lines

-----Original Message-----
From: Intel-xe <[email protected]> On Behalf Of Gote, Nitin R
Sent: Monday, June 1, 2026 8:57 PM
To: Christian König <[email protected]>; Auld, Matthew <[email protected]>; [email protected]; Christian König <[email protected]>
Cc: [email protected]; Thomas Hellstrom <[email protected]>; Brost, Matthew <[email protected]>; Prosyak, Vitaly <[email protected]>
Subject: RE: [PATCH] drm/xe: Fix UAF in xe_gem_prime_import() on attach failure

Hi Christian,

Quoted 122 lines

-----Original Message-----
From: Christian König <[email protected]>
Sent: Monday, June 1, 2026 5:47 PM
To: Auld, Matthew <[email protected]>; Gote, Nitin R <[email protected]>; [email protected]; Christian König <[email protected]>
Cc: [email protected]; Thomas Hellstrom <[email protected]>; Brost, Matthew <[email protected]>; Prosyak, Vitaly <[email protected]>
Subject: Re: [PATCH] drm/xe: Fix UAF in xe_gem_prime_import() on attach failure

Quoted 68 lines · Matthew Auld
Quoted 67 lines · Christian König
Quoted 64 lines · Matthew Auld
Quoted 63 lines · Nitin Gote

xe_dma_buf_create_obj() creates the importer BO with obj->resv pointing at the exporter's dma_buf->resv. When dma_buf_dynamic_attach() fails, no dma_buf reference is held so the exporter can be freed immediately. Since ttm_bo_release() now always defers cleanup for ttm_bo_type_sg BOs to the TTM workqueue, the worker later calls
dma_resv_lock() on the already-freed exporter resv, causing a UAF.

Reset obj->resv to the BO's private _resv before calling xe_bo_put() in the error path. The BO is not yet published (attach
failed) and carries no fences, so the switch is safe.

Observed with igt@xe_live_ktest@xe_dma_buf_kunit on BMG (QEMU):

    Oops: general protection fault, probably for non-canonical
address 0x6b6b6b6b6b6b6b9c
    Workqueue: ttm ttm_bo_delayed_delete [ttm]
    RIP: 0010:mutex_can_spin_on_owner+0x3f/0xc0
    Call Trace:
     <TASK>
     ? __ww_mutex_lock.constprop.0+0x2dd/0x18e0
     ? ttm_bo_delayed_delete+0x41/0xc0 [ttm]
     ww_mutex_lock+0x3c/0xb0
     ttm_bo_delayed_delete+0x41/0xc0 [ttm]
     process_one_work+0x239/0x740
     worker_thread+0x200/0x3f0
     kthread+0x10d/0x150
     ret_from_fork+0x3bd/0x470
     ret_from_fork_asm+0x1a/0x30
     </TASK>

Closes:
https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/8023

Fixes d99fbd9aab62 ("drm/ttm: Always take the bo delayed cleanup

path for imported bos")

Cc Thomas Hellstrom <[email protected]>
Cc Matthew Brost <[email protected]>
Cc Matthew Auld <[email protected]>

---
   drivers/gpu/drm/xe/xe_dma_buf.c | 8 ++++++++

   1 file changed, 8 insertions(+)
(quoted diff) +0 -0

b/drivers/gpu/drm/xe/xe_dma_buf.c index
8a920e58245c..6d944bd4065c
100644

drivers/gpu/drm/xe/xe_dma_buf.c +7 -0
@@ -384,6 +384,14 @@ struct drm_gem_object
 *xe_gem_prime_import(struct drm_device *dev,
          attach = dma_buf_dynamic_attach(dma_buf, dev->dev,
 attach_ops, obj);
        if (IS_ERR(attach)) {
+        /*
+         * The BO was created with resv = dma_buf->resv
+(exporter's
+         * resv). Since attach failed, no dma_buf reference is
+held and
+         * the exporter may be freed before TTM's delayed_delete
+worker
Quoted 8 lines
Quoted 8 lines

Review

Quoted 8 lines
Quoted 5 lines
drivers/gpu/drm/xe/xe_dma_buf.c +5 -0
+         * runs. Switch to the BO's own resv to prevent a UAF
+when
+         * ttm_bo_delayed_delete() tries to lock the stale pointer.
+         */
+        obj->resv = &obj->_resv;
(quoted diff) +2 -0
+Christian, does amdgpu not have the type of same issue here? Also
+any

thoughts here?

Quoted 5 lines
Quoted 2 lines

Oh, good catch. Yeah I think we have the same problem on amdgpu as well.

Maybe dumb question, but why does the ttm_bo_individualize_resv() skip the

final switch of the resv for type_sg?

Because we need the original resv object for cleaning up the mapping should the initial attach and then map have succeed.

Quoted 1 line

It goes through the trouble of copying the fences across?

Because we need to know when the import can be cleaned up.

In other words TTM takes a copy of the current fences and only unmap, detach and then do the final cleanup after we are sure that the set of fences which was active on destruction is now signaled.

If new fences are added to the resv object (maybe by the exporter itself or other
importers) after our reference count got down to zero then we don't care about that.

Quoted 2 lines

If we do need to handle this here, do we also need to grab the lru lock, like we

do in ttm_bo_individualize_resv() when doing the swap?

Good question, of hand I would say yes but I clearly need to check the source code as well.

Might be better to switch the type of the BO on error so that the normal cleanup will just switch over to the local dma_resv object.

(quoted diff) +1 -1
-               obj->resv = &obj->_resv;
+               gem_to_xe_bo(obj)->ttm.type = ttm_bo_type_kernel;
Quoted 3 lines

Switching the type to ttm_bo_type_kernel lets ttm_bo_individualize_resv() swap resv to the BO's private _resv under lru_lock, which prevents UAF without needing any manual locking.

Checked all bo->type readers (xe_evict_flags(), xe_bo_move(), xe_bo_can_migrate()) and found they can be called concurrently by the shrinker or eviction paths without any synchronization, making the bo->type change unsafe.

Switching resv to &obj->_resv under lru_lock, mirroring ttm_bo_individualize_resv(), is the more reasonable. I'll send this as v2, along with a separate patch fixing the same issue in amdgpu.

- Nitin

Quoted 46 lines
Quoted 1 line

Since we don't need the original dma_resv for the cleanup that should work

fine.

Quoted 5 lines
Quoted 2 lines

Ideally xe and amdgpu can just have identical solutions here.

Yeah completely agree.

Quoted 8 lines

Regards,
Christian.

Quoted 4 lines
Quoted 4 lines

How the heck did you found that? Do we have a dummy driver (VGEM?) which

could be made to always fail attachment for a test case?

The bug was found via the existing KUnit test (xe_dma_buf_kunit), which was failing on a BMG VM device. The test runs 20 parameter combinations. the failing ones use force_different_devices=true + mem_mask=XE_BO_FLAG_VRAM0 + nop2p_attach_ops, where dma_buf_dynamic_attach() returns -EOPNOTSUPP, hitting the error path.

On bare metal BMG the race window is too narrow to hit the issue. To make it more deterministic, added a small msleep(100) in ttm_bo_delayed_delete() just before the dma_resv_lock() call, which widened the race window. With KASAN enabled, that gave a clear slab-use-after-free in __ww_mutex_lock — the 0x6b6b6b6b SLUB poison pattern in the faulting address confirmed the UAF.

Thanks,
Nitin

Quoted 14 lines
Quoted 2 lines
Quoted 2 lines

@Vitaly can you take a look and try to come up with a test case for that?

Thanks in advance.

Quoted 11 lines
Quoted 10 lines

Thanks for the notice,
Christian.

Quoted 5 lines
Quoted 4 lines

           xe_bo_put(gem_to_xe_bo(obj));
           return ERR_CAST(attach);
       }

#7 lore raw

Hi,

Quoted 175 lines · Nitin R

Hi,

Quoted 173 lines

-----Original Message-----
From: Intel-xe <[email protected]> On Behalf Of Gote, Nitin
R
Sent: Monday, June 1, 2026 8:57 PM
To: Christian König <[email protected]>; Auld, Matthew <[email protected]>; [email protected]; Christian König
<[email protected]>
Cc: [email protected]; Thomas Hellstrom <[email protected]>; Brost, Matthew <[email protected]>; Prosyak, Vitaly <[email protected]>
Subject: RE: [PATCH] drm/xe: Fix UAF in xe_gem_prime_import() on attach failure

Hi Christian,

Quoted 139 lines

-----Original Message-----
From: Christian König <[email protected]>
Sent: Monday, June 1, 2026 5:47 PM
To: Auld, Matthew <[email protected]>; Gote, Nitin R <[email protected]>; [email protected]; Christian
König <[email protected]>
Cc: [email protected]; Thomas Hellstrom <[email protected]>; Brost, Matthew <[email protected]>; Prosyak, Vitaly <[email protected]>
Subject: Re: [PATCH] drm/xe: Fix UAF in xe_gem_prime_import() on attach failure

Quoted 82 lines · Matthew Auld
Quoted 81 lines · Christian König
Quoted 78 lines · Matthew Auld
Quoted 77 lines · Nitin Gote

xe_dma_buf_create_obj() creates the importer BO with obj-

Quoted 1 line

resv

pointing at the exporter's dma_buf->resv. When dma_buf_dynamic_attach() fails, no dma_buf reference is held so
the exporter can be freed immediately. Since ttm_bo_release() now
always defers cleanup for ttm_bo_type_sg BOs to the TTM workqueue, the worker later calls dma_resv_lock() on the already-freed exporter resv, causing a UAF.

Reset obj->resv to the BO's private _resv before calling xe_bo_put() in the error path. The BO is not yet published
(attach
failed) and carries no fences, so the switch is safe.

Observed with igt@xe_live_ktest@xe_dma_buf_kunit on BMG (QEMU):

    Oops: general protection fault, probably for non-
canonical
address 0x6b6b6b6b6b6b6b9c
    Workqueue: ttm ttm_bo_delayed_delete [ttm]
    RIP: 0010:mutex_can_spin_on_owner+0x3f/0xc0
    Call Trace:
     <TASK>
     ? __ww_mutex_lock.constprop.0+0x2dd/0x18e0
     ? ttm_bo_delayed_delete+0x41/0xc0 [ttm]
     ww_mutex_lock+0x3c/0xb0
     ttm_bo_delayed_delete+0x41/0xc0 [ttm]
     process_one_work+0x239/0x740
     worker_thread+0x200/0x3f0
     kthread+0x10d/0x150
     ret_from_fork+0x3bd/0x470
     ret_from_fork_asm+0x1a/0x30
     </TASK>

Closes:
https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/8023

Fixes d99fbd9aab62 ("drm/ttm: Always take the bo delayed

cleanup
path for imported bos")

Cc [email protected] # v6.8+
Cc Thomas Hellstrom <[email protected]>
Cc Matthew Brost <[email protected]>
Cc Matthew Auld <[email protected]>

---
   drivers/gpu/drm/xe/xe_dma_buf.c | 8 ++++++++

   1 file changed, 8 insertions(+)
(quoted diff) +0 -0

b/drivers/gpu/drm/xe/xe_dma_buf.c index
8a920e58245c..6d944bd4065c
100644

drivers/gpu/drm/xe/xe_dma_buf.c +0 -0
@@ -384,6 +384,14 @@ struct drm_gem_object
 *xe_gem_prime_import(struct drm_device *dev,

         attach = dma_buf_dynamic_attach(dma_buf, dev-

Quoted 1 line

dev,

attach_ops, obj);
       if (IS_ERR(attach)) {
+        /*
+         * The BO was created with resv = dma_buf->resv +(exporter's
+         * resv). Since attach failed, no dma_buf reference is
+held and
+         * the exporter may be freed before TTM's delayed_delete
+worker
+         * runs. Switch to the BO's own resv to prevent a UAF
+when

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines

+         * ttm_bo_delayed_delete() tries to lock the stale pointer.
+         */
+        obj->resv = &obj->_resv;

+Christian, does amdgpu not have the type of same issue here? Also
+any

thoughts here?

Quoted 7 lines
Quoted 3 lines

Oh, good catch. Yeah I think we have the same problem on amdgpu as well.

Maybe dumb question, but why does the
ttm_bo_individualize_resv()
skip the

final switch of the resv for type_sg?

Because we need the original resv object for cleaning up the mapping
should the initial attach and then map have succeed.

Quoted 1 line

It goes through the trouble of copying the fences across?

Because we need to know when the import can be cleaned up.

In other words TTM takes a copy of the current fences and only unmap,
detach and then do the final cleanup after we are sure that the set of
fences which was active on destruction is now signaled.

If new fences are added to the resv object (maybe by the exporter itself or other
importers) after our reference count got down to zero then we don't
care about that.

Quoted 3 lines

If we do need to handle this here, do we also need to grab the lru
lock, like we

do in ttm_bo_individualize_resv() when doing the swap?

Quoted 8 lines

Good question, of hand I would say yes but I clearly need to check the
source code as well.

Might be better to switch the type of the BO on error so that the normal cleanup will just switch over to the local dma_resv object.

-               obj->resv = &obj->_resv;
+               gem_to_xe_bo(obj)->ttm.type = ttm_bo_type_kernel;

Switching the type to ttm_bo_type_kernel lets ttm_bo_individualize_resv() swap
resv to the BO's private _resv under lru_lock, which prevents UAF without
needing any manual locking.

The lru lock is IIRC only needed and safe when the ttm refcount is zero (in the TTM destruction path) to protect against a racing LRU walk trylock succeeds against the incorrect resv.

I wonder whether this was actually why xe code initially took care not to publish the bo on the LRUs until the attachment succeeded.

A TTM LRU walker may pick up the exporting resv as soon as the resource is published on the LRU, and then try to lock it using ttm_lru_walk_ticketlock(). The lru lock doesn't protect against that.

So we have a sort of moment22, since with that approach move_notify() could be called without the bo being fully initialized.

One way to move forward would perhaps be to, for now, reinstate that and have move_notify check if the bo is a stub or fully initialized before doing anything.

Also perhaps we should in the future consider allowing dma-buf attachment removal under a separate lower-level lock than the resv.

Thanks,
Thomas

Quoted 69 lines

Checked all bo->type readers (xe_evict_flags(), xe_bo_move(), xe_bo_can_migrate()) and found they can be called concurrently by the shrinker or eviction paths without any synchronization, making the bo->type change unsafe.

Switching resv to &obj->_resv under lru_lock, mirroring ttm_bo_individualize_resv(), is the more reasonable. I'll send this as v2, along with a separate patch fixing the same issue in amdgpu.

- Nitin

Quoted 56 lines
Quoted 2 lines

Since we don't need the original dma_resv for the cleanup that should work

fine.

Quoted 10 lines
Quoted 2 lines

Ideally xe and amdgpu can just have identical solutions here.

Yeah completely agree.

Regards,
Christian.

Quoted 2 lines
Quoted 2 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines

How the heck did you found that? Do we have a dummy driver (VGEM?)
which

could be made to always fail attachment for a test case?

The bug was found via the existing KUnit test (xe_dma_buf_kunit), which was
failing on a BMG VM device. The test runs 20 parameter combinations.
the failing ones use force_different_devices=true + mem_mask=XE_BO_FLAG_VRAM0 + nop2p_attach_ops, where dma_buf_dynamic_attach() returns -EOPNOTSUPP, hitting the error path.

On bare metal BMG the race window is too narrow to hit the issue. To make it
more deterministic, added a small msleep(100) in ttm_bo_delayed_delete() just
before the dma_resv_lock() call, which widened the race window. With KASAN enabled, that gave a clear slab-use-after-free in __ww_mutex_lock
— the 0x6b6b6b6b SLUB poison pattern in the faulting address confirmed the
UAF.

Thanks,
Nitin

Quoted 15 lines
Quoted 3 lines
Quoted 3 lines

@Vitaly can you take a look and try to come up with a test case for that?

Thanks in advance.

Quoted 11 lines
Quoted 10 lines

Thanks for the notice,
Christian.

Quoted 5 lines
Quoted 4 lines

           xe_bo_put(gem_to_xe_bo(obj));
           return ERR_CAST(attach);
       }

#8 lore raw
Quoted 193 lines · Thomas Hellström

Hi,

Quoted 175 lines · Nitin R

Hi,

Quoted 173 lines

-----Original Message-----
From: Intel-xe <[email protected]> On Behalf Of Gote, Nitin
R
Sent: Monday, June 1, 2026 8:57 PM
To: Christian König <[email protected]>; Auld, Matthew <[email protected]>; [email protected]; Christian König
<[email protected]>
Cc: [email protected]; Thomas Hellstrom <[email protected]>; Brost, Matthew <[email protected]>; Prosyak, Vitaly <[email protected]>
Subject: RE: [PATCH] drm/xe: Fix UAF in xe_gem_prime_import() on attach failure

Hi Christian,

Quoted 139 lines

-----Original Message-----
From: Christian König <[email protected]>
Sent: Monday, June 1, 2026 5:47 PM
To: Auld, Matthew <[email protected]>; Gote, Nitin R <[email protected]>; [email protected]; Christian
König <[email protected]>
Cc: [email protected]; Thomas Hellstrom <[email protected]>; Brost, Matthew <[email protected]>; Prosyak, Vitaly <[email protected]>
Subject: Re: [PATCH] drm/xe: Fix UAF in xe_gem_prime_import() on attach failure

Quoted 82 lines · Matthew Auld
Quoted 81 lines · Christian König
Quoted 78 lines · Matthew Auld
Quoted 77 lines · Nitin Gote

xe_dma_buf_create_obj() creates the importer BO with obj-

Quoted 1 line

resv

pointing at the exporter's dma_buf->resv. When dma_buf_dynamic_attach() fails, no dma_buf reference is held so
the exporter can be freed immediately. Since ttm_bo_release() now
always defers cleanup for ttm_bo_type_sg BOs to the TTM workqueue, the worker later calls dma_resv_lock() on the already-freed exporter resv, causing a UAF.

Reset obj->resv to the BO's private _resv before calling xe_bo_put() in the error path. The BO is not yet published
(attach
failed) and carries no fences, so the switch is safe.

Observed with igt@xe_live_ktest@xe_dma_buf_kunit on BMG (QEMU):

     Oops: general protection fault, probably for non-
canonical
address 0x6b6b6b6b6b6b6b9c
     Workqueue: ttm ttm_bo_delayed_delete [ttm]
     RIP: 0010:mutex_can_spin_on_owner+0x3f/0xc0
     Call Trace:
      <TASK>
      ? __ww_mutex_lock.constprop.0+0x2dd/0x18e0
      ? ttm_bo_delayed_delete+0x41/0xc0 [ttm]
      ww_mutex_lock+0x3c/0xb0
      ttm_bo_delayed_delete+0x41/0xc0 [ttm]
      process_one_work+0x239/0x740
      worker_thread+0x200/0x3f0
      kthread+0x10d/0x150
      ret_from_fork+0x3bd/0x470
      ret_from_fork_asm+0x1a/0x30
      </TASK>

Closes:
https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/8023

Fixes d99fbd9aab62 ("drm/ttm: Always take the bo delayed

cleanup
path for imported bos")

Cc [email protected] # v6.8+
Cc Thomas Hellstrom <[email protected]>
Cc Matthew Brost <[email protected]>
Cc Matthew Auld <[email protected]>
---
    drivers/gpu/drm/xe/xe_dma_buf.c | 8 ++++++++
    1 file changed, 8 insertions(+)
(quoted diff) +0 -0

b/drivers/gpu/drm/xe/xe_dma_buf.c index
8a920e58245c..6d944bd4065c
100644

drivers/gpu/drm/xe/xe_dma_buf.c +4 -0
@@ -384,6 +384,14 @@ struct drm_gem_object
 *xe_gem_prime_import(struct drm_device *dev,
          attach = dma_buf_dynamic_attach(dma_buf, dev-
 > dev,
 attach_ops, obj);
        if (IS_ERR(attach)) {
+        /*
+         * The BO was created with resv = dma_buf->resv
+(exporter's
+         * resv). Since attach failed, no dma_buf

reference is
+held and
+         * the exporter may be freed before TTM's delayed_delete
+worker
+         * runs. Switch to the BO's own resv to prevent a UAF
+when

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines

+         * ttm_bo_delayed_delete() tries to lock the stale pointer.
+         */
+        obj->resv = &obj->_resv;

+Christian, does amdgpu not have the type of same issue here? Also
+any

thoughts here?

Quoted 7 lines
Quoted 3 lines

Oh, good catch. Yeah I think we have the same problem on amdgpu as well.

Maybe dumb question, but why does the
ttm_bo_individualize_resv()
skip the

final switch of the resv for type_sg?

Because we need the original resv object for cleaning up the mapping
should the initial attach and then map have succeed.

Quoted 1 line

It goes through the trouble of copying the fences across?

Because we need to know when the import can be cleaned up.

In other words TTM takes a copy of the current fences and only unmap,
detach and then do the final cleanup after we are sure that the set of
fences which was active on destruction is now signaled.

If new fences are added to the resv object (maybe by the exporter itself or other
importers) after our reference count got down to zero then we don't
care about that.

Quoted 3 lines

If we do need to handle this here, do we also need to grab the lru
lock, like we

do in ttm_bo_individualize_resv() when doing the swap?

Quoted 8 lines

Good question, of hand I would say yes but I clearly need to check the
source code as well.

Might be better to switch the type of the BO on error so that the normal cleanup will just switch over to the local dma_resv object.

-               obj->resv = &obj->_resv;
+               gem_to_xe_bo(obj)->ttm.type = ttm_bo_type_kernel;

Switching the type to ttm_bo_type_kernel lets ttm_bo_individualize_resv() swap
resv to the BO's private _resv under lru_lock, which prevents UAF without
needing any manual locking.

The lru lock is IIRC only needed and safe when the ttm refcount is zero (in the TTM destruction path) to protect against a racing LRU walk trylock succeeds against the incorrect resv.

I wonder whether this was actually why xe code initially took care not to publish the bo on the LRUs until the attachment succeeded.

A TTM LRU walker may pick up the exporting resv as soon as the resource is published on the LRU, and then try to lock it using ttm_lru_walk_ticketlock(). The lru lock doesn't protect against that.

So we have a sort of moment22, since with that approach move_notify() could be called without the bo being fully initialized.

Quoted 6 lines

One way to move forward would perhaps be to, for now, reinstate that and have move_notify check if the bo is a stub or fully initialized before doing anything.

Also perhaps we should in the future consider allowing dma-buf attachment removal under a separate lower-level lock than the resv.

Is it plausible to check for drm_gem_is_imported() in ttm_bo_individualize_resv()? If sg && !imported then it should be safe to swap out the resv?

Quoted 74 lines

Thanks,
Thomas

Quoted 69 lines

Checked all bo->type readers (xe_evict_flags(), xe_bo_move(), xe_bo_can_migrate()) and found they can be called concurrently by the shrinker or eviction paths without any synchronization, making the bo->type change unsafe.

Switching resv to &obj->_resv under lru_lock, mirroring ttm_bo_individualize_resv(), is the more reasonable. I'll send this as v2, along with a separate patch fixing the same issue in amdgpu.

- Nitin

Quoted 56 lines
Quoted 2 lines

Since we don't need the original dma_resv for the cleanup that should work

fine.

Quoted 10 lines
Quoted 2 lines

Ideally xe and amdgpu can just have identical solutions here.

Yeah completely agree.

Regards,
Christian.

Quoted 2 lines
Quoted 2 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines

How the heck did you found that? Do we have a dummy driver (VGEM?)
which

could be made to always fail attachment for a test case?

The bug was found via the existing KUnit test (xe_dma_buf_kunit), which was
failing on a BMG VM device. The test runs 20 parameter combinations.
the failing ones use force_different_devices=true + mem_mask=XE_BO_FLAG_VRAM0 + nop2p_attach_ops, where dma_buf_dynamic_attach() returns -EOPNOTSUPP, hitting the error path.

On bare metal BMG the race window is too narrow to hit the issue. To make it
more deterministic, added a small msleep(100) in ttm_bo_delayed_delete() just
before the dma_resv_lock() call, which widened the race window. With KASAN enabled, that gave a clear slab-use-after-free in __ww_mutex_lock
— the 0x6b6b6b6b SLUB poison pattern in the faulting address confirmed the
UAF.

Thanks,
Nitin

Quoted 15 lines
Quoted 3 lines
Quoted 3 lines

@Vitaly can you take a look and try to come up with a test case for that?

Thanks in advance.

Quoted 11 lines
Quoted 10 lines

Thanks for the notice,
Christian.

Quoted 5 lines
Quoted 4 lines

           xe_bo_put(gem_to_xe_bo(obj));
           return ERR_CAST(attach);
       }

#9 lore raw
Quoted 227 lines · Matthew Auld
Quoted 226 lines · Thomas Hellström

Hi,

Quoted 198 lines · Nitin R

Hi,

Quoted 196 lines

-----Original Message-----
From: Intel-xe <[email protected]> On Behalf
Of Gote, Nitin
R
Sent: Monday, June 1, 2026 8:57 PM
To: Christian König <[email protected]>; Auld, Matthew <[email protected]>; [email protected]; Christian
König
<[email protected]>
Cc: [email protected]; Thomas Hellstrom <[email protected]>; Brost, Matthew <[email protected]>; Prosyak, Vitaly <[email protected]>
Subject: RE: [PATCH] drm/xe: Fix UAF in xe_gem_prime_import() on
attach failure

Hi Christian,

Quoted 155 lines

-----Original Message-----
From: Christian König <[email protected]>
Sent: Monday, June 1, 2026 5:47 PM
To: Auld, Matthew <[email protected]>; Gote, Nitin R <[email protected]>; [email protected]; Christian
König <[email protected]>
Cc: [email protected]; Thomas Hellstrom <[email protected]>; Brost, Matthew <[email protected]>; Prosyak, Vitaly <[email protected]>
Subject: Re: [PATCH] drm/xe: Fix UAF in xe_gem_prime_import() on
attach failure

Quoted 93 lines · Matthew Auld
Quoted 92 lines · Christian König
Quoted 89 lines · Matthew Auld
Quoted 88 lines · Nitin Gote

xe_dma_buf_create_obj() creates the importer BO with obj-

Quoted 1 line

resv

pointing at the exporter's dma_buf->resv. When dma_buf_dynamic_attach() fails, no dma_buf reference is
held so
the exporter can be freed immediately. Since ttm_bo_release() now
always defers cleanup for ttm_bo_type_sg BOs to the TTM
workqueue, the worker later calls dma_resv_lock() on the already-freed exporter resv, causing a UAF.

Reset obj->resv to the BO's private _resv before calling
xe_bo_put() in the error path. The BO is not yet published
(attach
failed) and carries no fences, so the switch is safe.

Observed with igt@xe_live_ktest@xe_dma_buf_kunit on BMG
(QEMU):

     Oops: general protection fault, probably for
non-
canonical
address 0x6b6b6b6b6b6b6b9c
     Workqueue: ttm ttm_bo_delayed_delete [ttm]
     RIP: 0010:mutex_can_spin_on_owner+0x3f/0xc0
     Call Trace:
      <TASK>
      ? __ww_mutex_lock.constprop.0+0x2dd/0x18e0
      ? ttm_bo_delayed_delete+0x41/0xc0 [ttm]
      ww_mutex_lock+0x3c/0xb0
      ttm_bo_delayed_delete+0x41/0xc0 [ttm]
      process_one_work+0x239/0x740
      worker_thread+0x200/0x3f0
      kthread+0x10d/0x150
      ret_from_fork+0x3bd/0x470
      ret_from_fork_asm+0x1a/0x30
      </TASK>

Closes:
https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/8023

Fixes d99fbd9aab62 ("drm/ttm: Always take the bo

delayed
cleanup
path for imported bos")
Cc: [email protected] # v6.8+
Cc: Thomas Hellstrom <[email protected]>

Cc Matthew Brost <[email protected]>
Cc Matthew Auld <[email protected]>

---
    drivers/gpu/drm/xe/xe_dma_buf.c | 8 ++++++++

    1 file changed, 8 insertions(+)
(quoted diff) +0 -0

b/drivers/gpu/drm/xe/xe_dma_buf.c index 8a920e58245c..6d944bd4065c
100644

drivers/gpu/drm/xe/xe_dma_buf.c +0 -0
@@ -384,6 +384,14 @@ struct drm_gem_object
 *xe_gem_prime_import(struct drm_device *dev,
           attach = dma_buf_dynamic_attach(dma_buf,

dev-

Quoted 1 line

dev,

attach_ops, obj);
        if (IS_ERR(attach)) {
+        /*
+         * The BO was created with resv = dma_buf-

Quoted 1 line

resv

+(exporter's
+         * resv). Since attach failed, no dma_buf reference is
+held and
+         * the exporter may be freed before TTM's delayed_delete
+worker
+         * runs. Switch to the BO's own resv to prevent
a UAF
+when

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines

+         * ttm_bo_delayed_delete() tries to lock the stale pointer.
+         */
+        obj->resv = &obj->_resv;

+Christian, does amdgpu not have the type of same issue here? Also
+any

thoughts here?

Quoted 7 lines
Quoted 3 lines

Oh, good catch. Yeah I think we have the same problem on amdgpu as well.

Maybe dumb question, but why does the
ttm_bo_individualize_resv()
skip the

final switch of the resv for type_sg?

Because we need the original resv object for cleaning up the mapping
should the initial attach and then map have succeed.

Quoted 1 line

It goes through the trouble of copying the fences across?

Because we need to know when the import can be cleaned up.

In other words TTM takes a copy of the current fences and only
unmap,
detach and then do the final cleanup after we are sure that the
set of
fences which was active on destruction is now signaled.

If new fences are added to the resv object (maybe by the exporter
itself or other
importers) after our reference count got down to zero then we don't
care about that.

Quoted 4 lines

If we do need to handle this here, do we also need to grab the
lru
lock, like we

do in ttm_bo_individualize_resv() when doing the swap?

Quoted 9 lines

Good question, of hand I would say yes but I clearly need to check the
source code as well.

Might be better to switch the type of the BO on error so that the
normal cleanup will just switch over to the local dma_resv object.

-               obj->resv = &obj->_resv;
+               gem_to_xe_bo(obj)->ttm.type =
ttm_bo_type_kernel;

Switching the type to ttm_bo_type_kernel lets ttm_bo_individualize_resv() swap
resv to the BO's private _resv under lru_lock, which prevents UAF
without
needing any manual locking.

The lru lock is IIRC only needed and safe when the ttm refcount is zero
(in the TTM destruction path) to protect against a racing LRU walk trylock succeeds against the incorrect resv.

I wonder whether this was actually why xe code initially took care not
to publish the bo on the LRUs until the attachment succeeded.

A TTM LRU walker may pick up the exporting resv as soon as the resource
is published on the LRU, and then try to lock it using ttm_lru_walk_ticketlock(). The lru lock doesn't protect against that.

So we have a sort of moment22, since with that approach move_notify()
could be called without the bo being fully initialized.

One way to move forward would perhaps be to, for now, reinstate that
and have move_notify check if the bo is a stub or fully initialized before doing anything.

Quoted 7 lines
Quoted 2 lines

Also perhaps we should in the future consider allowing dma-buf attachment removal under a separate lower-level lock than the resv.

Is it plausible to check for drm_gem_is_imported() in ttm_bo_individualize_resv()? If sg && !imported then it should be safe
to swap out the resv?

That'd require we never dropped the exporter refcount until the individualization happens. Hard to assert, and would be fragile. Also not completely sure on the stance currently WRT gem and ttm layer code separation, but that OTH is fixable.

/Thomas

Quoted 83 lines
Quoted 83 lines

Thanks,
Thomas

Quoted 77 lines

Checked all bo->type readers (xe_evict_flags(), xe_bo_move(), xe_bo_can_migrate()) and found they can be called concurrently by the
shrinker or eviction paths without any synchronization, making the
bo->type change unsafe.

Switching resv to &obj->_resv under lru_lock, mirroring ttm_bo_individualize_resv(), is the more reasonable. I'll send this as v2, along with a separate patch fixing the same issue in amdgpu.

- Nitin

Quoted 62 lines
Quoted 3 lines

Since we don't need the original dma_resv for the cleanup that
should work

fine.

Quoted 11 lines
Quoted 3 lines

Ideally xe and amdgpu can just have identical solutions here.

Yeah completely agree.

Regards,
Christian.

Quoted 2 lines
Quoted 2 lines
Quoted 5 lines
Quoted 4 lines
Quoted 4 lines

How the heck did you found that? Do we have a dummy driver
(VGEM?)
which

could be made to always fail attachment for a test case?

The bug was found via the existing KUnit test (xe_dma_buf_kunit),
which was
failing on a BMG VM device. The test runs 20 parameter combinations.
the failing ones use force_different_devices=true + mem_mask=XE_BO_FLAG_VRAM0 + nop2p_attach_ops, where dma_buf_dynamic_attach() returns -EOPNOTSUPP, hitting the error path.

On bare metal BMG the race window is too narrow to hit the issue.
To make it
more deterministic, added a small msleep(100) in ttm_bo_delayed_delete() just
before the dma_resv_lock() call, which widened the race window. With KASAN enabled, that gave a clear slab-use-after-free in __ww_mutex_lock
— the 0x6b6b6b6b SLUB poison pattern in the faulting address confirmed the
UAF.

Thanks,
Nitin

Quoted 16 lines
Quoted 4 lines
Quoted 4 lines

@Vitaly can you take a look and try to come up with a test
case for that?

Thanks in advance.

Quoted 11 lines
Quoted 10 lines

Thanks for the notice,
Christian.

Quoted 5 lines
Quoted 4 lines

            xe_bo_put(gem_to_xe_bo(obj)); return ERR_CAST(attach);
        }

#10 lore raw
In reply to Matthew Auld
Quoted 193 lines · Matthew Auld
Quoted 192 lines · Thomas Hellström

Hi,

Quoted 175 lines · Nitin R

Hi,

Quoted 173 lines

-----Original Message-----
From: Intel-xe <[email protected]> On Behalf Of Gote, Nitin
R
Sent: Monday, June 1, 2026 8:57 PM
To: Christian König <[email protected]>; Auld, Matthew <[email protected]>; [email protected]; Christian König
<[email protected]>
Cc: [email protected]; Thomas Hellstrom <[email protected]>; Brost, Matthew <[email protected]>; Prosyak, Vitaly <[email protected]>
Subject: RE: [PATCH] drm/xe: Fix UAF in xe_gem_prime_import() on attach failure

Hi Christian,

Quoted 139 lines

-----Original Message-----
From: Christian König <[email protected]>
Sent: Monday, June 1, 2026 5:47 PM
To: Auld, Matthew <[email protected]>; Gote, Nitin R <[email protected]>; [email protected]; Christian
König <[email protected]>
Cc: [email protected]; Thomas Hellstrom <[email protected]>; Brost, Matthew <[email protected]>; Prosyak, Vitaly <[email protected]>
Subject: Re: [PATCH] drm/xe: Fix UAF in xe_gem_prime_import() on attach failure

Quoted 82 lines · Matthew Auld
Quoted 81 lines · Christian König
Quoted 78 lines · Matthew Auld
Quoted 77 lines · Nitin Gote

xe_dma_buf_create_obj() creates the importer BO with obj-

Quoted 1 line

resv

pointing at the exporter's dma_buf->resv. When dma_buf_dynamic_attach() fails, no dma_buf reference is held so
the exporter can be freed immediately. Since ttm_bo_release() now
always defers cleanup for ttm_bo_type_sg BOs to the TTM workqueue, the worker later calls dma_resv_lock() on the already-freed exporter resv, causing a UAF.

Reset obj->resv to the BO's private _resv before calling xe_bo_put() in the error path. The BO is not yet published
(attach
failed) and carries no fences, so the switch is safe.

Observed with igt@xe_live_ktest@xe_dma_buf_kunit on BMG (QEMU):

     Oops: general protection fault, probably for non-
canonical
address 0x6b6b6b6b6b6b6b9c
     Workqueue: ttm ttm_bo_delayed_delete [ttm]
     RIP: 0010:mutex_can_spin_on_owner+0x3f/0xc0
     Call Trace:
      <TASK>
      ? __ww_mutex_lock.constprop.0+0x2dd/0x18e0
      ? ttm_bo_delayed_delete+0x41/0xc0 [ttm]
      ww_mutex_lock+0x3c/0xb0
      ttm_bo_delayed_delete+0x41/0xc0 [ttm]
      process_one_work+0x239/0x740
      worker_thread+0x200/0x3f0
      kthread+0x10d/0x150
      ret_from_fork+0x3bd/0x470
      ret_from_fork_asm+0x1a/0x30
      </TASK>

Closes:
https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/8023

Fixes d99fbd9aab62 ("drm/ttm: Always take the bo delayed

cleanup
path for imported bos")

Cc [email protected] # v6.8+
Cc Thomas Hellstrom <[email protected]>
Cc Matthew Brost <[email protected]>
Cc Matthew Auld <[email protected]>

---
    drivers/gpu/drm/xe/xe_dma_buf.c | 8 ++++++++

    1 file changed, 8 insertions(+)
(quoted diff) +0 -0

b/drivers/gpu/drm/xe/xe_dma_buf.c index
8a920e58245c..6d944bd4065c
100644

drivers/gpu/drm/xe/xe_dma_buf.c +0 -0
@@ -384,6 +384,14 @@ struct drm_gem_object
 *xe_gem_prime_import(struct drm_device *dev,

          attach = dma_buf_dynamic_attach(dma_buf, dev-

Quoted 1 line

dev,

attach_ops, obj);
        if (IS_ERR(attach)) {
+        /*
+         * The BO was created with resv = dma_buf->resv +(exporter's
+         * resv). Since attach failed, no dma_buf reference is
+held and
+         * the exporter may be freed before TTM's delayed_delete
+worker
+         * runs. Switch to the BO's own resv to prevent a UAF
+when

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines

+         * ttm_bo_delayed_delete() tries to lock the stale pointer.
+         */
+        obj->resv = &obj->_resv;

+Christian, does amdgpu not have the type of same issue here? Also
+any

thoughts here?

Quoted 7 lines
Quoted 3 lines

Oh, good catch. Yeah I think we have the same problem on amdgpu as well.

Maybe dumb question, but why does the
ttm_bo_individualize_resv()
skip the

final switch of the resv for type_sg?

Because we need the original resv object for cleaning up the mapping
should the initial attach and then map have succeed.

Quoted 1 line

It goes through the trouble of copying the fences across?

Because we need to know when the import can be cleaned up.

In other words TTM takes a copy of the current fences and only unmap,
detach and then do the final cleanup after we are sure that the set of
fences which was active on destruction is now signaled.

If new fences are added to the resv object (maybe by the exporter itself or other
importers) after our reference count got down to zero then we don't
care about that.

Quoted 3 lines

If we do need to handle this here, do we also need to grab the lru
lock, like we

do in ttm_bo_individualize_resv() when doing the swap?

Quoted 8 lines

Good question, of hand I would say yes but I clearly need to check the
source code as well.

Might be better to switch the type of the BO on error so that the normal cleanup will just switch over to the local dma_resv object.

-               obj->resv = &obj->_resv;
+               gem_to_xe_bo(obj)->ttm.type = ttm_bo_type_kernel;

Switching the type to ttm_bo_type_kernel lets ttm_bo_individualize_resv() swap
resv to the BO's private _resv under lru_lock, which prevents UAF without
needing any manual locking.

The lru lock is IIRC only needed and safe when the ttm refcount is zero (in the TTM destruction path) to protect against a racing LRU walk trylock succeeds against the incorrect resv.

I wonder whether this was actually why xe code initially took care not to publish the bo on the LRUs until the attachment succeeded.

A TTM LRU walker may pick up the exporting resv as soon as the resource is published on the LRU, and then try to lock it using ttm_lru_walk_ticketlock(). The lru lock doesn't protect against that. So we have a sort of moment22, since with that approach move_notify() could be called without the bo being fully initialized.

Quoted 8 lines
Quoted 6 lines

One way to move forward would perhaps be to, for now, reinstate that and have move_notify check if the bo is a stub or fully initialized before doing anything.

Also perhaps we should in the future consider allowing dma-buf attachment removal under a separate lower-level lock than the resv.

Is it plausible to check for drm_gem_is_imported() in ttm_bo_individualize_resv()? If sg && !imported then it should be safe to swap out the resv?

That's also a solution which came to my mind. We should probably completely stop checking for ttm_bo_type_sg there.

Regards,
Christian.

Quoted 76 lines
Quoted 75 lines

Thanks,
Thomas

Quoted 69 lines

Checked all bo->type readers (xe_evict_flags(), xe_bo_move(), xe_bo_can_migrate()) and found they can be called concurrently by the shrinker or eviction paths without any synchronization, making the bo->type change unsafe.

Switching resv to &obj->_resv under lru_lock, mirroring ttm_bo_individualize_resv(), is the more reasonable. I'll send this as v2, along with a separate patch fixing the same issue in amdgpu.

- Nitin

Quoted 56 lines
Quoted 2 lines

Since we don't need the original dma_resv for the cleanup that should work

fine.

Quoted 10 lines
Quoted 2 lines

Ideally xe and amdgpu can just have identical solutions here.

Yeah completely agree.

Regards,
Christian.

Quoted 2 lines
Quoted 2 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines

How the heck did you found that? Do we have a dummy driver (VGEM?)
which

could be made to always fail attachment for a test case?

The bug was found via the existing KUnit test (xe_dma_buf_kunit), which was
failing on a BMG VM device. The test runs 20 parameter combinations.
the failing ones use force_different_devices=true + mem_mask=XE_BO_FLAG_VRAM0 + nop2p_attach_ops, where dma_buf_dynamic_attach() returns -EOPNOTSUPP, hitting the error path.

On bare metal BMG the race window is too narrow to hit the issue. To make it
more deterministic, added a small msleep(100) in ttm_bo_delayed_delete() just
before the dma_resv_lock() call, which widened the race window. With KASAN enabled, that gave a clear slab-use-after-free in __ww_mutex_lock
— the 0x6b6b6b6b SLUB poison pattern in the faulting address confirmed the
UAF.

Thanks,
Nitin

Quoted 15 lines
Quoted 3 lines
Quoted 3 lines

@Vitaly can you take a look and try to come up with a test case for that?

Thanks in advance.

Quoted 11 lines
Quoted 10 lines

Thanks for the notice,
Christian.

Quoted 5 lines
Quoted 4 lines

            xe_bo_put(gem_to_xe_bo(obj));
            return ERR_CAST(attach);
        }

#11 lore raw

Hi,

Quoted 200 lines

-----Original Message-----
From: Christian König <[email protected]>
Sent: Friday, June 5, 2026 3:26 PM
To: Auld, Matthew <[email protected]>; Thomas Hellström <[email protected]>; Gote, Nitin R <[email protected]>; [email protected]; Christian König <[email protected]>
Cc: [email protected]; Brost, Matthew <[email protected]>; Prosyak, Vitaly <[email protected]>
Subject: Re: [PATCH] drm/xe: Fix UAF in xe_gem_prime_import() on attach failure

Quoted 188 lines · Matthew Auld
Quoted 186 lines · Thomas Hellström

Hi,

Quoted 163 lines · Nitin R

Hi,

Quoted 161 lines

-----Original Message-----
From: Intel-xe <[email protected]> On Behalf Of Gote, Nitin R
Sent: Monday, June 1, 2026 8:57 PM
To: Christian König <[email protected]>; Auld, Matthew <[email protected]>; [email protected]; Christian König <[email protected]>
Cc: [email protected]; Thomas Hellstrom <[email protected]>; Brost, Matthew <[email protected]>; Prosyak, Vitaly <[email protected]>
Subject: RE: [PATCH] drm/xe: Fix UAF in xe_gem_prime_import() on attach failure

Hi Christian,

Quoted 129 lines

-----Original Message-----
From: Christian König <[email protected]>
Sent: Monday, June 1, 2026 5:47 PM
To: Auld, Matthew <[email protected]>; Gote, Nitin R <[email protected]>; [email protected]; Christian König <[email protected]>
Cc: [email protected]; Thomas Hellstrom <[email protected]>; Brost, Matthew <[email protected]>; Prosyak, Vitaly <[email protected]>
Subject: Re: [PATCH] drm/xe: Fix UAF in xe_gem_prime_import() on attach failure

Quoted 78 lines · Matthew Auld
Quoted 77 lines · Christian König
Quoted 74 lines · Matthew Auld
Quoted 73 lines · Nitin Gote

xe_dma_buf_create_obj() creates the importer BO with obj-

Quoted 1 line

resv

pointing at the exporter's dma_buf->resv. When dma_buf_dynamic_attach() fails, no dma_buf reference is held so the exporter can be freed immediately. Since ttm_bo_release() now
always defers cleanup for ttm_bo_type_sg BOs to the TTM workqueue, the worker later calls
dma_resv_lock() on the already-freed exporter resv, causing a UAF.

Reset obj->resv to the BO's private _resv before calling xe_bo_put() in the error path. The BO is not yet published (attach
failed) and carries no fences, so the switch is safe.

Observed with igt@xe_live_ktest@xe_dma_buf_kunit on BMG (QEMU):

     Oops: general protection fault, probably for non-
canonical address 0x6b6b6b6b6b6b6b9c
     Workqueue: ttm ttm_bo_delayed_delete [ttm]
     RIP: 0010:mutex_can_spin_on_owner+0x3f/0xc0
     Call Trace:
      <TASK>
      ? __ww_mutex_lock.constprop.0+0x2dd/0x18e0
      ? ttm_bo_delayed_delete+0x41/0xc0 [ttm]
      ww_mutex_lock+0x3c/0xb0
      ttm_bo_delayed_delete+0x41/0xc0 [ttm]
      process_one_work+0x239/0x740
      worker_thread+0x200/0x3f0
      kthread+0x10d/0x150
      ret_from_fork+0x3bd/0x470
      ret_from_fork_asm+0x1a/0x30
      </TASK>

Closes:
https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/8023

Fixes d99fbd9aab62 ("drm/ttm: Always take the bo delayed

cleanup path for imported bos")

Cc [email protected] # v6.8+
Cc Thomas Hellstrom <[email protected]>
Cc Matthew Brost <[email protected]>
Cc Matthew Auld <[email protected]>

---
    drivers/gpu/drm/xe/xe_dma_buf.c | 8 ++++++++

    1 file changed, 8 insertions(+)
(quoted diff) +0 -0

b/drivers/gpu/drm/xe/xe_dma_buf.c index
8a920e58245c..6d944bd4065c
100644

drivers/gpu/drm/xe/xe_dma_buf.c +0 -0
@@ -384,6 +384,14 @@ struct drm_gem_object
 *xe_gem_prime_import(struct drm_device *dev,

          attach = dma_buf_dynamic_attach(dma_buf, dev-

Quoted 1 line

dev,

attach_ops, obj);
        if (IS_ERR(attach)) {
+        /*
+         * The BO was created with resv = dma_buf->resv +(exporter's
+         * resv). Since attach failed, no dma_buf reference is
+held and
+         * the exporter may be freed before TTM's delayed_delete
+worker
+         * runs. Switch to the BO's own resv to prevent a UAF
+when

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines

+         * ttm_bo_delayed_delete() tries to lock the stale pointer.
+         */
+        obj->resv = &obj->_resv;

+Christian, does amdgpu not have the type of same issue here? Also
+any

thoughts here?

Quoted 7 lines
Quoted 3 lines

Oh, good catch. Yeah I think we have the same problem on amdgpu as well.

Maybe dumb question, but why does the
ttm_bo_individualize_resv()
skip the

final switch of the resv for type_sg?

Because we need the original resv object for cleaning up the mapping should the initial attach and then map have succeed.

Quoted 1 line

It goes through the trouble of copying the fences across?

Because we need to know when the import can be cleaned up.

In other words TTM takes a copy of the current fences and only unmap, detach and then do the final cleanup after we are sure that the set of fences which was active on destruction is now signaled.

If new fences are added to the resv object (maybe by the exporter itself or other
importers) after our reference count got down to zero then we don't care about that.

Quoted 2 lines

If we do need to handle this here, do we also need to grab the lru lock, like we

do in ttm_bo_individualize_resv() when doing the swap?

Quoted 8 lines

Good question, of hand I would say yes but I clearly need to check the
source code as well.

Might be better to switch the type of the BO on error so that the normal cleanup will just switch over to the local dma_resv object.

-               obj->resv = &obj->_resv;
+               gem_to_xe_bo(obj)->ttm.type = ttm_bo_type_kernel;

Switching the type to ttm_bo_type_kernel lets ttm_bo_individualize_resv() swap
resv to the BO's private _resv under lru_lock, which prevents UAF without
needing any manual locking.

The lru lock is IIRC only needed and safe when the ttm refcount is zero (in the TTM destruction path) to protect against a racing LRU walk trylock succeeds against the incorrect resv.

I wonder whether this was actually why xe code initially took care not to publish the bo on the LRUs until the attachment succeeded.

A TTM LRU walker may pick up the exporting resv as soon as the resource is published on the LRU, and then try to lock it using ttm_lru_walk_ticketlock(). The lru lock doesn't protect against that. So we have a sort of moment22, since with that approach move_notify() could be called without the bo being fully initialized.

One way to move forward would perhaps be to, for now, reinstate that and have move_notify check if the bo is a stub or fully initialized before doing anything.

Also perhaps we should in the future consider allowing dma-buf attachment removal under a separate lower-level lock than the resv.

Quoted 7 lines
Quoted 1 line

Is it plausible to check for drm_gem_is_imported() in

ttm_bo_individualize_resv()? If sg && !imported then it should be safe to swap out the resv?

That's also a solution which came to my mind. We should probably completely stop checking for ttm_bo_type_sg there.

Thank you, Matt, Christian and Thomas for the direction

Will implement this as:

1. Remove the if (bo->type != ttm_bo_type_sg) guard in ttm_bo_individualize_resv() entirely — at refcount==0 fences are already copied, the swap is safe for all types.
2. In xe and amdgpu:
Will create import BO as ttm_bo_type_kernel with private resv; switch to ttm_bo_type_sg + dma_buf->resv under lru_lock only after successful attach. This also eliminates the dummy_obj + drm_exec block in xe_dma_buf_create_obj().

Thanks,
Nitin

Quoted 79 lines

Regards,
Christian.

Quoted 76 lines
Quoted 75 lines

Thanks,
Thomas

Quoted 69 lines

Checked all bo->type readers (xe_evict_flags(), xe_bo_move(), xe_bo_can_migrate()) and found they can be called concurrently by the shrinker or eviction paths without any synchronization, making the bo->type change unsafe.

Switching resv to &obj->_resv under lru_lock, mirroring ttm_bo_individualize_resv(), is the more reasonable. I'll send this as v2, along with a separate patch fixing the same issue in amdgpu.

- Nitin

Quoted 56 lines
Quoted 2 lines

Since we don't need the original dma_resv for the cleanup that should work

fine.

Quoted 10 lines
Quoted 2 lines

Ideally xe and amdgpu can just have identical solutions here.

Yeah completely agree.

Regards,
Christian.

Quoted 2 lines
Quoted 2 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines

How the heck did you found that? Do we have a dummy driver (VGEM?)
which

could be made to always fail attachment for a test case?

The bug was found via the existing KUnit test (xe_dma_buf_kunit), which was
failing on a BMG VM device. The test runs 20 parameter combinations.
the failing ones use force_different_devices=true + mem_mask=XE_BO_FLAG_VRAM0 + nop2p_attach_ops, where dma_buf_dynamic_attach() returns -EOPNOTSUPP, hitting the error path.

On bare metal BMG the race window is too narrow to hit the issue. To make it
more deterministic, added a small msleep(100) in ttm_bo_delayed_delete() just
before the dma_resv_lock() call, which widened the race window. With KASAN enabled, that gave a clear slab-use-after-free in __ww_mutex_lock
— the 0x6b6b6b6b SLUB poison pattern in the faulting address confirmed the
UAF.

Thanks,
Nitin

Quoted 15 lines
Quoted 3 lines
Quoted 3 lines

@Vitaly can you take a look and try to come up with a test case for that?

Thanks in advance.

Quoted 11 lines
Quoted 10 lines

Thanks for the notice,
Christian.

Quoted 5 lines
Quoted 4 lines

            xe_bo_put(gem_to_xe_bo(obj));
            return ERR_CAST(attach);
        }

#12 lore raw

Hi, Nitin,

Quoted 265 lines · Nitin R

Hi,

Quoted 253 lines

-----Original Message-----
From: Christian König <[email protected]>
Sent: Friday, June 5, 2026 3:26 PM
To: Auld, Matthew <[email protected]>; Thomas Hellström <[email protected]>; Gote, Nitin R <[email protected]>; [email protected]; Christian König <[email protected]>
Cc: [email protected]; Brost, Matthew <[email protected]>;
Prosyak, Vitaly <[email protected]>
Subject: Re: [PATCH] drm/xe: Fix UAF in xe_gem_prime_import() on attach failure

Quoted 238 lines · Matthew Auld
Quoted 236 lines · Thomas Hellström

Hi,

Quoted 204 lines · Nitin R

Hi,

Quoted 202 lines

-----Original Message-----
From: Intel-xe <[email protected]> On Behalf
Of Gote, Nitin R
Sent: Monday, June 1, 2026 8:57 PM
To: Christian König <[email protected]>; Auld, Matthew
<[email protected]>; [email protected]; Christian
König <[email protected]>
Cc: [email protected]; Thomas Hellstrom <[email protected]>; Brost, Matthew <[email protected]>; Prosyak, Vitaly <[email protected]>
Subject: RE: [PATCH] drm/xe: Fix UAF in xe_gem_prime_import() on
attach failure

Hi Christian,

Quoted 165 lines

-----Original Message-----
From: Christian König <[email protected]>
Sent: Monday, June 1, 2026 5:47 PM
To: Auld, Matthew <[email protected]>; Gote, Nitin R <[email protected]>; [email protected]; Christian König <[email protected]>
Cc: [email protected]; Thomas Hellstrom <[email protected]>; Brost, Matthew <[email protected]>; Prosyak, Vitaly <[email protected]>
Subject: Re: [PATCH] drm/xe: Fix UAF in xe_gem_prime_import() on
attach failure

Quoted 97 lines · Matthew Auld
Quoted 96 lines · Christian König
Quoted 93 lines · Matthew Auld
Quoted 92 lines · Nitin Gote

xe_dma_buf_create_obj() creates the importer BO
with obj-

Quoted 1 line

resv

pointing at the exporter's dma_buf->resv. When
dma_buf_dynamic_attach() fails, no dma_buf
reference is held
so the exporter can be freed immediately. Since
ttm_bo_release() now
always defers cleanup for ttm_bo_type_sg BOs to
the TTM
workqueue, the worker later calls
dma_resv_lock() on the already-freed exporter
resv, causing a
UAF.

Reset obj->resv to the BO's private _resv before
calling
xe_bo_put() in the error path. The BO is not yet
published
(attach
failed) and carries no fences, so the switch is
safe.

Observed with igt@xe_live_ktest@xe_dma_buf_kunit
on BMG
(QEMU):

     Oops: general protection fault, probably for
non-
canonical address 0x6b6b6b6b6b6b6b9c
     Workqueue: ttm ttm_bo_delayed_delete [ttm]
     RIP: 0010:mutex_can_spin_on_owner+0x3f/0xc0
     Call Trace:
      <TASK>
      ? __ww_mutex_lock.constprop.0+0x2dd/0x18e0
      ? ttm_bo_delayed_delete+0x41/0xc0 [ttm]
      ww_mutex_lock+0x3c/0xb0
      ttm_bo_delayed_delete+0x41/0xc0 [ttm]
      process_one_work+0x239/0x740
      worker_thread+0x200/0x3f0
      kthread+0x10d/0x150
      ret_from_fork+0x3bd/0x470
      ret_from_fork_asm+0x1a/0x30
      </TASK>

Closes:
https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/8023

Fixes d99fbd9aab62 ("drm/ttm: Always take the bo

delayed
cleanup path for imported bos")
Cc: [email protected] # v6.8+
Cc: Thomas Hellstrom
<[email protected]>
Cc: Matthew Brost <[email protected]>
Cc: Matthew Auld <[email protected]>
Signed-off-by: Nitin Gote
<[email protected]>
---
    drivers/gpu/drm/xe/xe_dma_buf.c | 8 ++++++++

    1 file changed, 8 insertions(+)
(quoted diff) +0 -0

b/drivers/gpu/drm/xe/xe_dma_buf.c index
8a920e58245c..6d944bd4065c
100644

drivers/gpu/drm/xe/xe_dma_buf.c +0 -0
@@ -384,6 +384,14 @@ struct drm_gem_object
 *xe_gem_prime_import(struct drm_device *dev,

          attach =
dma_buf_dynamic_attach(dma_buf, dev-

Quoted 1 line

dev,

attach_ops, obj);
        if (IS_ERR(attach)) {
+        /*
+         * The BO was created with resv =
dma_buf->resv
+(exporter's
+         * resv). Since attach failed, no
dma_buf
reference is
+held and
+         * the exporter may be freed before
TTM's
delayed_delete
+worker
+         * runs. Switch to the BO's own resv to
prevent
a UAF
+when
+         * ttm_bo_delayed_delete() tries to lock
the

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines

stale pointer.
+         */
+        obj->resv = &obj->_resv;

+Christian, does amdgpu not have the type of same
issue
here? Also
+any

thoughts here?

Quoted 8 lines
Quoted 4 lines

Oh, good catch. Yeah I think we have the same problem on amdgpu
as well.

Maybe dumb question, but why does the
ttm_bo_individualize_resv()
skip the

final switch of the resv for type_sg?

Because we need the original resv object for cleaning up the
mapping should the initial attach and then map have succeed.

Quoted 2 lines

It goes through the trouble of copying the fences
across?

Because we need to know when the import can be cleaned up.

In other words TTM takes a copy of the current fences and only
unmap, detach and then do the final cleanup after we are sure that
the set of fences which was active on destruction is now signaled.

If new fences are added to the resv object (maybe by the exporter
itself or other
importers) after our reference count got down to zero then we
don't care about that.

Quoted 3 lines

If we do need to handle this here, do we also need to grab the
lru lock, like we

do in ttm_bo_individualize_resv() when doing the swap?

Good question, of hand I would say yes but I clearly need to
check the
source code as well.

Quoted 6 lines

Might be better to switch the type of the BO on error so that the
normal cleanup will just switch over to the local dma_resv
object.

-               obj->resv = &obj->_resv;
+               gem_to_xe_bo(obj)->ttm.type =
ttm_bo_type_kernel;

Switching the type to ttm_bo_type_kernel lets ttm_bo_individualize_resv() swap
resv to the BO's private _resv under lru_lock, which prevents UAF
without
needing any manual locking.

The lru lock is IIRC only needed and safe when the ttm refcount is zero
(in the TTM destruction path) to protect against a racing LRU walk
trylock succeeds against the incorrect resv.

I wonder whether this was actually why xe code initially took care not
to publish the bo on the LRUs until the attachment succeeded.

A TTM LRU walker may pick up the exporting resv as soon as the resource
is published on the LRU, and then try to lock it using ttm_lru_walk_ticketlock(). The lru lock doesn't protect against that.
  So we have a sort of moment22, since with that approach move_notify()
could be called without the bo being fully initialized.

One way to move forward would perhaps be to, for now, reinstate that
and have move_notify check if the bo is a stub or fully initialized
before doing anything.

Also perhaps we should in the future consider allowing dma-buf attachment removal under a separate lower-level lock than the resv.

Quoted 9 lines
Quoted 1 line

Is it plausible to check for drm_gem_is_imported() in

ttm_bo_individualize_resv()? If sg && !imported then it should be safe to swap
out the resv?

That's also a solution which came to my mind. We should probably completely
stop checking for ttm_bo_type_sg there.

Quoted 7 lines

Thank you, Matt, Christian and Thomas for the direction

Will implement this as:

 1. Remove the if (bo->type != ttm_bo_type_sg) guard in ttm_bo_individualize_resv() entirely — at refcount==0 fences are already copied, the swap is safe for all types.

I don't think this is safe. The imported bo needs to lock the shared resv when it finally releases the attachment. That's why the ttm bo, destruction path distinguishes between _resv and resv.

Quoted 4 lines

 2. In xe and amdgpu:
     Will create import BO as ttm_bo_type_kernel with private resv; switch to ttm_bo_type_sg + dma_buf->resv under lru_lock only after successful attach.

Problem is that once the xe object is initialized, it is published on the LRUs, and a LRU walker may lock the resv. We can't swich resv at that point. And as said before, the lru_lock is only a safe way of switching locks if the ttm refcount is zero, that is, it can't be used outside TTM.

TBH I don't see a safe solution that doesn't involve *not* publishing the bo on the LRU until the attachment is in place.

That is except for Matt Auld's idea of individualizing if there is no attachment, but then we need to somehow guarantee that the exporter stays alive, and that means assuming that ttm_bo_finalize() always individualizes synchronously and rely on the caller to keep the exporter alive while we finalize the ttm_bo.

/Thomas

Quoted 98 lines

     This also eliminates the dummy_obj + drm_exec block in xe_dma_buf_create_obj().

Thanks,
Nitin

Quoted 92 lines

Regards,
Christian.

Quoted 89 lines
Quoted 88 lines

Thanks,
Thomas

Quoted 82 lines

Checked all bo->type readers (xe_evict_flags(), xe_bo_move(), xe_bo_can_migrate()) and found they can be called concurrently by the
shrinker or eviction paths without any synchronization, making the
bo->type change unsafe.

Switching resv to &obj->_resv under lru_lock, mirroring ttm_bo_individualize_resv(), is the more reasonable. I'll send this as v2, along with a separate patch fixing the same
issue in amdgpu.

- Nitin

Quoted 66 lines
Quoted 3 lines

Since we don't need the original dma_resv for the cleanup that
should work

fine.

Quoted 11 lines
Quoted 3 lines

Ideally xe and amdgpu can just have identical solutions here.

Yeah completely agree.

Regards,
Christian.

Quoted 2 lines
Quoted 2 lines
Quoted 5 lines
Quoted 4 lines
Quoted 4 lines

How the heck did you found that? Do we have a dummy driver
(VGEM?)
which

could be made to always fail attachment for a test case?

The bug was found via the existing KUnit test (xe_dma_buf_kunit),
which was
failing on a BMG VM device. The test runs 20 parameter combinations.
the failing ones use force_different_devices=true + mem_mask=XE_BO_FLAG_VRAM0 + nop2p_attach_ops, where dma_buf_dynamic_attach() returns -EOPNOTSUPP, hitting the error
path.

On bare metal BMG the race window is too narrow to hit the issue.
To make it
more deterministic, added a small msleep(100) in ttm_bo_delayed_delete() just
before the dma_resv_lock() call, which widened the race window.
With KASAN enabled, that gave a clear slab-use-after-free in
__ww_mutex_lock
— the 0x6b6b6b6b SLUB poison pattern in the faulting address
confirmed the
UAF.

Thanks,
Nitin

Quoted 16 lines
Quoted 4 lines
Quoted 4 lines

@Vitaly can you take a look and try to come up with a test
case for that?

Thanks in advance.

Quoted 11 lines
Quoted 10 lines

Thanks for the notice,
Christian.

Quoted 5 lines
Quoted 4 lines

            xe_bo_put(gem_to_xe_bo(obj));
            return ERR_CAST(attach);
        }

#13 lore raw
In reply to Thomas Hellström
Quoted 179 lines · Thomas Hellström

Hi,

Quoted 175 lines · Nitin R

Hi,

Quoted 173 lines

-----Original Message-----
From: Intel-xe <[email protected]> On Behalf Of Gote, Nitin
R
Sent: Monday, June 1, 2026 8:57 PM
To: Christian König <[email protected]>; Auld, Matthew <[email protected]>; [email protected]; Christian König
<[email protected]>
Cc: [email protected]; Thomas Hellstrom <[email protected]>; Brost, Matthew <[email protected]>; Prosyak, Vitaly <[email protected]>
Subject: RE: [PATCH] drm/xe: Fix UAF in xe_gem_prime_import() on attach failure

Hi Christian,

Quoted 139 lines

-----Original Message-----
From: Christian König <[email protected]>
Sent: Monday, June 1, 2026 5:47 PM
To: Auld, Matthew <[email protected]>; Gote, Nitin R <[email protected]>; [email protected]; Christian
König <[email protected]>
Cc: [email protected]; Thomas Hellstrom <[email protected]>; Brost, Matthew <[email protected]>; Prosyak, Vitaly <[email protected]>
Subject: Re: [PATCH] drm/xe: Fix UAF in xe_gem_prime_import() on attach failure

Quoted 82 lines · Matthew Auld
Quoted 81 lines · Christian König
Quoted 78 lines · Matthew Auld
Quoted 77 lines · Nitin Gote

xe_dma_buf_create_obj() creates the importer BO with obj-

Quoted 1 line

resv

pointing at the exporter's dma_buf->resv. When dma_buf_dynamic_attach() fails, no dma_buf reference is held so
the exporter can be freed immediately. Since ttm_bo_release() now
always defers cleanup for ttm_bo_type_sg BOs to the TTM workqueue, the worker later calls dma_resv_lock() on the already-freed exporter resv, causing a UAF.

Reset obj->resv to the BO's private _resv before calling xe_bo_put() in the error path. The BO is not yet published
(attach
failed) and carries no fences, so the switch is safe.

Observed with igt@xe_live_ktest@xe_dma_buf_kunit on BMG (QEMU):

    Oops: general protection fault, probably for non-
canonical
address 0x6b6b6b6b6b6b6b9c
    Workqueue: ttm ttm_bo_delayed_delete [ttm]
    RIP: 0010:mutex_can_spin_on_owner+0x3f/0xc0
    Call Trace:
     <TASK>
     ? __ww_mutex_lock.constprop.0+0x2dd/0x18e0
     ? ttm_bo_delayed_delete+0x41/0xc0 [ttm]
     ww_mutex_lock+0x3c/0xb0
     ttm_bo_delayed_delete+0x41/0xc0 [ttm]
     process_one_work+0x239/0x740
     worker_thread+0x200/0x3f0
     kthread+0x10d/0x150
     ret_from_fork+0x3bd/0x470
     ret_from_fork_asm+0x1a/0x30
     </TASK>

Closes:
https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/8023

Fixes d99fbd9aab62 ("drm/ttm: Always take the bo delayed

cleanup
path for imported bos")

Cc [email protected] # v6.8+
Cc Thomas Hellstrom <[email protected]>
Cc Matthew Brost <[email protected]>
Cc Matthew Auld <[email protected]>

---
   drivers/gpu/drm/xe/xe_dma_buf.c | 8 ++++++++

   1 file changed, 8 insertions(+)
(quoted diff) +0 -0

b/drivers/gpu/drm/xe/xe_dma_buf.c index
8a920e58245c..6d944bd4065c
100644

drivers/gpu/drm/xe/xe_dma_buf.c +0 -0
@@ -384,6 +384,14 @@ struct drm_gem_object
 *xe_gem_prime_import(struct drm_device *dev,

         attach = dma_buf_dynamic_attach(dma_buf, dev-

Quoted 1 line

dev,

attach_ops, obj);
       if (IS_ERR(attach)) {
+        /*
+         * The BO was created with resv = dma_buf->resv +(exporter's
+         * resv). Since attach failed, no dma_buf reference is
+held and
+         * the exporter may be freed before TTM's delayed_delete
+worker
+         * runs. Switch to the BO's own resv to prevent a UAF
+when

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines

+         * ttm_bo_delayed_delete() tries to lock the stale pointer.
+         */
+        obj->resv = &obj->_resv;

+Christian, does amdgpu not have the type of same issue here? Also
+any

thoughts here?

Quoted 7 lines
Quoted 3 lines

Oh, good catch. Yeah I think we have the same problem on amdgpu as well.

Maybe dumb question, but why does the
ttm_bo_individualize_resv()
skip the

final switch of the resv for type_sg?

Because we need the original resv object for cleaning up the mapping
should the initial attach and then map have succeed.

Quoted 1 line

It goes through the trouble of copying the fences across?

Because we need to know when the import can be cleaned up.

In other words TTM takes a copy of the current fences and only unmap,
detach and then do the final cleanup after we are sure that the set of
fences which was active on destruction is now signaled.

If new fences are added to the resv object (maybe by the exporter itself or other
importers) after our reference count got down to zero then we don't
care about that.

Quoted 3 lines

If we do need to handle this here, do we also need to grab the lru
lock, like we

do in ttm_bo_individualize_resv() when doing the swap?

Quoted 8 lines

Good question, of hand I would say yes but I clearly need to check the
source code as well.

Might be better to switch the type of the BO on error so that the normal cleanup will just switch over to the local dma_resv object.

-               obj->resv = &obj->_resv;
+               gem_to_xe_bo(obj)->ttm.type = ttm_bo_type_kernel;

Switching the type to ttm_bo_type_kernel lets ttm_bo_individualize_resv() swap
resv to the BO's private _resv under lru_lock, which prevents UAF without
needing any manual locking.

Quoted 6 lines

The lru lock is IIRC only needed and safe when the ttm refcount is zero (in the TTM destruction path) to protect against a racing LRU walk trylock succeeds against the incorrect resv.

I wonder whether this was actually why xe code initially took care not to publish the bo on the LRUs until the attachment succeeded.

I think that having a resource object attached to the BO before we are done with the import is a bad idea.

IIRC amdgpu_gem_object_create() does exactly that. So bo->resource should be NULL.

We should also use the ttm.type = ttm_bo_type_kernel and only switch to ttm_bo_type_sg after the attachment suceeded.

Regards,
Christian.

Quoted 88 lines

A TTM LRU walker may pick up the exporting resv as soon as the resource is published on the LRU, and then try to lock it using ttm_lru_walk_ticketlock(). The lru lock doesn't protect against that.

So we have a sort of moment22, since with that approach move_notify() could be called without the bo being fully initialized.

One way to move forward would perhaps be to, for now, reinstate that and have move_notify check if the bo is a stub or fully initialized before doing anything.

Also perhaps we should in the future consider allowing dma-buf attachment removal under a separate lower-level lock than the resv.

Thanks,
Thomas

Quoted 69 lines

Checked all bo->type readers (xe_evict_flags(), xe_bo_move(), xe_bo_can_migrate()) and found they can be called concurrently by the shrinker or eviction paths without any synchronization, making the bo->type change unsafe.

Switching resv to &obj->_resv under lru_lock, mirroring ttm_bo_individualize_resv(), is the more reasonable. I'll send this as v2, along with a separate patch fixing the same issue in amdgpu.

- Nitin

Quoted 56 lines
Quoted 2 lines

Since we don't need the original dma_resv for the cleanup that should work

fine.

Quoted 10 lines
Quoted 2 lines

Ideally xe and amdgpu can just have identical solutions here.

Yeah completely agree.

Regards,
Christian.

Quoted 2 lines
Quoted 2 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines

How the heck did you found that? Do we have a dummy driver (VGEM?)
which

could be made to always fail attachment for a test case?

The bug was found via the existing KUnit test (xe_dma_buf_kunit), which was
failing on a BMG VM device. The test runs 20 parameter combinations.
the failing ones use force_different_devices=true + mem_mask=XE_BO_FLAG_VRAM0 + nop2p_attach_ops, where dma_buf_dynamic_attach() returns -EOPNOTSUPP, hitting the error path.

On bare metal BMG the race window is too narrow to hit the issue. To make it
more deterministic, added a small msleep(100) in ttm_bo_delayed_delete() just
before the dma_resv_lock() call, which widened the race window. With KASAN enabled, that gave a clear slab-use-after-free in __ww_mutex_lock
— the 0x6b6b6b6b SLUB poison pattern in the faulting address confirmed the
UAF.

Thanks,
Nitin

Quoted 15 lines
Quoted 3 lines
Quoted 3 lines

@Vitaly can you take a look and try to come up with a test case for that?

Thanks in advance.

Quoted 11 lines
Quoted 10 lines

Thanks for the notice,
Christian.

Quoted 5 lines
Quoted 4 lines

           xe_bo_put(gem_to_xe_bo(obj));
           return ERR_CAST(attach);
       }

#14 lore raw

✗ CI.checkpatch: warning for drm/xe: Fix UAF in xe_gem_prime_import() on attach failure

In reply to Nitin Gote
== Series Details ==

== Series Details ==

Series: drm/xe: Fix UAF in xe_gem_prime_import() on attach failure
URL : https://patchwork.freedesktop.org/series/167647/
State : warning

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master 061140b9bc586ae7f40abc1249c97e1cc72d1b9d
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 6c5788e9b5fc31868cabb0eecb85ec279b5c0c80

Author: Nitin Gote <[email protected]>
Date:   Mon Jun 1 15:45:37 2026 +0530
    drm/xe: Fix UAF in xe_gem_prime_import() on attach failure
    
    xe_dma_buf_create_obj() creates the importer BO with obj->resv
    pointing at the exporter's dma_buf->resv. When dma_buf_dynamic_attach()
    fails, no dma_buf reference is held so the exporter can be freed
    immediately. Since ttm_bo_release() now always defers cleanup for
    ttm_bo_type_sg BOs to the TTM workqueue, the worker later calls
    dma_resv_lock() on the already-freed exporter resv, causing a UAF.
    
    Reset obj->resv to the BO's private _resv before calling xe_bo_put()
    in the error path. The BO is not yet published (attach failed) and
    carries no fences, so the switch is safe.
    
    Observed with igt@xe_live_ktest@xe_dma_buf_kunit on BMG (QEMU):
    
      Oops: general protection fault, probably for non-canonical address 0x6b6b6b6b6b6b6b9c
      Workqueue: ttm ttm_bo_delayed_delete [ttm]
      RIP: 0010:mutex_can_spin_on_owner+0x3f/0xc0
      Call Trace:
       <TASK>
       ? __ww_mutex_lock.constprop.0+0x2dd/0x18e0
       ? ttm_bo_delayed_delete+0x41/0xc0 [ttm]
       ww_mutex_lock+0x3c/0xb0
       ttm_bo_delayed_delete+0x41/0xc0 [ttm]
       process_one_work+0x239/0x740
       worker_thread+0x200/0x3f0
       kthread+0x10d/0x150
       ret_from_fork+0x3bd/0x470
       ret_from_fork_asm+0x1a/0x30
       </TASK>
    
    Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/8023
    Fixes: d99fbd9aab62 ("drm/ttm: Always take the bo delayed cleanup path for imported bos")
    Cc: [email protected] # v6.8+
    Cc: Thomas Hellstrom <[email protected]>
    Cc: Matthew Brost <[email protected]>
    Cc: Matthew Auld <[email protected]>
    Signed-off-by: Nitin Gote <[email protected]>

+ /mt/dim checkpatch 8133a9f4c4fd407e81df71530490836a1170bb2f drm-intel
6c5788e9b5fc drm/xe: Fix UAF in xe_gem_prime_import() on attach failure
-:19: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?) #19:

  Oops: general protection fault, probably for non-canonical address 0x6b6b6b6b6b6b6b9c

total: 0 errors, 1 warnings, 0 checks, 14 lines checked

#15 lore raw

✓ CI.KUnit: success for drm/xe: Fix UAF in xe_gem_prime_import() on attach failure

In reply to Nitin Gote
== Series Details ==

== Series Details ==

Series: drm/xe: Fix UAF in xe_gem_prime_import() on attach failure
URL : https://patchwork.freedesktop.org/series/167647/
State : success

== Summary ==

+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [12:17:07] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:

$ make ARCH=um O=.kunit olddefconfig
[12:17:12] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[12:17:43] Starting KUnit Kernel (1/1)...
[12:17:43] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[12:17:43] ================== guc_buf (11 subtests) ===================
[12:17:43] [PASSED] test_smallest
[12:17:43] [PASSED] test_largest
[12:17:43] [PASSED] test_granular
[12:17:43] [PASSED] test_unique
[12:17:43] [PASSED] test_overlap
[12:17:43] [PASSED] test_reusable
[12:17:43] [PASSED] test_too_big
[12:17:43] [PASSED] test_flush
[12:17:43] [PASSED] test_lookup
[12:17:43] [PASSED] test_data
[12:17:43] [PASSED] test_class
[12:17:43] ===================== [PASSED] guc_buf =====================
[12:17:43] =================== guc_dbm (7 subtests) ===================
[12:17:43] [PASSED] test_empty
[12:17:43] [PASSED] test_default
[12:17:43] ======================== test_size  ========================
[12:17:43] [PASSED] 4
[12:17:43] [PASSED] 8
[12:17:43] [PASSED] 32
[12:17:43] [PASSED] 256
[12:17:43] ==================== [PASSED] test_size ====================
[12:17:43] ======================= test_reuse  ========================
[12:17:43] [PASSED] 4
[12:17:43] [PASSED] 8
[12:17:43] [PASSED] 32
[12:17:43] [PASSED] 256
[12:17:43] =================== [PASSED] test_reuse ====================
[12:17:43] =================== test_range_overlap  ====================
[12:17:43] [PASSED] 4
[12:17:43] [PASSED] 8
[12:17:43] [PASSED] 32
[12:17:43] [PASSED] 256
[12:17:43] =============== [PASSED] test_range_overlap ================
[12:17:43] =================== test_range_compact  ====================
[12:17:43] [PASSED] 4
[12:17:43] [PASSED] 8
[12:17:43] [PASSED] 32
[12:17:43] [PASSED] 256
[12:17:43] =============== [PASSED] test_range_compact ================
[12:17:43] ==================== test_range_spare  =====================
[12:17:43] [PASSED] 4
[12:17:43] [PASSED] 8
[12:17:43] [PASSED] 32
[12:17:43] [PASSED] 256
[12:17:43] ================ [PASSED] test_range_spare =================
[12:17:43] ===================== [PASSED] guc_dbm =====================
[12:17:43] =================== guc_idm (6 subtests) ===================
[12:17:43] [PASSED] bad_init
[12:17:43] [PASSED] no_init
[12:17:43] [PASSED] init_fini
[12:17:43] [PASSED] check_used
[12:17:43] [PASSED] check_quota
[12:17:43] [PASSED] check_all
[12:17:43] ===================== [PASSED] guc_idm =====================
[12:17:43] ================== no_relay (3 subtests) ===================
[12:17:43] [PASSED] xe_drops_guc2pf_if_not_ready
[12:17:43] [PASSED] xe_drops_guc2vf_if_not_ready
[12:17:43] [PASSED] xe_rejects_send_if_not_ready
[12:17:43] ==================== [PASSED] no_relay =====================
[12:17:43] ================== pf_relay (14 subtests) ==================
[12:17:43] [PASSED] pf_rejects_guc2pf_too_short
[12:17:43] [PASSED] pf_rejects_guc2pf_too_long
[12:17:43] [PASSED] pf_rejects_guc2pf_no_payload
[12:17:43] [PASSED] pf_fails_no_payload
[12:17:43] [PASSED] pf_fails_bad_origin
[12:17:43] [PASSED] pf_fails_bad_type
[12:17:43] [PASSED] pf_txn_reports_error
[12:17:43] [PASSED] pf_txn_sends_pf2guc
[12:17:43] [PASSED] pf_sends_pf2guc
[12:17:43] [SKIPPED] pf_loopback_nop
[12:17:43] [SKIPPED] pf_loopback_echo
[12:17:43] [SKIPPED] pf_loopback_fail
[12:17:43] [SKIPPED] pf_loopback_busy
[12:17:43] [SKIPPED] pf_loopback_retry
[12:17:43] ==================== [PASSED] pf_relay =====================
[12:17:43] ================== vf_relay (3 subtests) ===================
[12:17:43] [PASSED] vf_rejects_guc2vf_too_short
[12:17:43] [PASSED] vf_rejects_guc2vf_too_long
[12:17:43] [PASSED] vf_rejects_guc2vf_no_payload
[12:17:43] ==================== [PASSED] vf_relay =====================
[12:17:43] ================ pf_gt_config (9 subtests) =================
[12:17:43] [PASSED] fair_contexts_1vf
[12:17:43] [PASSED] fair_doorbells_1vf
[12:17:43] [PASSED] fair_ggtt_1vf
[12:17:43] ====================== fair_vram_1vf  ======================
[12:17:43] [PASSED] 3.50 GiB
[12:17:43] [PASSED] 11.5 GiB
[12:17:43] [PASSED] 15.5 GiB
[12:17:43] [PASSED] 31.5 GiB
[12:17:43] [PASSED] 63.5 GiB
[12:17:43] [PASSED] 1.91 GiB
[12:17:43] ================== [PASSED] fair_vram_1vf ==================
[12:17:43] ================ fair_vram_1vf_admin_only  =================
[12:17:43] [PASSED] 3.50 GiB
[12:17:43] [PASSED] 11.5 GiB
[12:17:43] [PASSED] 15.5 GiB
[12:17:43] [PASSED] 31.5 GiB
[12:17:43] [PASSED] 63.5 GiB
[12:17:43] [PASSED] 1.91 GiB
[12:17:43] ============ [PASSED] fair_vram_1vf_admin_only =============
[12:17:43] ====================== fair_contexts  ======================
[12:17:43] [PASSED] 1 VF
[12:17:43] [PASSED] 2 VFs
[12:17:43] [PASSED] 3 VFs
[12:17:43] [PASSED] 4 VFs
[12:17:43] [PASSED] 5 VFs
[12:17:43] [PASSED] 6 VFs
[12:17:43] [PASSED] 7 VFs
[12:17:43] [PASSED] 8 VFs
[12:17:43] [PASSED] 9 VFs
[12:17:43] [PASSED] 10 VFs
[12:17:43] [PASSED] 11 VFs
[12:17:43] [PASSED] 12 VFs
[12:17:43] [PASSED] 13 VFs
[12:17:43] [PASSED] 14 VFs
[12:17:43] [PASSED] 15 VFs
[12:17:43] [PASSED] 16 VFs
[12:17:43] [PASSED] 17 VFs
[12:17:43] [PASSED] 18 VFs
[12:17:43] [PASSED] 19 VFs
[12:17:43] [PASSED] 20 VFs
[12:17:43] [PASSED] 21 VFs
[12:17:43] [PASSED] 22 VFs
[12:17:43] [PASSED] 23 VFs
[12:17:43] [PASSED] 24 VFs
[12:17:43] [PASSED] 25 VFs
[12:17:43] [PASSED] 26 VFs
[12:17:43] [PASSED] 27 VFs
[12:17:43] [PASSED] 28 VFs
[12:17:43] [PASSED] 29 VFs
[12:17:43] [PASSED] 30 VFs
[12:17:43] [PASSED] 31 VFs
[12:17:43] [PASSED] 32 VFs
[12:17:43] [PASSED] 33 VFs
[12:17:43] [PASSED] 34 VFs
[12:17:43] [PASSED] 35 VFs
[12:17:43] [PASSED] 36 VFs
[12:17:43] [PASSED] 37 VFs
[12:17:43] [PASSED] 38 VFs
[12:17:43] [PASSED] 39 VFs
[12:17:43] [PASSED] 40 VFs
[12:17:43] [PASSED] 41 VFs
[12:17:43] [PASSED] 42 VFs
[12:17:43] [PASSED] 43 VFs
[12:17:43] [PASSED] 44 VFs
[12:17:43] [PASSED] 45 VFs
[12:17:43] [PASSED] 46 VFs
[12:17:43] [PASSED] 47 VFs
[12:17:43] [PASSED] 48 VFs
[12:17:43] [PASSED] 49 VFs
[12:17:43] [PASSED] 50 VFs
[12:17:43] [PASSED] 51 VFs
[12:17:43] [PASSED] 52 VFs
[12:17:43] [PASSED] 53 VFs
[12:17:43] [PASSED] 54 VFs
[12:17:43] [PASSED] 55 VFs
[12:17:43] [PASSED] 56 VFs
[12:17:43] [PASSED] 57 VFs
[12:17:43] [PASSED] 58 VFs
[12:17:43] [PASSED] 59 VFs
[12:17:43] [PASSED] 60 VFs
[12:17:43] [PASSED] 61 VFs
[12:17:43] [PASSED] 62 VFs
[12:17:43] [PASSED] 63 VFs
[12:17:43] ================== [PASSED] fair_contexts ==================
[12:17:43] ===================== fair_doorbells  ======================
[12:17:43] [PASSED] 1 VF
[12:17:43] [PASSED] 2 VFs
[12:17:43] [PASSED] 3 VFs
[12:17:43] [PASSED] 4 VFs
[12:17:43] [PASSED] 5 VFs
[12:17:43] [PASSED] 6 VFs
[12:17:43] [PASSED] 7 VFs
[12:17:43] [PASSED] 8 VFs
[12:17:43] [PASSED] 9 VFs
[12:17:43] [PASSED] 10 VFs
[12:17:43] [PASSED] 11 VFs
[12:17:43] [PASSED] 12 VFs
[12:17:43] [PASSED] 13 VFs
[12:17:43] [PASSED] 14 VFs
[12:17:43] [PASSED] 15 VFs
[12:17:43] [PASSED] 16 VFs
[12:17:43] [PASSED] 17 VFs
[12:17:43] [PASSED] 18 VFs
[12:17:43] [PASSED] 19 VFs
[12:17:43] [PASSED] 20 VFs
[12:17:43] [PASSED] 21 VFs
[12:17:43] [PASSED] 22 VFs
[12:17:43] [PASSED] 23 VFs
[12:17:43] [PASSED] 24 VFs
[12:17:43] [PASSED] 25 VFs
[12:17:43] [PASSED] 26 VFs
[12:17:43] [PASSED] 27 VFs
[12:17:43] [PASSED] 28 VFs
[12:17:43] [PASSED] 29 VFs
[12:17:43] [PASSED] 30 VFs
[12:17:43] [PASSED] 31 VFs
[12:17:43] [PASSED] 32 VFs
[12:17:43] [PASSED] 33 VFs
[12:17:43] [PASSED] 34 VFs
[12:17:43] [PASSED] 35 VFs
[12:17:43] [PASSED] 36 VFs
[12:17:43] [PASSED] 37 VFs
[12:17:43] [PASSED] 38 VFs
[12:17:43] [PASSED] 39 VFs
[12:17:43] [PASSED] 40 VFs
[12:17:43] [PASSED] 41 VFs
[12:17:43] [PASSED] 42 VFs
[12:17:43] [PASSED] 43 VFs
[12:17:43] [PASSED] 44 VFs
[12:17:43] [PASSED] 45 VFs
[12:17:43] [PASSED] 46 VFs
[12:17:43] [PASSED] 47 VFs
[12:17:43] [PASSED] 48 VFs
[12:17:43] [PASSED] 49 VFs
[12:17:43] [PASSED] 50 VFs
[12:17:43] [PASSED] 51 VFs
[12:17:43] [PASSED] 52 VFs
[12:17:43] [PASSED] 53 VFs
[12:17:43] [PASSED] 54 VFs
[12:17:43] [PASSED] 55 VFs
[12:17:43] [PASSED] 56 VFs
[12:17:43] [PASSED] 57 VFs
[12:17:43] [PASSED] 58 VFs
[12:17:43] [PASSED] 59 VFs
[12:17:43] [PASSED] 60 VFs
[12:17:43] [PASSED] 61 VFs
[12:17:43] [PASSED] 62 VFs
[12:17:43] [PASSED] 63 VFs
[12:17:43] ================= [PASSED] fair_doorbells ==================
[12:17:43] ======================== fair_ggtt  ========================
[12:17:43] [PASSED] 1 VF
[12:17:43] [PASSED] 2 VFs
[12:17:43] [PASSED] 3 VFs
[12:17:43] [PASSED] 4 VFs
[12:17:43] [PASSED] 5 VFs
[12:17:43] [PASSED] 6 VFs
[12:17:43] [PASSED] 7 VFs
[12:17:43] [PASSED] 8 VFs
[12:17:43] [PASSED] 9 VFs
[12:17:43] [PASSED] 10 VFs
[12:17:43] [PASSED] 11 VFs
[12:17:44] [PASSED] 12 VFs
[12:17:44] [PASSED] 13 VFs
[12:17:44] [PASSED] 14 VFs
[12:17:44] [PASSED] 15 VFs
[12:17:44] [PASSED] 16 VFs
[12:17:44] [PASSED] 17 VFs
[12:17:44] [PASSED] 18 VFs
[12:17:44] [PASSED] 19 VFs
[12:17:44] [PASSED] 20 VFs
[12:17:44] [PASSED] 21 VFs
[12:17:44] [PASSED] 22 VFs
[12:17:44] [PASSED] 23 VFs
[12:17:44] [PASSED] 24 VFs
[12:17:44] [PASSED] 25 VFs
[12:17:44] [PASSED] 26 VFs
[12:17:44] [PASSED] 27 VFs
[12:17:44] [PASSED] 28 VFs
[12:17:44] [PASSED] 29 VFs
[12:17:44] [PASSED] 30 VFs
[12:17:44] [PASSED] 31 VFs
[12:17:44] [PASSED] 32 VFs
[12:17:44] [PASSED] 33 VFs
[12:17:44] [PASSED] 34 VFs
[12:17:44] [PASSED] 35 VFs
[12:17:44] [PASSED] 36 VFs
[12:17:44] [PASSED] 37 VFs
[12:17:44] [PASSED] 38 VFs
[12:17:44] [PASSED] 39 VFs
[12:17:44] [PASSED] 40 VFs
[12:17:44] [PASSED] 41 VFs
[12:17:44] [PASSED] 42 VFs
[12:17:44] [PASSED] 43 VFs
[12:17:44] [PASSED] 44 VFs
[12:17:44] [PASSED] 45 VFs
[12:17:44] [PASSED] 46 VFs
[12:17:44] [PASSED] 47 VFs
[12:17:44] [PASSED] 48 VFs
[12:17:44] [PASSED] 49 VFs
[12:17:44] [PASSED] 50 VFs
[12:17:44] [PASSED] 51 VFs
[12:17:44] [PASSED] 52 VFs
[12:17:44] [PASSED] 53 VFs
[12:17:44] [PASSED] 54 VFs
[12:17:44] [PASSED] 55 VFs
[12:17:44] [PASSED] 56 VFs
[12:17:44] [PASSED] 57 VFs
[12:17:44] [PASSED] 58 VFs
[12:17:44] [PASSED] 59 VFs
[12:17:44] [PASSED] 60 VFs
[12:17:44] [PASSED] 61 VFs
[12:17:44] [PASSED] 62 VFs
[12:17:44] [PASSED] 63 VFs
[12:17:44] ==================== [PASSED] fair_ggtt ====================
[12:17:44] ======================== fair_vram  ========================
[12:17:44] [PASSED] 1 VF
[12:17:44] [PASSED] 2 VFs
[12:17:44] [PASSED] 3 VFs
[12:17:44] [PASSED] 4 VFs
[12:17:44] [PASSED] 5 VFs
[12:17:44] [PASSED] 6 VFs
[12:17:44] [PASSED] 7 VFs
[12:17:44] [PASSED] 8 VFs
[12:17:44] [PASSED] 9 VFs
[12:17:44] [PASSED] 10 VFs
[12:17:44] [PASSED] 11 VFs
[12:17:44] [PASSED] 12 VFs
[12:17:44] [PASSED] 13 VFs
[12:17:44] [PASSED] 14 VFs
[12:17:44] [PASSED] 15 VFs
[12:17:44] [PASSED] 16 VFs
[12:17:44] [PASSED] 17 VFs
[12:17:44] [PASSED] 18 VFs
[12:17:44] [PASSED] 19 VFs
[12:17:44] [PASSED] 20 VFs
[12:17:44] [PASSED] 21 VFs
[12:17:44] [PASSED] 22 VFs
[12:17:44] [PASSED] 23 VFs
[12:17:44] [PASSED] 24 VFs
[12:17:44] [PASSED] 25 VFs
[12:17:44] [PASSED] 26 VFs
[12:17:44] [PASSED] 27 VFs
[12:17:44] [PASSED] 28 VFs
[12:17:44] [PASSED] 29 VFs
[12:17:44] [PASSED] 30 VFs
[12:17:44] [PASSED] 31 VFs
[12:17:44] [PASSED] 32 VFs
[12:17:44] [PASSED] 33 VFs
[12:17:44] [PASSED] 34 VFs
[12:17:44] [PASSED] 35 VFs
[12:17:44] [PASSED] 36 VFs
[12:17:44] [PASSED] 37 VFs
[12:17:44] [PASSED] 38 VFs
[12:17:44] [PASSED] 39 VFs
[12:17:44] [PASSED] 40 VFs
[12:17:44] [PASSED] 41 VFs
[12:17:44] [PASSED] 42 VFs
[12:17:44] [PASSED] 43 VFs
[12:17:44] [PASSED] 44 VFs
[12:17:44] [PASSED] 45 VFs
[12:17:44] [PASSED] 46 VFs
[12:17:44] [PASSED] 47 VFs
[12:17:44] [PASSED] 48 VFs
[12:17:44] [PASSED] 49 VFs
[12:17:44] [PASSED] 50 VFs
[12:17:44] [PASSED] 51 VFs
[12:17:44] [PASSED] 52 VFs
[12:17:44] [PASSED] 53 VFs
[12:17:44] [PASSED] 54 VFs
[12:17:44] [PASSED] 55 VFs
[12:17:44] [PASSED] 56 VFs
[12:17:44] [PASSED] 57 VFs
[12:17:44] [PASSED] 58 VFs
[12:17:44] [PASSED] 59 VFs
[12:17:44] [PASSED] 60 VFs
[12:17:44] [PASSED] 61 VFs
[12:17:44] [PASSED] 62 VFs
[12:17:44] [PASSED] 63 VFs
[12:17:44] ==================== [PASSED] fair_vram ====================
[12:17:44] ================== [PASSED] pf_gt_config ===================
[12:17:44] ===================== lmtt (1 subtest) =====================
[12:17:44] ======================== test_ops  =========================
[12:17:44] [PASSED] 2-level
[12:17:44] [PASSED] multi-level
[12:17:44] ==================== [PASSED] test_ops =====================
[12:17:44] ====================== [PASSED] lmtt =======================
[12:17:44] ================= pf_service (11 subtests) =================
[12:17:44] [PASSED] pf_negotiate_any
[12:17:44] [PASSED] pf_negotiate_base_match
[12:17:44] [PASSED] pf_negotiate_base_newer
[12:17:44] [PASSED] pf_negotiate_base_next
[12:17:44] [SKIPPED] pf_negotiate_base_older
[12:17:44] [PASSED] pf_negotiate_base_prev
[12:17:44] [PASSED] pf_negotiate_latest_match
[12:17:44] [PASSED] pf_negotiate_latest_newer
[12:17:44] [PASSED] pf_negotiate_latest_next
[12:17:44] [SKIPPED] pf_negotiate_latest_older
[12:17:44] [SKIPPED] pf_negotiate_latest_prev
[12:17:44] =================== [PASSED] pf_service ====================
[12:17:44] ================= xe_guc_g2g (2 subtests) ==================
[12:17:44] ============== xe_live_guc_g2g_kunit_default  ==============
[12:17:44] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[12:17:44] ============== xe_live_guc_g2g_kunit_allmem  ===============
[12:17:44] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[12:17:44] =================== [SKIPPED] xe_guc_g2g ===================
[12:17:44] =================== xe_mocs (2 subtests) ===================
[12:17:44] ================ xe_live_mocs_kernel_kunit  ================
[12:17:44] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[12:17:44] ================ xe_live_mocs_reset_kunit  =================
[12:17:44] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[12:17:44] ==================== [SKIPPED] xe_mocs =====================
[12:17:44] ================= xe_migrate (2 subtests) ==================
[12:17:44] ================= xe_migrate_sanity_kunit  =================
[12:17:44] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[12:17:44] ================== xe_validate_ccs_kunit  ==================
[12:17:44] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[12:17:44] =================== [SKIPPED] xe_migrate ===================
[12:17:44] ================== xe_dma_buf (1 subtest) ==================
[12:17:44] ==================== xe_dma_buf_kunit  =====================
[12:17:44] ================ [SKIPPED] xe_dma_buf_kunit ================
[12:17:44] =================== [SKIPPED] xe_dma_buf ===================
[12:17:44] ================= xe_bo_shrink (1 subtest) =================
[12:17:44] =================== xe_bo_shrink_kunit  ====================
[12:17:44] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[12:17:44] ================== [SKIPPED] xe_bo_shrink ==================
[12:17:44] ==================== xe_bo (2 subtests) ====================
[12:17:44] ================== xe_ccs_migrate_kunit  ===================
[12:17:44] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[12:17:44] ==================== xe_bo_evict_kunit  ====================
[12:17:44] =============== [SKIPPED] xe_bo_evict_kunit ================
[12:17:44] ===================== [SKIPPED] xe_bo ======================
[12:17:44] ==================== args (13 subtests) ====================
[12:17:44] [PASSED] count_args_test
[12:17:44] [PASSED] call_args_example
[12:17:44] [PASSED] call_args_test
[12:17:44] [PASSED] drop_first_arg_example
[12:17:44] [PASSED] drop_first_arg_test
[12:17:44] [PASSED] first_arg_example
[12:17:44] [PASSED] first_arg_test
[12:17:44] [PASSED] last_arg_example
[12:17:44] [PASSED] last_arg_test
[12:17:44] [PASSED] pick_arg_example
[12:17:44] [PASSED] if_args_example
[12:17:44] [PASSED] if_args_test
[12:17:44] [PASSED] sep_comma_example
[12:17:44] ====================== [PASSED] args =======================
[12:17:44] =================== xe_pci (3 subtests) ====================
[12:17:44] ==================== check_graphics_ip  ====================
[12:17:44] [PASSED] 12.00 Xe_LP
[12:17:44] [PASSED] 12.10 Xe_LP+
[12:17:44] [PASSED] 12.55 Xe_HPG
[12:17:44] [PASSED] 12.60 Xe_HPC
[12:17:44] [PASSED] 12.70 Xe_LPG
[12:17:44] [PASSED] 12.71 Xe_LPG
[12:17:44] [PASSED] 12.74 Xe_LPG+
[12:17:44] [PASSED] 20.01 Xe2_HPG
[12:17:44] [PASSED] 20.02 Xe2_HPG
[12:17:44] [PASSED] 20.04 Xe2_LPG
[12:17:44] [PASSED] 30.00 Xe3_LPG
[12:17:44] [PASSED] 30.01 Xe3_LPG
[12:17:44] [PASSED] 30.03 Xe3_LPG
[12:17:44] [PASSED] 30.04 Xe3_LPG
[12:17:44] [PASSED] 30.05 Xe3_LPG
[12:17:44] [PASSED] 35.10 Xe3p_LPG
[12:17:44] [PASSED] 35.11 Xe3p_XPC
[12:17:44] ================ [PASSED] check_graphics_ip ================
[12:17:44] ===================== check_media_ip  ======================
[12:17:44] [PASSED] 12.00 Xe_M
[12:17:44] [PASSED] 12.55 Xe_HPM
[12:17:44] [PASSED] 13.00 Xe_LPM+
[12:17:44] [PASSED] 13.01 Xe2_HPM
[12:17:44] [PASSED] 20.00 Xe2_LPM
[12:17:44] [PASSED] 30.00 Xe3_LPM
[12:17:44] [PASSED] 30.02 Xe3_LPM
[12:17:44] [PASSED] 35.00 Xe3p_LPM
[12:17:44] [PASSED] 35.03 Xe3p_HPM
[12:17:44] ================= [PASSED] check_media_ip ==================
[12:17:44] =================== check_platform_desc  ===================
[12:17:44] [PASSED] 0x9A60 (TIGERLAKE)
[12:17:44] [PASSED] 0x9A68 (TIGERLAKE)
[12:17:44] [PASSED] 0x9A70 (TIGERLAKE)
[12:17:44] [PASSED] 0x9A40 (TIGERLAKE)
[12:17:44] [PASSED] 0x9A49 (TIGERLAKE)
[12:17:44] [PASSED] 0x9A59 (TIGERLAKE)
[12:17:44] [PASSED] 0x9A78 (TIGERLAKE)
[12:17:44] [PASSED] 0x9AC0 (TIGERLAKE)
[12:17:44] [PASSED] 0x9AC9 (TIGERLAKE)
[12:17:44] [PASSED] 0x9AD9 (TIGERLAKE)
[12:17:44] [PASSED] 0x9AF8 (TIGERLAKE)
[12:17:44] [PASSED] 0x4C80 (ROCKETLAKE)
[12:17:44] [PASSED] 0x4C8A (ROCKETLAKE)
[12:17:44] [PASSED] 0x4C8B (ROCKETLAKE)
[12:17:44] [PASSED] 0x4C8C (ROCKETLAKE)
[12:17:44] [PASSED] 0x4C90 (ROCKETLAKE)
[12:17:44] [PASSED] 0x4C9A (ROCKETLAKE)
[12:17:44] [PASSED] 0x4680 (ALDERLAKE_S)
[12:17:44] [PASSED] 0x4682 (ALDERLAKE_S)
[12:17:44] [PASSED] 0x4688 (ALDERLAKE_S)
[12:17:44] [PASSED] 0x468A (ALDERLAKE_S)
[12:17:44] [PASSED] 0x468B (ALDERLAKE_S)
[12:17:44] [PASSED] 0x4690 (ALDERLAKE_S)
[12:17:44] [PASSED] 0x4692 (ALDERLAKE_S)
[12:17:44] [PASSED] 0x4693 (ALDERLAKE_S)
[12:17:44] [PASSED] 0x46A0 (ALDERLAKE_P)
[12:17:44] [PASSED] 0x46A1 (ALDERLAKE_P)
[12:17:44] [PASSED] 0x46A2 (ALDERLAKE_P)
[12:17:44] [PASSED] 0x46A3 (ALDERLAKE_P)
[12:17:44] [PASSED] 0x46A6 (ALDERLAKE_P)
[12:17:44] [PASSED] 0x46A8 (ALDERLAKE_P)
[12:17:44] [PASSED] 0x46AA (ALDERLAKE_P)
[12:17:44] [PASSED] 0x462A (ALDERLAKE_P)
[12:17:44] [PASSED] 0x4626 (ALDERLAKE_P)
[12:17:44] [PASSED] 0x4628 (ALDERLAKE_P)
[12:17:44] [PASSED] 0x46B0 (ALDERLAKE_P)
[12:17:44] [PASSED] 0x46B1 (ALDERLAKE_P)
[12:17:44] [PASSED] 0x46B2 (ALDERLAKE_P)
[12:17:44] [PASSED] 0x46B3 (ALDERLAKE_P)
[12:17:44] [PASSED] 0x46C0 (ALDERLAKE_P)
[12:17:44] [PASSED] 0x46C1 (ALDERLAKE_P)
[12:17:44] [PASSED] 0x46C2 (ALDERLAKE_P)
[12:17:44] [PASSED] 0x46C3 (ALDERLAKE_P)
[12:17:44] [PASSED] 0x46D0 (ALDERLAKE_N)
[12:17:44] [PASSED] 0x46D1 (ALDERLAKE_N)
[12:17:44] [PASSED] 0x46D2 (ALDERLAKE_N)
[12:17:44] [PASSED] 0x46D3 (ALDERLAKE_N)
[12:17:44] [PASSED] 0x46D4 (ALDERLAKE_N)
[12:17:44] [PASSED] 0xA721 (ALDERLAKE_P)
[12:17:44] [PASSED] 0xA7A1 (ALDERLAKE_P)
[12:17:44] [PASSED] 0xA7A9 (ALDERLAKE_P)
[12:17:44] [PASSED] 0xA7AC (ALDERLAKE_P)
[12:17:44] [PASSED] 0xA7AD (ALDERLAKE_P)
[12:17:44] [PASSED] 0xA720 (ALDERLAKE_P)
[12:17:44] [PASSED] 0xA7A0 (ALDERLAKE_P)
[12:17:44] [PASSED] 0xA7A8 (ALDERLAKE_P)
[12:17:44] [PASSED] 0xA7AA (ALDERLAKE_P)
[12:17:44] [PASSED] 0xA7AB (ALDERLAKE_P)
[12:17:44] [PASSED] 0xA780 (ALDERLAKE_S)
[12:17:44] [PASSED] 0xA781 (ALDERLAKE_S)
[12:17:44] [PASSED] 0xA782 (ALDERLAKE_S)
[12:17:44] [PASSED] 0xA783 (ALDERLAKE_S)
[12:17:44] [PASSED] 0xA788 (ALDERLAKE_S)
[12:17:44] [PASSED] 0xA789 (ALDERLAKE_S)
[12:17:44] [PASSED] 0xA78A (ALDERLAKE_S)
[12:17:44] [PASSED] 0xA78B (ALDERLAKE_S)
[12:17:44] [PASSED] 0x4905 (DG1)
[12:17:44] [PASSED] 0x4906 (DG1)
[12:17:44] [PASSED] 0x4907 (DG1)
[12:17:44] [PASSED] 0x4908 (DG1)
[12:17:44] [PASSED] 0x4909 (DG1)
[12:17:44] [PASSED] 0x56C0 (DG2)
[12:17:44] [PASSED] 0x56C2 (DG2)
[12:17:44] [PASSED] 0x56C1 (DG2)
[12:17:44] [PASSED] 0x7D51 (METEORLAKE)
[12:17:44] [PASSED] 0x7DD1 (METEORLAKE)
[12:17:44] [PASSED] 0x7D41 (METEORLAKE)
[12:17:44] [PASSED] 0x7D67 (METEORLAKE)
[12:17:44] [PASSED] 0xB640 (METEORLAKE)
[12:17:44] [PASSED] 0x56A0 (DG2)
[12:17:44] [PASSED] 0x56A1 (DG2)
[12:17:44] [PASSED] 0x56A2 (DG2)
[12:17:44] [PASSED] 0x56BE (DG2)
[12:17:44] [PASSED] 0x56BF (DG2)
[12:17:44] [PASSED] 0x5690 (DG2)
[12:17:44] [PASSED] 0x5691 (DG2)
[12:17:44] [PASSED] 0x5692 (DG2)
[12:17:44] [PASSED] 0x56A5 (DG2)
[12:17:44] [PASSED] 0x56A6 (DG2)
[12:17:44] [PASSED] 0x56B0 (DG2)
[12:17:44] [PASSED] 0x56B1 (DG2)
[12:17:44] [PASSED] 0x56BA (DG2)
[12:17:44] [PASSED] 0x56BB (DG2)
[12:17:44] [PASSED] 0x56BC (DG2)
[12:17:44] [PASSED] 0x56BD (DG2)
[12:17:44] [PASSED] 0x5693 (DG2)
[12:17:44] [PASSED] 0x5694 (DG2)
[12:17:44] [PASSED] 0x5695 (DG2)
[12:17:44] [PASSED] 0x56A3 (DG2)
[12:17:44] [PASSED] 0x56A4 (DG2)
[12:17:44] [PASSED] 0x56B2 (DG2)
[12:17:44] [PASSED] 0x56B3 (DG2)
[12:17:44] [PASSED] 0x5696 (DG2)
[12:17:44] [PASSED] 0x5697 (DG2)
[12:17:44] [PASSED] 0xB69 (PVC)
[12:17:44] [PASSED] 0xB6E (PVC)
[12:17:44] [PASSED] 0xBD4 (PVC)
[12:17:44] [PASSED] 0xBD5 (PVC)
[12:17:44] [PASSED] 0xBD6 (PVC)
[12:17:44] [PASSED] 0xBD7 (PVC)
[12:17:44] [PASSED] 0xBD8 (PVC)
[12:17:44] [PASSED] 0xBD9 (PVC)
[12:17:44] [PASSED] 0xBDA (PVC)
[12:17:44] [PASSED] 0xBDB (PVC)
[12:17:44] [PASSED] 0xBE0 (PVC)
[12:17:44] [PASSED] 0xBE1 (PVC)
[12:17:44] [PASSED] 0xBE5 (PVC)
[12:17:44] [PASSED] 0x7D40 (METEORLAKE)
[12:17:44] [PASSED] 0x7D45 (METEORLAKE)
[12:17:44] [PASSED] 0x7D55 (METEORLAKE)
[12:17:44] [PASSED] 0x7D60 (METEORLAKE)
[12:17:44] [PASSED] 0x7DD5 (METEORLAKE)
[12:17:44] [PASSED] 0x6420 (LUNARLAKE)
[12:17:44] [PASSED] 0x64A0 (LUNARLAKE)
[12:17:44] [PASSED] 0x64B0 (LUNARLAKE)
[12:17:44] [PASSED] 0xE202 (BATTLEMAGE)
[12:17:44] [PASSED] 0xE209 (BATTLEMAGE)
[12:17:44] [PASSED] 0xE20B (BATTLEMAGE)
[12:17:44] [PASSED] 0xE20C (BATTLEMAGE)
[12:17:44] [PASSED] 0xE20D (BATTLEMAGE)
[12:17:44] [PASSED] 0xE210 (BATTLEMAGE)
[12:17:44] [PASSED] 0xE211 (BATTLEMAGE)
[12:17:44] [PASSED] 0xE212 (BATTLEMAGE)
[12:17:44] [PASSED] 0xE216 (BATTLEMAGE)
[12:17:44] [PASSED] 0xE220 (BATTLEMAGE)
[12:17:44] [PASSED] 0xE221 (BATTLEMAGE)
[12:17:44] [PASSED] 0xE222 (BATTLEMAGE)
[12:17:44] [PASSED] 0xE223 (BATTLEMAGE)
[12:17:44] [PASSED] 0xB080 (PANTHERLAKE)
[12:17:44] [PASSED] 0xB081 (PANTHERLAKE)
[12:17:44] [PASSED] 0xB082 (PANTHERLAKE)
[12:17:44] [PASSED] 0xB083 (PANTHERLAKE)
[12:17:44] [PASSED] 0xB084 (PANTHERLAKE)
[12:17:44] [PASSED] 0xB085 (PANTHERLAKE)
[12:17:44] [PASSED] 0xB086 (PANTHERLAKE)
[12:17:44] [PASSED] 0xB087 (PANTHERLAKE)
[12:17:44] [PASSED] 0xB08F (PANTHERLAKE)
[12:17:44] [PASSED] 0xB090 (PANTHERLAKE)
[12:17:44] [PASSED] 0xB0A0 (PANTHERLAKE)
[12:17:44] [PASSED] 0xB0B0 (PANTHERLAKE)
[12:17:44] [PASSED] 0xFD80 (PANTHERLAKE)
[12:17:44] [PASSED] 0xFD81 (PANTHERLAKE)
[12:17:44] [PASSED] 0xD740 (NOVALAKE_S)
[12:17:44] [PASSED] 0xD741 (NOVALAKE_S)
[12:17:44] [PASSED] 0xD742 (NOVALAKE_S)
[12:17:44] [PASSED] 0xD743 (NOVALAKE_S)
[12:17:44] [PASSED] 0xD744 (NOVALAKE_S)
[12:17:44] [PASSED] 0xD745 (NOVALAKE_S)
[12:17:44] [PASSED] 0x674C (CRESCENTISLAND)
[12:17:44] [PASSED] 0x674D (CRESCENTISLAND)
[12:17:44] [PASSED] 0x674E (CRESCENTISLAND)
[12:17:44] [PASSED] 0x674F (CRESCENTISLAND)
[12:17:44] [PASSED] 0x6750 (CRESCENTISLAND)
[12:17:44] [PASSED] 0xD750 (NOVALAKE_P)
[12:17:44] [PASSED] 0xD751 (NOVALAKE_P)
[12:17:44] [PASSED] 0xD752 (NOVALAKE_P)
[12:17:44] [PASSED] 0xD753 (NOVALAKE_P)
[12:17:44] [PASSED] 0xD754 (NOVALAKE_P)
[12:17:44] [PASSED] 0xD755 (NOVALAKE_P)
[12:17:44] [PASSED] 0xD756 (NOVALAKE_P)
[12:17:44] [PASSED] 0xD757 (NOVALAKE_P)
[12:17:44] [PASSED] 0xD75F (NOVALAKE_P)
[12:17:44] =============== [PASSED] check_platform_desc ===============
[12:17:44] ===================== [PASSED] xe_pci ======================
[12:17:44] =================== xe_rtp (3 subtests) ====================
[12:17:44] =================== xe_rtp_rules_tests  ====================
[12:17:44] [PASSED] no
[12:17:44] [PASSED] yes
[12:17:44] [PASSED] no-and-no
[12:17:44] [PASSED] no-and-yes
[12:17:44] [PASSED] yes-and-no
[12:17:44] [PASSED] yes-and-yes
[12:17:44] [PASSED] no-or-no
[12:17:44] [PASSED] no-or-yes
[12:17:44] [PASSED] yes-or-no
[12:17:44] [PASSED] yes-or-yes
[12:17:44] [PASSED] no-yes-or-yes-no
[12:17:44] [PASSED] no-yes-or-yes-yes
[12:17:44] [PASSED] yes-yes-or-no-yes
[12:17:44] [PASSED] yes-yes-or-yes-yes
[12:17:44] [PASSED] no-no-or-yes-or-no
[12:17:44] [PASSED] or
[12:17:44] [PASSED] or-yes
[12:17:44] [PASSED] or-no
[12:17:44] [PASSED] yes-or
[12:17:44] [PASSED] no-or
[12:17:44] [PASSED] no-or-or-yes
[12:17:44] [PASSED] yes-or-or-no
[12:17:44] [PASSED] no-or-or-no
[12:17:44] [PASSED] missing-context-engine-class
[12:17:44] [PASSED] missing-context-engine-class-or-yes
[12:17:44] [PASSED] missing-context-engine-class-or-or-yes
[12:17:44] =============== [PASSED] xe_rtp_rules_tests ================
[12:17:44] =============== xe_rtp_process_to_sr_tests  ================
[12:17:44] [PASSED] coalesce-same-reg
[12:17:44] [PASSED] no-match-no-add
[12:17:44] [PASSED] two-regs-two-entries
[12:17:44] [PASSED] clr-one-set-other
[12:17:44] [PASSED] set-field
[12:17:44] [PASSED] conflict-duplicate
[12:17:44] [PASSED] conflict-not-disjoint
[12:17:44] [PASSED] conflict-reg-type
[12:17:44] [PASSED] bad-mcr-reg-forced-to-regular
[12:17:44] [PASSED] bad-regular-reg-forced-to-mcr
[12:17:44] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[12:17:44] ================== xe_rtp_process_tests  ===================
[12:17:44] [PASSED] active1
[12:17:44] [PASSED] active2
[12:17:44] [PASSED] active-inactive
[12:17:44] [PASSED] inactive-active
[12:17:44] [PASSED] inactive-active-inactive
[12:17:44] [PASSED] inactive-inactive-inactive
[12:17:44] ============== [PASSED] xe_rtp_process_tests ===============
[12:17:44] ===================== [PASSED] xe_rtp ======================
[12:17:44] ==================== xe_wa (1 subtest) =====================
[12:17:44] ======================== xe_wa_gt  =========================
[12:17:44] [PASSED] TIGERLAKE B0
[12:17:44] [PASSED] DG1 A0
[12:17:44] [PASSED] DG1 B0
[12:17:44] [PASSED] ALDERLAKE_S A0
[12:17:44] [PASSED] ALDERLAKE_S B0
[12:17:44] [PASSED] ALDERLAKE_S C0
[12:17:44] [PASSED] ALDERLAKE_S D0
[12:17:44] [PASSED] ALDERLAKE_P A0
[12:17:44] [PASSED] ALDERLAKE_P B0
[12:17:44] [PASSED] ALDERLAKE_P C0
[12:17:44] [PASSED] ALDERLAKE_S RPLS D0
[12:17:44] [PASSED] ALDERLAKE_P RPLU E0
[12:17:44] [PASSED] DG2 G10 C0
[12:17:44] [PASSED] DG2 G11 B1
[12:17:44] [PASSED] DG2 G12 A1
[12:17:44] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[12:17:44] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[12:17:44] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[12:17:44] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[12:17:44] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[12:17:44] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[12:17:44] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[12:17:44] ==================== [PASSED] xe_wa_gt =====================
[12:17:44] ====================== [PASSED] xe_wa ======================
[12:17:44] ============================================================
[12:17:44] Testing complete. Ran 624 tests: passed: 606, skipped: 18
[12:17:44] Elapsed time: 36.282s total, 4.304s configuring, 31.313s building, 0.621s running

+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [12:17:44] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:

$ make ARCH=um O=.kunit olddefconfig
[12:17:46] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[12:18:09] Starting KUnit Kernel (1/1)...
[12:18:09] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[12:18:09] ============ drm_test_pick_cmdline (2 subtests) ============
[12:18:09] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[12:18:09] =============== drm_test_pick_cmdline_named  ===============
[12:18:09] [PASSED] NTSC
[12:18:09] [PASSED] NTSC-J
[12:18:09] [PASSED] PAL
[12:18:09] [PASSED] PAL-M
[12:18:09] =========== [PASSED] drm_test_pick_cmdline_named ===========
[12:18:09] ============== [PASSED] drm_test_pick_cmdline ==============
[12:18:09] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[12:18:09] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[12:18:09] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[12:18:09] =========== drm_validate_clone_mode (2 subtests) ===========
[12:18:09] ============== drm_test_check_in_clone_mode  ===============
[12:18:09] [PASSED] in_clone_mode
[12:18:09] [PASSED] not_in_clone_mode
[12:18:09] ========== [PASSED] drm_test_check_in_clone_mode ===========
[12:18:09] =============== drm_test_check_valid_clones  ===============
[12:18:09] [PASSED] not_in_clone_mode
[12:18:09] [PASSED] valid_clone
[12:18:09] [PASSED] invalid_clone
[12:18:09] =========== [PASSED] drm_test_check_valid_clones ===========
[12:18:09] ============= [PASSED] drm_validate_clone_mode =============
[12:18:09] ============= drm_validate_modeset (1 subtest) =============
[12:18:09] [PASSED] drm_test_check_connector_changed_modeset
[12:18:09] ============== [PASSED] drm_validate_modeset ===============
[12:18:09] ====== drm_test_bridge_get_current_state (2 subtests) ======
[12:18:09] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[12:18:09] [PASSED] drm_test_drm_bridge_get_current_state_legacy
[12:18:09] ======== [PASSED] drm_test_bridge_get_current_state ========
[12:18:09] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[12:18:09] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[12:18:09] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[12:18:09] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy
[12:18:09] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[12:18:09] ============== drm_bridge_alloc (2 subtests) ===============
[12:18:09] [PASSED] drm_test_drm_bridge_alloc_basic
[12:18:09] [PASSED] drm_test_drm_bridge_alloc_get_put
[12:18:09] ================ [PASSED] drm_bridge_alloc =================
[12:18:09] ============= drm_cmdline_parser (40 subtests) =============
[12:18:09] [PASSED] drm_test_cmdline_force_d_only
[12:18:09] [PASSED] drm_test_cmdline_force_D_only_dvi
[12:18:09] [PASSED] drm_test_cmdline_force_D_only_hdmi
[12:18:09] [PASSED] drm_test_cmdline_force_D_only_not_digital
[12:18:09] [PASSED] drm_test_cmdline_force_e_only
[12:18:09] [PASSED] drm_test_cmdline_res
[12:18:09] [PASSED] drm_test_cmdline_res_vesa
[12:18:09] [PASSED] drm_test_cmdline_res_vesa_rblank
[12:18:09] [PASSED] drm_test_cmdline_res_rblank
[12:18:09] [PASSED] drm_test_cmdline_res_bpp
[12:18:09] [PASSED] drm_test_cmdline_res_refresh
[12:18:09] [PASSED] drm_test_cmdline_res_bpp_refresh
[12:18:09] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[12:18:09] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[12:18:09] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[12:18:09] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[12:18:09] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[12:18:09] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[12:18:09] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[12:18:09] [PASSED] drm_test_cmdline_res_margins_force_on
[12:18:09] [PASSED] drm_test_cmdline_res_vesa_margins
[12:18:09] [PASSED] drm_test_cmdline_name
[12:18:09] [PASSED] drm_test_cmdline_name_bpp
[12:18:09] [PASSED] drm_test_cmdline_name_option
[12:18:09] [PASSED] drm_test_cmdline_name_bpp_option
[12:18:09] [PASSED] drm_test_cmdline_rotate_0
[12:18:09] [PASSED] drm_test_cmdline_rotate_90
[12:18:09] [PASSED] drm_test_cmdline_rotate_180
[12:18:09] [PASSED] drm_test_cmdline_rotate_270
[12:18:09] [PASSED] drm_test_cmdline_hmirror
[12:18:09] [PASSED] drm_test_cmdline_vmirror
[12:18:09] [PASSED] drm_test_cmdline_margin_options
[12:18:09] [PASSED] drm_test_cmdline_multiple_options
[12:18:09] [PASSED] drm_test_cmdline_bpp_extra_and_option
[12:18:09] [PASSED] drm_test_cmdline_extra_and_option
[12:18:09] [PASSED] drm_test_cmdline_freestanding_options
[12:18:09] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[12:18:09] [PASSED] drm_test_cmdline_panel_orientation
[12:18:09] ================ drm_test_cmdline_invalid  =================
[12:18:09] [PASSED] margin_only
[12:18:09] [PASSED] interlace_only
[12:18:09] [PASSED] res_missing_x
[12:18:09] [PASSED] res_missing_y
[12:18:09] [PASSED] res_bad_y
[12:18:09] [PASSED] res_missing_y_bpp
[12:18:09] [PASSED] res_bad_bpp
[12:18:09] [PASSED] res_bad_refresh
[12:18:09] [PASSED] res_bpp_refresh_force_on_off
[12:18:09] [PASSED] res_invalid_mode
[12:18:09] [PASSED] res_bpp_wrong_place_mode
[12:18:09] [PASSED] name_bpp_refresh
[12:18:09] [PASSED] name_refresh
[12:18:09] [PASSED] name_refresh_wrong_mode
[12:18:09] [PASSED] name_refresh_invalid_mode
[12:18:09] [PASSED] rotate_multiple
[12:18:09] [PASSED] rotate_invalid_val
[12:18:09] [PASSED] rotate_truncated
[12:18:09] [PASSED] invalid_option
[12:18:09] [PASSED] invalid_tv_option
[12:18:09] [PASSED] truncated_tv_option
[12:18:09] ============ [PASSED] drm_test_cmdline_invalid =============
[12:18:09] =============== drm_test_cmdline_tv_options  ===============
[12:18:09] [PASSED] NTSC
[12:18:09] [PASSED] NTSC_443
[12:18:09] [PASSED] NTSC_J
[12:18:09] [PASSED] PAL
[12:18:09] [PASSED] PAL_M
[12:18:09] [PASSED] PAL_N
[12:18:09] [PASSED] SECAM
[12:18:09] [PASSED] MONO_525
[12:18:09] [PASSED] MONO_625
[12:18:09] =========== [PASSED] drm_test_cmdline_tv_options ===========
[12:18:09] =============== [PASSED] drm_cmdline_parser ================
[12:18:09] ========== drmm_connector_hdmi_init (20 subtests) ==========
[12:18:09] [PASSED] drm_test_connector_hdmi_init_valid
[12:18:09] [PASSED] drm_test_connector_hdmi_init_bpc_8
[12:18:09] [PASSED] drm_test_connector_hdmi_init_bpc_10
[12:18:09] [PASSED] drm_test_connector_hdmi_init_bpc_12
[12:18:09] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[12:18:09] [PASSED] drm_test_connector_hdmi_init_bpc_null
[12:18:09] [PASSED] drm_test_connector_hdmi_init_formats_empty
[12:18:09] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[12:18:09] === drm_test_connector_hdmi_init_formats_yuv420_allowed  ===
[12:18:09] [PASSED] supported_formats=0x9 yuv420_allowed=1
[12:18:09] [PASSED] supported_formats=0x9 yuv420_allowed=0
[12:18:09] [PASSED] supported_formats=0x5 yuv420_allowed=1
[12:18:09] [PASSED] supported_formats=0x5 yuv420_allowed=0
[12:18:09] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[12:18:09] [PASSED] drm_test_connector_hdmi_init_null_ddc
[12:18:09] [PASSED] drm_test_connector_hdmi_init_null_product
[12:18:09] [PASSED] drm_test_connector_hdmi_init_null_vendor
[12:18:09] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[12:18:09] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[12:18:09] [PASSED] drm_test_connector_hdmi_init_product_valid
[12:18:09] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[12:18:09] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[12:18:09] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[12:18:09] ========= drm_test_connector_hdmi_init_type_valid  =========
[12:18:09] [PASSED] HDMI-A
[12:18:09] [PASSED] HDMI-B
[12:18:09] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[12:18:09] ======== drm_test_connector_hdmi_init_type_invalid  ========
[12:18:09] [PASSED] Unknown
[12:18:09] [PASSED] VGA
[12:18:09] [PASSED] DVI-I
[12:18:09] [PASSED] DVI-D
[12:18:09] [PASSED] DVI-A
[12:18:09] [PASSED] Composite
[12:18:09] [PASSED] SVIDEO
[12:18:09] [PASSED] LVDS
[12:18:09] [PASSED] Component
[12:18:09] [PASSED] DIN
[12:18:09] [PASSED] DP
[12:18:09] [PASSED] TV
[12:18:09] [PASSED] eDP
[12:18:09] [PASSED] Virtual
[12:18:09] [PASSED] DSI
[12:18:09] [PASSED] DPI
[12:18:09] [PASSED] Writeback
[12:18:09] [PASSED] SPI
[12:18:09] [PASSED] USB
[12:18:09] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[12:18:09] ============ [PASSED] drmm_connector_hdmi_init =============
[12:18:09] ============= drmm_connector_init (3 subtests) =============
[12:18:09] [PASSED] drm_test_drmm_connector_init
[12:18:09] [PASSED] drm_test_drmm_connector_init_null_ddc
[12:18:09] ========= drm_test_drmm_connector_init_type_valid  =========
[12:18:09] [PASSED] Unknown
[12:18:09] [PASSED] VGA
[12:18:09] [PASSED] DVI-I
[12:18:09] [PASSED] DVI-D
[12:18:09] [PASSED] DVI-A
[12:18:09] [PASSED] Composite
[12:18:09] [PASSED] SVIDEO
[12:18:09] [PASSED] LVDS
[12:18:09] [PASSED] Component
[12:18:09] [PASSED] DIN
[12:18:09] [PASSED] DP
[12:18:09] [PASSED] HDMI-A
[12:18:09] [PASSED] HDMI-B
[12:18:09] [PASSED] TV
[12:18:09] [PASSED] eDP
[12:18:09] [PASSED] Virtual
[12:18:09] [PASSED] DSI
[12:18:09] [PASSED] DPI
[12:18:09] [PASSED] Writeback
[12:18:09] [PASSED] SPI
[12:18:09] [PASSED] USB
[12:18:09] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[12:18:09] =============== [PASSED] drmm_connector_init ===============
[12:18:09] ========= drm_connector_dynamic_init (6 subtests) ==========
[12:18:09] [PASSED] drm_test_drm_connector_dynamic_init
[12:18:09] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[12:18:09] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[12:18:09] [PASSED] drm_test_drm_connector_dynamic_init_properties
[12:18:09] ===== drm_test_drm_connector_dynamic_init_type_valid  ======
[12:18:09] [PASSED] Unknown
[12:18:09] [PASSED] VGA
[12:18:09] [PASSED] DVI-I
[12:18:09] [PASSED] DVI-D
[12:18:09] [PASSED] DVI-A
[12:18:09] [PASSED] Composite
[12:18:09] [PASSED] SVIDEO
[12:18:09] [PASSED] LVDS
[12:18:09] [PASSED] Component
[12:18:09] [PASSED] DIN
[12:18:09] [PASSED] DP
[12:18:09] [PASSED] HDMI-A
[12:18:09] [PASSED] HDMI-B
[12:18:09] [PASSED] TV
[12:18:09] [PASSED] eDP
[12:18:09] [PASSED] Virtual
[12:18:09] [PASSED] DSI
[12:18:09] [PASSED] DPI
[12:18:09] [PASSED] Writeback
[12:18:09] [PASSED] SPI
[12:18:09] [PASSED] USB
[12:18:09] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[12:18:09] ======== drm_test_drm_connector_dynamic_init_name  =========
[12:18:09] [PASSED] Unknown
[12:18:09] [PASSED] VGA
[12:18:09] [PASSED] DVI-I
[12:18:09] [PASSED] DVI-D
[12:18:09] [PASSED] DVI-A
[12:18:09] [PASSED] Composite
[12:18:09] [PASSED] SVIDEO
[12:18:09] [PASSED] LVDS
[12:18:09] [PASSED] Component
[12:18:09] [PASSED] DIN
[12:18:09] [PASSED] DP
[12:18:09] [PASSED] HDMI-A
[12:18:09] [PASSED] HDMI-B
[12:18:09] [PASSED] TV
[12:18:09] [PASSED] eDP
[12:18:09] [PASSED] Virtual
[12:18:09] [PASSED] DSI
[12:18:09] [PASSED] DPI
[12:18:09] [PASSED] Writeback
[12:18:09] [PASSED] SPI
[12:18:09] [PASSED] USB
[12:18:09] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[12:18:09] =========== [PASSED] drm_connector_dynamic_init ============
[12:18:09] ==== drm_connector_dynamic_register_early (4 subtests) =====
[12:18:09] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[12:18:09] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[12:18:09] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[12:18:09] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[12:18:09] ====== [PASSED] drm_connector_dynamic_register_early =======
[12:18:09] ======= drm_connector_dynamic_register (7 subtests) ========
[12:18:09] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[12:18:09] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[12:18:09] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[12:18:09] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[12:18:09] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[12:18:09] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[12:18:09] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[12:18:09] ========= [PASSED] drm_connector_dynamic_register ==========
[12:18:09] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[12:18:09] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[12:18:09] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[12:18:09] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[12:18:09] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[12:18:09] ========== drm_test_get_tv_mode_from_name_valid  ===========
[12:18:09] [PASSED] NTSC
[12:18:09] [PASSED] NTSC-443
[12:18:09] [PASSED] NTSC-J
[12:18:09] [PASSED] PAL
[12:18:09] [PASSED] PAL-M
[12:18:09] [PASSED] PAL-N
[12:18:09] [PASSED] SECAM
[12:18:09] [PASSED] Mono
[12:18:09] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[12:18:09] [PASSED] drm_test_get_tv_mode_from_name_truncated
[12:18:09] ============ [PASSED] drm_get_tv_mode_from_name ============
[12:18:09] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[12:18:09] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[12:18:09] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[12:18:09] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[12:18:09] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[12:18:09] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[12:18:09] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[12:18:09] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid  =
[12:18:09] [PASSED] VIC 96
[12:18:09] [PASSED] VIC 97
[12:18:09] [PASSED] VIC 101
[12:18:09] [PASSED] VIC 102
[12:18:09] [PASSED] VIC 106
[12:18:09] [PASSED] VIC 107
[12:18:09] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[12:18:09] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[12:18:09] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[12:18:09] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[12:18:09] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[12:18:09] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[12:18:09] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[12:18:09] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[12:18:09] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name  ====
[12:18:09] [PASSED] Automatic
[12:18:09] [PASSED] Full
[12:18:09] [PASSED] Limited 16:235
[12:18:09] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[12:18:09] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[12:18:09] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[12:18:09] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[12:18:09] === drm_test_drm_hdmi_connector_get_output_format_name  ====
[12:18:09] [PASSED] RGB
[12:18:09] [PASSED] YUV 4:2:0
[12:18:09] [PASSED] YUV 4:2:2
[12:18:09] [PASSED] YUV 4:4:4
[12:18:09] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[12:18:09] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[12:18:09] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[12:18:09] ============= drm_damage_helper (21 subtests) ==============
[12:18:09] [PASSED] drm_test_damage_iter_no_damage
[12:18:09] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[12:18:09] [PASSED] drm_test_damage_iter_no_damage_src_moved
[12:18:09] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[12:18:09] [PASSED] drm_test_damage_iter_no_damage_not_visible
[12:18:09] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[12:18:09] [PASSED] drm_test_damage_iter_no_damage_no_fb
[12:18:09] [PASSED] drm_test_damage_iter_simple_damage
[12:18:09] [PASSED] drm_test_damage_iter_single_damage
[12:18:09] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[12:18:09] [PASSED] drm_test_damage_iter_single_damage_outside_src
[12:18:09] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[12:18:09] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[12:18:09] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[12:18:09] [PASSED] drm_test_damage_iter_single_damage_src_moved
[12:18:09] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[12:18:09] [PASSED] drm_test_damage_iter_damage
[12:18:09] [PASSED] drm_test_damage_iter_damage_one_intersect
[12:18:09] [PASSED] drm_test_damage_iter_damage_one_outside
[12:18:09] [PASSED] drm_test_damage_iter_damage_src_moved
[12:18:09] [PASSED] drm_test_damage_iter_damage_not_visible
[12:18:09] ================ [PASSED] drm_damage_helper ================
[12:18:09] ============== drm_dp_mst_helper (3 subtests) ==============
[12:18:09] ============== drm_test_dp_mst_calc_pbn_mode  ==============
[12:18:09] [PASSED] Clock 154000 BPP 30 DSC disabled
[12:18:09] [PASSED] Clock 234000 BPP 30 DSC disabled
[12:18:09] [PASSED] Clock 297000 BPP 24 DSC disabled
[12:18:09] [PASSED] Clock 332880 BPP 24 DSC enabled
[12:18:09] [PASSED] Clock 324540 BPP 24 DSC enabled
[12:18:09] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[12:18:09] ============== drm_test_dp_mst_calc_pbn_div  ===============
[12:18:09] [PASSED] Link rate 2000000 lane count 4
[12:18:09] [PASSED] Link rate 2000000 lane count 2
[12:18:09] [PASSED] Link rate 2000000 lane count 1
[12:18:09] [PASSED] Link rate 1350000 lane count 4
[12:18:09] [PASSED] Link rate 1350000 lane count 2
[12:18:09] [PASSED] Link rate 1350000 lane count 1
[12:18:09] [PASSED] Link rate 1000000 lane count 4
[12:18:09] [PASSED] Link rate 1000000 lane count 2
[12:18:09] [PASSED] Link rate 1000000 lane count 1
[12:18:09] [PASSED] Link rate 810000 lane count 4
[12:18:09] [PASSED] Link rate 810000 lane count 2
[12:18:09] [PASSED] Link rate 810000 lane count 1
[12:18:09] [PASSED] Link rate 540000 lane count 4
[12:18:09] [PASSED] Link rate 540000 lane count 2
[12:18:09] [PASSED] Link rate 540000 lane count 1
[12:18:09] [PASSED] Link rate 270000 lane count 4
[12:18:09] [PASSED] Link rate 270000 lane count 2
[12:18:09] [PASSED] Link rate 270000 lane count 1
[12:18:09] [PASSED] Link rate 162000 lane count 4
[12:18:09] [PASSED] Link rate 162000 lane count 2
[12:18:09] [PASSED] Link rate 162000 lane count 1
[12:18:09] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[12:18:09] ========= drm_test_dp_mst_sideband_msg_req_decode  =========
[12:18:09] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[12:18:09] [PASSED] DP_POWER_UP_PHY with port number
[12:18:09] [PASSED] DP_POWER_DOWN_PHY with port number
[12:18:09] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[12:18:09] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[12:18:09] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[12:18:09] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[12:18:09] [PASSED] DP_QUERY_PAYLOAD with port number
[12:18:09] [PASSED] DP_QUERY_PAYLOAD with VCPI
[12:18:09] [PASSED] DP_REMOTE_DPCD_READ with port number
[12:18:09] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[12:18:09] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[12:18:09] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[12:18:09] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[12:18:09] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[12:18:09] [PASSED] DP_REMOTE_I2C_READ with port number
[12:18:09] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[12:18:09] [PASSED] DP_REMOTE_I2C_READ with transactions array
[12:18:09] [PASSED] DP_REMOTE_I2C_WRITE with port number
[12:18:09] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[12:18:09] [PASSED] DP_REMOTE_I2C_WRITE with data array
[12:18:09] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[12:18:09] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[12:18:09] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[12:18:09] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[12:18:09] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[12:18:09] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[12:18:09] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[12:18:09] ================ [PASSED] drm_dp_mst_helper ================
[12:18:09] ================== drm_exec (7 subtests) ===================
[12:18:09] [PASSED] sanitycheck
[12:18:09] [PASSED] test_lock
[12:18:09] [PASSED] test_lock_unlock
[12:18:09] [PASSED] test_duplicates
[12:18:09] [PASSED] test_prepare
[12:18:09] [PASSED] test_prepare_array
[12:18:09] [PASSED] test_multiple_loops
[12:18:09] ==================== [PASSED] drm_exec =====================
[12:18:09] =========== drm_format_helper_test (17 subtests) ===========
[12:18:09] ============== drm_test_fb_xrgb8888_to_gray8  ==============
[12:18:09] [PASSED] single_pixel_source_buffer
[12:18:09] [PASSED] single_pixel_clip_rectangle
[12:18:09] [PASSED] well_known_colors
[12:18:09] [PASSED] destination_pitch
[12:18:09] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[12:18:09] ============= drm_test_fb_xrgb8888_to_rgb332  ==============
[12:18:09] [PASSED] single_pixel_source_buffer
[12:18:09] [PASSED] single_pixel_clip_rectangle
[12:18:09] [PASSED] well_known_colors
[12:18:09] [PASSED] destination_pitch
[12:18:09] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[12:18:09] ============= drm_test_fb_xrgb8888_to_rgb565  ==============
[12:18:09] [PASSED] single_pixel_source_buffer
[12:18:09] [PASSED] single_pixel_clip_rectangle
[12:18:09] [PASSED] well_known_colors
[12:18:09] [PASSED] destination_pitch
[12:18:09] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[12:18:09] ============ drm_test_fb_xrgb8888_to_xrgb1555  =============
[12:18:09] [PASSED] single_pixel_source_buffer
[12:18:09] [PASSED] single_pixel_clip_rectangle
[12:18:09] [PASSED] well_known_colors
[12:18:09] [PASSED] destination_pitch
[12:18:09] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[12:18:09] ============ drm_test_fb_xrgb8888_to_argb1555  =============
[12:18:09] [PASSED] single_pixel_source_buffer
[12:18:09] [PASSED] single_pixel_clip_rectangle
[12:18:09] [PASSED] well_known_colors
[12:18:09] [PASSED] destination_pitch
[12:18:09] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[12:18:09] ============ drm_test_fb_xrgb8888_to_rgba5551  =============
[12:18:09] [PASSED] single_pixel_source_buffer
[12:18:09] [PASSED] single_pixel_clip_rectangle
[12:18:09] [PASSED] well_known_colors
[12:18:09] [PASSED] destination_pitch
[12:18:09] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[12:18:09] ============= drm_test_fb_xrgb8888_to_rgb888  ==============
[12:18:09] [PASSED] single_pixel_source_buffer
[12:18:09] [PASSED] single_pixel_clip_rectangle
[12:18:09] [PASSED] well_known_colors
[12:18:09] [PASSED] destination_pitch
[12:18:09] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[12:18:09] ============= drm_test_fb_xrgb8888_to_bgr888  ==============
[12:18:09] [PASSED] single_pixel_source_buffer
[12:18:09] [PASSED] single_pixel_clip_rectangle
[12:18:09] [PASSED] well_known_colors
[12:18:09] [PASSED] destination_pitch
[12:18:09] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[12:18:09] ============ drm_test_fb_xrgb8888_to_argb8888  =============
[12:18:09] [PASSED] single_pixel_source_buffer
[12:18:09] [PASSED] single_pixel_clip_rectangle
[12:18:09] [PASSED] well_known_colors
[12:18:09] [PASSED] destination_pitch
[12:18:09] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[12:18:09] =========== drm_test_fb_xrgb8888_to_xrgb2101010  ===========
[12:18:09] [PASSED] single_pixel_source_buffer
[12:18:09] [PASSED] single_pixel_clip_rectangle
[12:18:09] [PASSED] well_known_colors
[12:18:09] [PASSED] destination_pitch
[12:18:09] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[12:18:09] =========== drm_test_fb_xrgb8888_to_argb2101010  ===========
[12:18:09] [PASSED] single_pixel_source_buffer
[12:18:09] [PASSED] single_pixel_clip_rectangle
[12:18:09] [PASSED] well_known_colors
[12:18:09] [PASSED] destination_pitch
[12:18:09] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[12:18:09] ============== drm_test_fb_xrgb8888_to_mono  ===============
[12:18:09] [PASSED] single_pixel_source_buffer
[12:18:09] [PASSED] single_pixel_clip_rectangle
[12:18:09] [PASSED] well_known_colors
[12:18:09] [PASSED] destination_pitch
[12:18:09] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[12:18:09] ==================== drm_test_fb_swab  =====================
[12:18:09] [PASSED] single_pixel_source_buffer
[12:18:09] [PASSED] single_pixel_clip_rectangle
[12:18:09] [PASSED] well_known_colors
[12:18:09] [PASSED] destination_pitch
[12:18:09] ================ [PASSED] drm_test_fb_swab =================
[12:18:09] ============ drm_test_fb_xrgb8888_to_xbgr8888  =============
[12:18:09] [PASSED] single_pixel_source_buffer
[12:18:09] [PASSED] single_pixel_clip_rectangle
[12:18:09] [PASSED] well_known_colors
[12:18:09] [PASSED] destination_pitch
[12:18:09] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[12:18:09] ============ drm_test_fb_xrgb8888_to_abgr8888  =============
[12:18:09] [PASSED] single_pixel_source_buffer
[12:18:09] [PASSED] single_pixel_clip_rectangle
[12:18:09] [PASSED] well_known_colors
[12:18:09] [PASSED] destination_pitch
[12:18:09] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[12:18:09] ================= drm_test_fb_clip_offset  =================
[12:18:09] [PASSED] pass through
[12:18:09] [PASSED] horizontal offset
[12:18:09] [PASSED] vertical offset
[12:18:09] [PASSED] horizontal and vertical offset
[12:18:09] [PASSED] horizontal offset (custom pitch)
[12:18:09] [PASSED] vertical offset (custom pitch)
[12:18:09] [PASSED] horizontal and vertical offset (custom pitch)
[12:18:09] ============= [PASSED] drm_test_fb_clip_offset =============
[12:18:09] =================== drm_test_fb_memcpy  ====================
[12:18:09] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[12:18:09] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[12:18:09] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[12:18:09] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[12:18:09] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[12:18:09] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[12:18:09] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[12:18:09] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[12:18:09] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[12:18:09] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[12:18:09] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[12:18:09] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[12:18:09] =============== [PASSED] drm_test_fb_memcpy ================
[12:18:09] ============= [PASSED] drm_format_helper_test ==============
[12:18:09] ================= drm_format (18 subtests) =================
[12:18:09] [PASSED] drm_test_format_block_width_invalid
[12:18:09] [PASSED] drm_test_format_block_width_one_plane
[12:18:09] [PASSED] drm_test_format_block_width_two_plane
[12:18:09] [PASSED] drm_test_format_block_width_three_plane
[12:18:09] [PASSED] drm_test_format_block_width_tiled
[12:18:09] [PASSED] drm_test_format_block_height_invalid
[12:18:09] [PASSED] drm_test_format_block_height_one_plane
[12:18:09] [PASSED] drm_test_format_block_height_two_plane
[12:18:09] [PASSED] drm_test_format_block_height_three_plane
[12:18:09] [PASSED] drm_test_format_block_height_tiled
[12:18:09] [PASSED] drm_test_format_min_pitch_invalid
[12:18:09] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[12:18:09] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[12:18:09] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[12:18:09] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[12:18:09] [PASSED] drm_test_format_min_pitch_two_plane
[12:18:09] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[12:18:09] [PASSED] drm_test_format_min_pitch_tiled
[12:18:09] =================== [PASSED] drm_format ====================
[12:18:09] ============== drm_framebuffer (10 subtests) ===============
[12:18:09] ========== drm_test_framebuffer_check_src_coords  ==========
[12:18:09] [PASSED] Success: source fits into fb
[12:18:09] [PASSED] Fail: overflowing fb with x-axis coordinate
[12:18:09] [PASSED] Fail: overflowing fb with y-axis coordinate
[12:18:09] [PASSED] Fail: overflowing fb with source width
[12:18:09] [PASSED] Fail: overflowing fb with source height
[12:18:09] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[12:18:09] [PASSED] drm_test_framebuffer_cleanup
[12:18:09] =============== drm_test_framebuffer_create  ===============
[12:18:09] [PASSED] ABGR8888 normal sizes
[12:18:09] [PASSED] ABGR8888 max sizes
[12:18:09] [PASSED] ABGR8888 pitch greater than min required
[12:18:09] [PASSED] ABGR8888 pitch less than min required
[12:18:09] [PASSED] ABGR8888 Invalid width
[12:18:09] [PASSED] ABGR8888 Invalid buffer handle
[12:18:09] [PASSED] No pixel format
[12:18:09] [PASSED] ABGR8888 Width 0
[12:18:09] [PASSED] ABGR8888 Height 0
[12:18:09] [PASSED] ABGR8888 Out of bound height * pitch combination
[12:18:09] [PASSED] ABGR8888 Large buffer offset
[12:18:09] [PASSED] ABGR8888 Buffer offset for inexistent plane
[12:18:09] [PASSED] ABGR8888 Invalid flag
[12:18:09] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[12:18:09] [PASSED] ABGR8888 Valid buffer modifier
[12:18:09] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[12:18:09] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[12:18:09] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[12:18:09] [PASSED] NV12 Normal sizes
[12:18:09] [PASSED] NV12 Max sizes
[12:18:09] [PASSED] NV12 Invalid pitch
[12:18:09] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[12:18:09] [PASSED] NV12 different  modifier per-plane
[12:18:09] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[12:18:09] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[12:18:09] [PASSED] NV12 Modifier for inexistent plane
[12:18:09] [PASSED] NV12 Handle for inexistent plane
[12:18:09] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[12:18:09] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[12:18:09] [PASSED] YVU420 Normal sizes
[12:18:09] [PASSED] YVU420 Max sizes
[12:18:09] [PASSED] YVU420 Invalid pitch
[12:18:09] [PASSED] YVU420 Different pitches
[12:18:09] [PASSED] YVU420 Different buffer offsets/pitches
[12:18:09] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[12:18:09] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[12:18:09] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[12:18:09] [PASSED] YVU420 Valid modifier
[12:18:09] [PASSED] YVU420 Different modifiers per plane
[12:18:09] [PASSED] YVU420 Modifier for inexistent plane
[12:18:09] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[12:18:09] [PASSED] X0L2 Normal sizes
[12:18:09] [PASSED] X0L2 Max sizes
[12:18:09] [PASSED] X0L2 Invalid pitch
[12:18:09] [PASSED] X0L2 Pitch greater than minimum required
[12:18:09] [PASSED] X0L2 Handle for inexistent plane
[12:18:09] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[12:18:09] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[12:18:09] [PASSED] X0L2 Valid modifier
[12:18:09] [PASSED] X0L2 Modifier for inexistent plane
[12:18:09] =========== [PASSED] drm_test_framebuffer_create ===========
[12:18:09] [PASSED] drm_test_framebuffer_free
[12:18:09] [PASSED] drm_test_framebuffer_init
[12:18:09] [PASSED] drm_test_framebuffer_init_bad_format
[12:18:09] [PASSED] drm_test_framebuffer_init_dev_mismatch
[12:18:09] [PASSED] drm_test_framebuffer_lookup
[12:18:09] [PASSED] drm_test_framebuffer_lookup_inexistent
[12:18:09] [PASSED] drm_test_framebuffer_modifiers_not_supported
[12:18:09] ================= [PASSED] drm_framebuffer =================
[12:18:09] ================ drm_gem_shmem (8 subtests) ================
[12:18:09] [PASSED] drm_gem_shmem_test_obj_create
[12:18:09] [PASSED] drm_gem_shmem_test_obj_create_private
[12:18:09] [PASSED] drm_gem_shmem_test_pin_pages
[12:18:09] [PASSED] drm_gem_shmem_test_vmap
[12:18:09] [PASSED] drm_gem_shmem_test_get_sg_table
[12:18:09] [PASSED] drm_gem_shmem_test_get_pages_sgt
[12:18:09] [PASSED] drm_gem_shmem_test_madvise
[12:18:09] [PASSED] drm_gem_shmem_test_purge
[12:18:09] ================== [PASSED] drm_gem_shmem ==================
[12:18:09] === drm_atomic_helper_connector_hdmi_check (27 subtests) ===
[12:18:09] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[12:18:09] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[12:18:09] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[12:18:09] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[12:18:09] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[12:18:09] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[12:18:09] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420  =======
[12:18:09] [PASSED] Automatic
[12:18:09] [PASSED] Full
[12:18:09] [PASSED] Limited 16:235
[12:18:09] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[12:18:09] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[12:18:09] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[12:18:09] [PASSED] drm_test_check_disable_connector
[12:18:09] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[12:18:09] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[12:18:09] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[12:18:09] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[12:18:09] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[12:18:09] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[12:18:09] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[12:18:09] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[12:18:09] [PASSED] drm_test_check_output_bpc_dvi
[12:18:09] [PASSED] drm_test_check_output_bpc_format_vic_1
[12:18:09] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[12:18:09] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[12:18:09] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[12:18:09] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[12:18:09] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[12:18:09] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[12:18:09] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[12:18:09] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[12:18:09] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[12:18:09] [PASSED] drm_test_check_broadcast_rgb_value
[12:18:09] [PASSED] drm_test_check_bpc_8_value
[12:18:09] [PASSED] drm_test_check_bpc_10_value
[12:18:09] [PASSED] drm_test_check_bpc_12_value
[12:18:09] [PASSED] drm_test_check_format_value
[12:18:09] [PASSED] drm_test_check_tmds_char_value
[12:18:09] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[12:18:09] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) =
[12:18:09] [PASSED] drm_test_check_mode_valid
[12:18:09] [PASSED] drm_test_check_mode_valid_reject
[12:18:09] [PASSED] drm_test_check_mode_valid_reject_rate
[12:18:09] [PASSED] drm_test_check_mode_valid_reject_max_clock
[12:18:09] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[12:18:09] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) =
[12:18:09] [PASSED] drm_test_check_infoframes
[12:18:09] [PASSED] drm_test_check_reject_avi_infoframe
[12:18:09] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8
[12:18:09] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10
[12:18:09] [PASSED] drm_test_check_reject_audio_infoframe
[12:18:09] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes ===
[12:18:09] ================= drm_managed (2 subtests) =================
[12:18:09] [PASSED] drm_test_managed_release_action
[12:18:09] [PASSED] drm_test_managed_run_action
[12:18:09] =================== [PASSED] drm_managed ===================
[12:18:09] =================== drm_mm (6 subtests) ====================
[12:18:09] [PASSED] drm_test_mm_init
[12:18:09] [PASSED] drm_test_mm_debug
[12:18:09] [PASSED] drm_test_mm_align32
[12:18:09] [PASSED] drm_test_mm_align64
[12:18:09] [PASSED] drm_test_mm_lowest
[12:18:09] [PASSED] drm_test_mm_highest
[12:18:09] ===================== [PASSED] drm_mm ======================
[12:18:09] ============= drm_modes_analog_tv (5 subtests) =============
[12:18:09] [PASSED] drm_test_modes_analog_tv_mono_576i
[12:18:09] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[12:18:09] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[12:18:09] [PASSED] drm_test_modes_analog_tv_pal_576i
[12:18:09] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[12:18:09] =============== [PASSED] drm_modes_analog_tv ===============
[12:18:09] ============== drm_plane_helper (2 subtests) ===============
[12:18:09] =============== drm_test_check_plane_state  ================
[12:18:09] [PASSED] clipping_simple
[12:18:09] [PASSED] clipping_rotate_reflect
[12:18:09] [PASSED] positioning_simple
[12:18:09] [PASSED] upscaling
[12:18:09] [PASSED] downscaling
[12:18:09] [PASSED] rounding1
[12:18:09] [PASSED] rounding2
[12:18:09] [PASSED] rounding3
[12:18:09] [PASSED] rounding4
[12:18:09] =========== [PASSED] drm_test_check_plane_state ============
[12:18:09] =========== drm_test_check_invalid_plane_state  ============
[12:18:09] [PASSED] positioning_invalid
[12:18:09] [PASSED] upscaling_invalid
[12:18:09] [PASSED] downscaling_invalid
[12:18:09] ======= [PASSED] drm_test_check_invalid_plane_state ========
[12:18:09] ================ [PASSED] drm_plane_helper =================
[12:18:09] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[12:18:09] ====== drm_test_connector_helper_tv_get_modes_check  =======
[12:18:09] [PASSED] None
[12:18:09] [PASSED] PAL
[12:18:09] [PASSED] NTSC
[12:18:09] [PASSED] Both, NTSC Default
[12:18:09] [PASSED] Both, PAL Default
[12:18:09] [PASSED] Both, NTSC Default, with PAL on command-line
[12:18:09] [PASSED] Both, PAL Default, with NTSC on command-line
[12:18:09] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[12:18:09] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[12:18:09] ================== drm_rect (9 subtests) ===================
[12:18:09] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[12:18:09] [PASSED] drm_test_rect_clip_scaled_not_clipped
[12:18:09] [PASSED] drm_test_rect_clip_scaled_clipped
[12:18:09] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[12:18:09] ================= drm_test_rect_intersect  =================
[12:18:09] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[12:18:09] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[12:18:09] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[12:18:09] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[12:18:09] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[12:18:09] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[12:18:09] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[12:18:09] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[12:18:09] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[12:18:09] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[12:18:09] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[12:18:09] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[12:18:09] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[12:18:09] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[12:18:09] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[12:18:09] ============= [PASSED] drm_test_rect_intersect =============
[12:18:09] ================ drm_test_rect_calc_hscale  ================
[12:18:09] [PASSED] normal use
[12:18:09] [PASSED] out of max range
[12:18:09] [PASSED] out of min range
[12:18:09] [PASSED] zero dst
[12:18:09] [PASSED] negative src
[12:18:09] [PASSED] negative dst
[12:18:09] ============ [PASSED] drm_test_rect_calc_hscale ============
[12:18:09] ================ drm_test_rect_calc_vscale  ================
[12:18:09] [PASSED] normal use
[12:18:09] [PASSED] out of max range
[12:18:09] [PASSED] out of min range
[12:18:09] [PASSED] zero dst
[12:18:09] [PASSED] negative src
[12:18:09] [PASSED] negative dst
[12:18:09] ============ [PASSED] drm_test_rect_calc_vscale ============
[12:18:09] ================== drm_test_rect_rotate  ===================
[12:18:09] [PASSED] reflect-x
[12:18:09] [PASSED] reflect-y
[12:18:09] [PASSED] rotate-0
[12:18:09] [PASSED] rotate-90
[12:18:09] [PASSED] rotate-180
[12:18:09] [PASSED] rotate-270
[12:18:09] ============== [PASSED] drm_test_rect_rotate ===============
[12:18:09] ================ drm_test_rect_rotate_inv  =================
[12:18:09] [PASSED] reflect-x
[12:18:09] [PASSED] reflect-y
[12:18:09] [PASSED] rotate-0
[12:18:09] [PASSED] rotate-90
[12:18:09] [PASSED] rotate-180
[12:18:09] [PASSED] rotate-270
[12:18:09] ============ [PASSED] drm_test_rect_rotate_inv =============
[12:18:09] ==================== [PASSED] drm_rect =====================
[12:18:09] ============ drm_sysfb_modeset_test (1 subtest) ============
[12:18:09] ============ drm_test_sysfb_build_fourcc_list  =============
[12:18:09] [PASSED] no native formats
[12:18:09] [PASSED] XRGB8888 as native format
[12:18:09] [PASSED] remove duplicates
[12:18:09] [PASSED] convert alpha formats
[12:18:09] [PASSED] random formats
[12:18:09] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[12:18:09] ============= [PASSED] drm_sysfb_modeset_test ==============
[12:18:09] ================== drm_fixp (2 subtests) ===================
[12:18:09] [PASSED] drm_test_int2fixp
[12:18:09] [PASSED] drm_test_sm2fixp
[12:18:09] ==================== [PASSED] drm_fixp =====================
[12:18:09] ============================================================
[12:18:09] Testing complete. Ran 621 tests: passed: 621
[12:18:09] Elapsed time: 25.658s total, 1.735s configuring, 23.793s building, 0.128s running

+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [12:18:10] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:

$ make ARCH=um O=.kunit olddefconfig
[12:18:11] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[12:18:21] Starting KUnit Kernel (1/1)...
[12:18:21] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[12:18:21] ================= ttm_device (5 subtests) ==================
[12:18:21] [PASSED] ttm_device_init_basic
[12:18:21] [PASSED] ttm_device_init_multiple
[12:18:21] [PASSED] ttm_device_fini_basic
[12:18:21] [PASSED] ttm_device_init_no_vma_man
[12:18:21] ================== ttm_device_init_pools  ==================
[12:18:21] [PASSED] No DMA allocations, no DMA32 required
[12:18:21] [PASSED] DMA allocations, DMA32 required
[12:18:21] [PASSED] No DMA allocations, DMA32 required
[12:18:21] [PASSED] DMA allocations, no DMA32 required
[12:18:21] ============== [PASSED] ttm_device_init_pools ==============
[12:18:21] =================== [PASSED] ttm_device ====================
[12:18:21] ================== ttm_pool (8 subtests) ===================
[12:18:21] ================== ttm_pool_alloc_basic  ===================
[12:18:21] [PASSED] One page
[12:18:21] [PASSED] More than one page
[12:18:21] [PASSED] Above the allocation limit
[12:18:21] [PASSED] One page, with coherent DMA mappings enabled
[12:18:21] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[12:18:21] ============== [PASSED] ttm_pool_alloc_basic ===============
[12:18:21] ============== ttm_pool_alloc_basic_dma_addr  ==============
[12:18:21] [PASSED] One page
[12:18:21] [PASSED] More than one page
[12:18:21] [PASSED] Above the allocation limit
[12:18:21] [PASSED] One page, with coherent DMA mappings enabled
[12:18:21] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[12:18:21] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[12:18:21] [PASSED] ttm_pool_alloc_order_caching_match
[12:18:21] [PASSED] ttm_pool_alloc_caching_mismatch
[12:18:21] [PASSED] ttm_pool_alloc_order_mismatch
[12:18:21] [PASSED] ttm_pool_free_dma_alloc
[12:18:21] [PASSED] ttm_pool_free_no_dma_alloc
[12:18:21] [PASSED] ttm_pool_fini_basic
[12:18:21] ==================== [PASSED] ttm_pool =====================
[12:18:21] ================ ttm_resource (8 subtests) =================
[12:18:21] ================= ttm_resource_init_basic  =================
[12:18:21] [PASSED] Init resource in TTM_PL_SYSTEM
[12:18:21] [PASSED] Init resource in TTM_PL_VRAM
[12:18:21] [PASSED] Init resource in a private placement
[12:18:21] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[12:18:21] ============= [PASSED] ttm_resource_init_basic =============
[12:18:21] [PASSED] ttm_resource_init_pinned
[12:18:21] [PASSED] ttm_resource_fini_basic
[12:18:21] [PASSED] ttm_resource_manager_init_basic
[12:18:21] [PASSED] ttm_resource_manager_usage_basic
[12:18:21] [PASSED] ttm_resource_manager_set_used_basic
[12:18:21] [PASSED] ttm_sys_man_alloc_basic
[12:18:21] [PASSED] ttm_sys_man_free_basic
[12:18:21] ================== [PASSED] ttm_resource ===================
[12:18:21] =================== ttm_tt (15 subtests) ===================
[12:18:21] ==================== ttm_tt_init_basic  ====================
[12:18:21] [PASSED] Page-aligned size
[12:18:21] [PASSED] Extra pages requested
[12:18:21] ================ [PASSED] ttm_tt_init_basic ================
[12:18:21] [PASSED] ttm_tt_init_misaligned
[12:18:21] [PASSED] ttm_tt_fini_basic
[12:18:21] [PASSED] ttm_tt_fini_sg
[12:18:21] [PASSED] ttm_tt_fini_shmem
[12:18:21] [PASSED] ttm_tt_create_basic
[12:18:21] [PASSED] ttm_tt_create_invalid_bo_type
[12:18:21] [PASSED] ttm_tt_create_ttm_exists
[12:18:21] [PASSED] ttm_tt_create_failed
[12:18:21] [PASSED] ttm_tt_destroy_basic
[12:18:21] [PASSED] ttm_tt_populate_null_ttm
[12:18:21] [PASSED] ttm_tt_populate_populated_ttm
[12:18:21] [PASSED] ttm_tt_unpopulate_basic
[12:18:21] [PASSED] ttm_tt_unpopulate_empty_ttm
[12:18:21] [PASSED] ttm_tt_swapin_basic
[12:18:21] ===================== [PASSED] ttm_tt ======================
[12:18:21] =================== ttm_bo (14 subtests) ===================
[12:18:21] =========== ttm_bo_reserve_optimistic_no_ticket  ===========
[12:18:21] [PASSED] Cannot be interrupted and sleeps
[12:18:21] [PASSED] Cannot be interrupted, locks straight away
[12:18:21] [PASSED] Can be interrupted, sleeps
[12:18:21] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[12:18:21] [PASSED] ttm_bo_reserve_locked_no_sleep
[12:18:21] [PASSED] ttm_bo_reserve_no_wait_ticket
[12:18:21] [PASSED] ttm_bo_reserve_double_resv
[12:18:21] [PASSED] ttm_bo_reserve_interrupted
[12:18:21] [PASSED] ttm_bo_reserve_deadlock
[12:18:21] [PASSED] ttm_bo_unreserve_basic
[12:18:21] [PASSED] ttm_bo_unreserve_pinned
[12:18:21] [PASSED] ttm_bo_unreserve_bulk
[12:18:21] [PASSED] ttm_bo_fini_basic
[12:18:21] [PASSED] ttm_bo_fini_shared_resv
[12:18:21] [PASSED] ttm_bo_pin_basic
[12:18:21] [PASSED] ttm_bo_pin_unpin_resource
[12:18:21] [PASSED] ttm_bo_multiple_pin_one_unpin
[12:18:21] ===================== [PASSED] ttm_bo ======================
[12:18:21] ============== ttm_bo_validate (22 subtests) ===============
[12:18:21] ============== ttm_bo_init_reserved_sys_man  ===============
[12:18:21] [PASSED] Buffer object for userspace
[12:18:21] [PASSED] Kernel buffer object
[12:18:21] [PASSED] Shared buffer object
[12:18:21] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[12:18:21] ============== ttm_bo_init_reserved_mock_man  ==============
[12:18:21] [PASSED] Buffer object for userspace
[12:18:21] [PASSED] Kernel buffer object
[12:18:21] [PASSED] Shared buffer object
[12:18:21] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[12:18:21] [PASSED] ttm_bo_init_reserved_resv
[12:18:21] ================== ttm_bo_validate_basic  ==================
[12:18:21] [PASSED] Buffer object for userspace
[12:18:21] [PASSED] Kernel buffer object
[12:18:21] [PASSED] Shared buffer object
[12:18:21] ============== [PASSED] ttm_bo_validate_basic ==============
[12:18:21] [PASSED] ttm_bo_validate_invalid_placement
[12:18:21] ============= ttm_bo_validate_same_placement  ==============
[12:18:21] [PASSED] System manager
[12:18:21] [PASSED] VRAM manager
[12:18:21] ========= [PASSED] ttm_bo_validate_same_placement ==========
[12:18:21] [PASSED] ttm_bo_validate_failed_alloc
[12:18:21] [PASSED] ttm_bo_validate_pinned
[12:18:21] [PASSED] ttm_bo_validate_busy_placement
[12:18:21] ================ ttm_bo_validate_multihop  =================
[12:18:21] [PASSED] Buffer object for userspace
[12:18:21] [PASSED] Kernel buffer object
[12:18:21] [PASSED] Shared buffer object
[12:18:21] ============ [PASSED] ttm_bo_validate_multihop =============
[12:18:21] ========== ttm_bo_validate_no_placement_signaled  ==========
[12:18:21] [PASSED] Buffer object in system domain, no page vector
[12:18:21] [PASSED] Buffer object in system domain with an existing page vector
[12:18:21] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[12:18:21] ======== ttm_bo_validate_no_placement_not_signaled  ========
[12:18:21] [PASSED] Buffer object for userspace
[12:18:21] [PASSED] Kernel buffer object
[12:18:21] [PASSED] Shared buffer object
[12:18:21] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[12:18:21] [PASSED] ttm_bo_validate_move_fence_signaled
[12:18:21] ========= ttm_bo_validate_move_fence_not_signaled  =========
[12:18:21] [PASSED] Waits for GPU
[12:18:21] [PASSED] Tries to lock straight away
[12:18:21] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[12:18:21] [PASSED] ttm_bo_validate_swapout
[12:18:21] [PASSED] ttm_bo_validate_happy_evict
[12:18:21] [PASSED] ttm_bo_validate_all_pinned_evict
[12:18:21] [PASSED] ttm_bo_validate_allowed_only_evict
[12:18:21] [PASSED] ttm_bo_validate_deleted_evict
[12:18:21] [PASSED] ttm_bo_validate_busy_domain_evict
[12:18:21] [PASSED] ttm_bo_validate_evict_gutting
[12:18:21] [PASSED] ttm_bo_validate_recrusive_evict
[12:18:21] ================= [PASSED] ttm_bo_validate =================
[12:18:21] ============================================================
[12:18:21] Testing complete. Ran 102 tests: passed: 102
[12:18:21] Elapsed time: 11.556s total, 1.787s configuring, 9.554s building, 0.176s running

+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel

#16 lore raw

✓ Xe.CI.BAT: success for drm/xe: Fix UAF in xe_gem_prime_import() on attach failure

In reply to Nitin Gote
== Series Details ==

== Series Details ==

Series: drm/xe: Fix UAF in xe_gem_prime_import() on attach failure
URL : https://patchwork.freedesktop.org/series/167647/
State : success

== Summary ==

CI Bug Log - changes from xe-5171-8133a9f4c4fd407e81df71530490836a1170bb2f_BAT -> xe-pw-167647v1_BAT
====================================================

Summary
-------

**SUCCESS**

No regressions found.

Participating hosts (13 -> 13)
------------------------------

No changes in participating hosts

Changes
-------

No changes found

Build changes
-------------

* Linux: xe-5171-8133a9f4c4fd407e81df71530490836a1170bb2f -> xe-pw-167647v1

IGT_8943: 8943
xe-5171-8133a9f4c4fd407e81df71530490836a1170bb2f: 8133a9f4c4fd407e81df71530490836a1170bb2f
xe-pw-167647v1: 167647v1

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/index.html

#17 lore raw

✗ Xe.CI.FULL: failure for drm/xe: Fix UAF in xe_gem_prime_import() on attach failure

In reply to Nitin Gote
== Series Details ==

== Series Details ==

Series: drm/xe: Fix UAF in xe_gem_prime_import() on attach failure
URL : https://patchwork.freedesktop.org/series/167647/
State : failure

== Summary ==

CI Bug Log - changes from xe-5171-8133a9f4c4fd407e81df71530490836a1170bb2f_FULL -> xe-pw-167647v1_FULL
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with xe-pw-167647v1_FULL absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes
introduced in xe-pw-167647v1_FULL, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.

Participating hosts (2 -> 2)
------------------------------

No changes in participating hosts

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in xe-pw-167647v1_FULL:

### IGT changes ###

#### Possible regressions ####

* igt@xe_exec_system_allocator@process-many-execqueues-new-madvise:
- shard-bmg: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5171-8133a9f4c4fd407e81df71530490836a1170bb2f/shard-bmg-8/igt@xe_exec_system_allocator@process-many-execqueues-new-madvise.html
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-bmg-2/igt@xe_exec_system_allocator@process-many-execqueues-new-madvise.html

Known issues
------------

Here are the changes found in xe-pw-167647v1_FULL that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@kms_atomic_transition@plane-all-modeset-transition-fencing:
- shard-lnl: NOTRUN -> [SKIP][3] ([Intel XE#3279])
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_big_fb@4-tiled-16bpp-rotate-270:
- shard-lnl: NOTRUN -> [SKIP][4] ([Intel XE#1407]) +1 other test skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip:
- shard-lnl: NOTRUN -> [SKIP][5] ([Intel XE#3658] / [Intel XE#7360])
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip.html

* igt@kms_big_fb@linear-max-hw-stride-32bpp-rotate-0-hflip:
- shard-lnl: NOTRUN -> [SKIP][6] ([Intel XE#7059] / [Intel XE#7085])
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_big_fb@yf-tiled-16bpp-rotate-90:
- shard-lnl: NOTRUN -> [SKIP][7] ([Intel XE#1124]) +2 other tests skip
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_bw@linear-tiling-2-displays-target-2560x1440p:
- shard-lnl: NOTRUN -> [SKIP][8] ([Intel XE#367])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_ccs@crc-primary-basic-4-tiled-bmg-ccs@pipe-c-edp-1:
- shard-lnl: NOTRUN -> [SKIP][9] ([Intel XE#2669] / [Intel XE#7389]) +3 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@kms_ccs@[email protected]

* igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs:
- shard-bmg: [PASS][10] -> [INCOMPLETE][11] ([Intel XE#7084] / [Intel XE#8150]) +1 other test incomplete
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5171-8133a9f4c4fd407e81df71530490836a1170bb2f/shard-bmg-6/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-bmg-5/igt@[email protected]

* igt@kms_ccs@random-ccs-data-4-tiled-mtl-rc-ccs-cc:
- shard-lnl: NOTRUN -> [SKIP][12] ([Intel XE#2887]) +4 other tests skip
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_chamelium_color@ctm-blue-to-red:
- shard-lnl: NOTRUN -> [SKIP][13] ([Intel XE#306] / [Intel XE#7358])
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_chamelium_hpd@hdmi-hpd-after-suspend:
- shard-lnl: NOTRUN -> [SKIP][14] ([Intel XE#373])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_content_protection@atomic:
- shard-lnl: NOTRUN -> [SKIP][15] ([Intel XE#7642])
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_content_protection@dp-mst-type-1-suspend-resume:
- shard-lnl: NOTRUN -> [SKIP][16] ([Intel XE#6974])
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_cursor_crc@cursor-sliding-32x32:
- shard-lnl: NOTRUN -> [SKIP][17] ([Intel XE#1424]) +1 other test skip
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions:
- shard-lnl: NOTRUN -> [SKIP][18] ([Intel XE#323] / [Intel XE#6035])
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions.html

* igt@kms_dp_link_training@non-uhbr-sst:
- shard-lnl: NOTRUN -> [SKIP][19] ([Intel XE#4354] / [Intel XE#7450])
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_flip@2x-plain-flip-fb-recreate:
- shard-lnl: NOTRUN -> [SKIP][20] ([Intel XE#1421]) +1 other test skip
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank@b-edp1:
- shard-lnl: [PASS][21] -> [FAIL][22] ([Intel XE#301]) +1 other test fail
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5171-8133a9f4c4fd407e81df71530490836a1170bb2f/shard-lnl-7/igt@kms_flip@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-3/igt@kms_flip@[email protected]

* igt@kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-downscaling:
- shard-lnl: NOTRUN -> [SKIP][23] ([Intel XE#1397] / [Intel XE#1745] / [Intel XE#7385]) +1 other test skip
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-downscaling.html

* igt@kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-downscaling@pipe-a-default-mode:
- shard-lnl: NOTRUN -> [SKIP][24] ([Intel XE#1397] / [Intel XE#7385]) +1 other test skip
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-downscaling@pipe-a-default-mode.html

* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-upscaling:
- shard-lnl: NOTRUN -> [SKIP][25] ([Intel XE#7178] / [Intel XE#7351])
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-upscaling.html

* igt@kms_frontbuffer_tracking@drrshdr-1p-primscrn-indfb-msflip-blt:
- shard-lnl: NOTRUN -> [SKIP][26] ([Intel XE#6312]) +4 other tests skip
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@kms_frontbuffer_tracking@drrshdr-1p-primscrn-indfb-msflip-blt.html

* igt@kms_frontbuffer_tracking@drrshdr-argb161616f-draw-render:
- shard-lnl: NOTRUN -> [SKIP][27] ([Intel XE#7061]) +2 other tests skip
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-abgr161616f-draw-blt:
- shard-lnl: NOTRUN -> [SKIP][28] ([Intel XE#7061] / [Intel XE#7356])
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcdrrs-shrfb-scaledprimary:
- shard-lnl: NOTRUN -> [SKIP][29] ([Intel XE#6312] / [Intel XE#651]) +1 other test skip
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcdrrshdr-2p-scndscrn-cur-indfb-draw-render:
- shard-lnl: NOTRUN -> [SKIP][30] ([Intel XE#7905]) +18 other tests skip
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@kms_frontbuffer_tracking@fbcdrrshdr-2p-scndscrn-cur-indfb-draw-render.html

* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-render:
- shard-lnl: NOTRUN -> [SKIP][31] ([Intel XE#656] / [Intel XE#7905]) +12 other tests skip
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-render.html

* igt@kms_frontbuffer_tracking@fbcpsrhdr-1p-primscrn-cur-indfb-draw-mmap-wc:
- shard-lnl: NOTRUN -> [SKIP][32] ([Intel XE#7865]) +7 other tests skip
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@kms_frontbuffer_tracking@fbcpsrhdr-1p-primscrn-cur-indfb-draw-mmap-wc.html

* igt@kms_hdr@static-toggle-suspend:
- shard-lnl: NOTRUN -> [SKIP][33] ([Intel XE#1503] / [Intel XE#7915])
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_hdr@static-toggle-suspend@pipe-a-edp-1-xrgb16161616f:
- shard-lnl: NOTRUN -> [SKIP][34] ([Intel XE#7915]) +1 other test skip
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@kms_hdr@[email protected]

* igt@kms_joiner@basic-ultra-joiner:
- shard-lnl: NOTRUN -> [SKIP][35] ([Intel XE#6900] / [Intel XE#7362])
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_pipe_crc_basic@nonblocking-crc:
- shard-lnl: NOTRUN -> [ABORT][36] ([Intel XE#8007]) +1 other test abort
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-8/igt@[email protected]

* igt@kms_pipe_stress@stress-xrgb8888-ytiled:
- shard-lnl: NOTRUN -> [SKIP][37] ([Intel XE#4329] / [Intel XE#6912] / [Intel XE#7375])
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_plane_multiple@2x-tiling-y:
- shard-lnl: NOTRUN -> [SKIP][38] ([Intel XE#4596] / [Intel XE#5854]) +1 other test skip
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-sf:
- shard-lnl: NOTRUN -> [SKIP][39] ([Intel XE#2893] / [Intel XE#4608] / [Intel XE#7304])
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-sf@pipe-a-edp-1:
- shard-lnl: NOTRUN -> [SKIP][40] ([Intel XE#4608])
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@kms_psr2_sf@[email protected]

* igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-sf@pipe-b-edp-1:
- shard-lnl: NOTRUN -> [SKIP][41] ([Intel XE#4608] / [Intel XE#7304])
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@kms_psr2_sf@[email protected]

* igt@kms_psr2_sf@psr2-primary-plane-update-sf-dmg-area-big-fb@pipe-b-edp-1:
- shard-lnl: NOTRUN -> [FAIL][42] ([Intel XE#8229]) +2 other tests fail
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@kms_psr2_sf@[email protected]

* igt@kms_psr@fbc-psr2-primary-render:
- shard-lnl: NOTRUN -> [SKIP][43] ([Intel XE#1406] / [Intel XE#7345])
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_psr@fbc-psr2-primary-render@edp-1:
- shard-lnl: NOTRUN -> [SKIP][44] ([Intel XE#1406] / [Intel XE#4609])
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@kms_psr@[email protected]

* igt@kms_psr@pr-no-drrs:
- shard-lnl: NOTRUN -> [SKIP][45] ([Intel XE#1406]) +2 other tests skip
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_rotation_crc@primary-y-tiled-reflect-x-180:
- shard-lnl: NOTRUN -> [SKIP][46] ([Intel XE#1127] / [Intel XE#5813])
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_tiled_display@basic-test-pattern-with-chamelium:
- shard-lnl: NOTRUN -> [SKIP][47] ([Intel XE#362] / [Intel XE#5848])
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_vrr@lobf:
- shard-lnl: NOTRUN -> [SKIP][48] ([Intel XE#1499])
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_vrr@lobf@pipe-a-edp-1:
- shard-lnl: NOTRUN -> [SKIP][49] ([Intel XE#7638])
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@kms_vrr@[email protected]

* igt@xe_eudebug@basic-vm-access-faultable:
- shard-lnl: NOTRUN -> [SKIP][50] ([Intel XE#7636]) +3 other tests skip
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@xe_evict@evict-beng-mixed-many-threads-large:
- shard-lnl: NOTRUN -> [SKIP][51] ([Intel XE#6540] / [Intel XE#688]) +2 other tests skip
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@xe_evict@evict-mixed-many-threads-small:
- shard-bmg: [PASS][52] -> [INCOMPLETE][53] ([Intel XE#6321])
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5171-8133a9f4c4fd407e81df71530490836a1170bb2f/shard-bmg-7/igt@[email protected]
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-bmg-4/igt@[email protected]

* igt@xe_exec_balancer@twice-cm-parallel-basic:
- shard-lnl: NOTRUN -> [SKIP][54] ([Intel XE#7482]) +3 other tests skip
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@xe_exec_basic@multigpu-no-exec-basic-defer-mmap:
- shard-lnl: NOTRUN -> [SKIP][55] ([Intel XE#1392]) +2 other tests skip
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@xe_exec_fault_mode@once-multi-queue-userptr-invalidate-race-imm:
- shard-lnl: NOTRUN -> [SKIP][56] ([Intel XE#7136]) +3 other tests skip
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@xe_exec_fault_mode@once-multi-queue-userptr-invalidate-race-imm.html

* igt@xe_exec_multi_queue@many-execs-preempt-mode-fault-close-fd-smem:
- shard-lnl: NOTRUN -> [SKIP][57] ([Intel XE#6874]) +10 other tests skip
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@xe_exec_multi_queue@many-execs-preempt-mode-fault-close-fd-smem.html

* igt@xe_exec_threads@threads-multi-queue-mixed-fd-userptr-invalidate:
- shard-lnl: NOTRUN -> [SKIP][58] ([Intel XE#7138]) +2 other tests skip
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@xe_exec_threads@threads-multi-queue-mixed-fd-userptr-invalidate.html

* igt@xe_multigpu_svm@mgpu-xgpu-access-basic:
- shard-lnl: NOTRUN -> [SKIP][59] ([Intel XE#6964])
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@xe_pm@d3hot-i2c:
- shard-lnl: NOTRUN -> [SKIP][60] ([Intel XE#5742] / [Intel XE#7328] / [Intel XE#7400])
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@xe_pmu@fn-engine-activity-load:
- shard-lnl: NOTRUN -> [SKIP][61] ([Intel XE#4650] / [Intel XE#7347])
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@xe_sriov_admin@bulk-exec-quantum-vfs-disabled:
- shard-lnl: NOTRUN -> [SKIP][62] ([Intel XE#7174])
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@xe_sriov_flr@flr-basic:
- shard-lnl: NOTRUN -> [SKIP][63] ([Intel XE#7569])
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@xe_sriov_scheduling@equal-throughput:
- shard-lnl: NOTRUN -> [SKIP][64] ([Intel XE#4351] / [Intel XE#7357])
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@xe_vm@overcommit-fault-vram-lr:
- shard-lnl: NOTRUN -> [SKIP][65] ([Intel XE#7892])
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@xe_wedged@wedged-mode-toggle:
- shard-bmg: [PASS][66] -> [ABORT][67] ([Intel XE#8007])
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5171-8133a9f4c4fd407e81df71530490836a1170bb2f/shard-bmg-3/igt@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-bmg-8/igt@[email protected]

#### Possible fixes ####

* igt@kms_hdr@invalid-hdr:
- shard-bmg: [SKIP][68] ([Intel XE#1503]) -> [PASS][69]
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5171-8133a9f4c4fd407e81df71530490836a1170bb2f/shard-bmg-4/igt@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-bmg-1/igt@[email protected]

* igt@kms_hdr@invalid-hdr@pipe-a-hdmi-a-3-xrgb16161616f:
- shard-bmg: [SKIP][70] ([Intel XE#7922]) -> [PASS][71] +1 other test pass
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5171-8133a9f4c4fd407e81df71530490836a1170bb2f/shard-bmg-4/igt@kms_hdr@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-bmg-1/igt@kms_hdr@[email protected]

* igt@kms_hdr@static-toggle@pipe-a-hdmi-a-3-xrgb16161616f:
- shard-bmg: [SKIP][72] ([Intel XE#7915]) -> [PASS][73] +3 other tests pass
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5171-8133a9f4c4fd407e81df71530490836a1170bb2f/shard-bmg-7/igt@kms_hdr@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-bmg-4/igt@kms_hdr@[email protected]

* igt@xe_evict@evict-beng-mixed-many-threads-small:
- shard-bmg: [INCOMPLETE][74] ([Intel XE#6321]) -> [PASS][75]
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5171-8133a9f4c4fd407e81df71530490836a1170bb2f/shard-bmg-7/igt@[email protected]
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-bmg-7/igt@[email protected]

* igt@xe_exec_reset@long-spin-reuse-many-preempt-threads:
- shard-bmg: [FAIL][76] ([Intel XE#7850]) -> [PASS][77]
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5171-8133a9f4c4fd407e81df71530490836a1170bb2f/shard-bmg-5/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-bmg-9/igt@[email protected]

* igt@xe_wedged@wedged-mode-toggle:
- shard-lnl: [ABORT][78] ([Intel XE#8007]) -> [PASS][79]
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5171-8133a9f4c4fd407e81df71530490836a1170bb2f/shard-lnl-1/igt@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-8/igt@[email protected]

#### Warnings ####

* igt@kms_big_fb@linear-8bpp-rotate-0:
- shard-lnl: [ABORT][80] ([Intel XE#4760]) -> [FAIL][81] ([Intel XE#8228])
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5171-8133a9f4c4fd407e81df71530490836a1170bb2f/shard-lnl-8/igt@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-lnl-5/igt@[email protected]

* igt@kms_frontbuffer_tracking@psrhdr-2p-primscrn-indfb-plflip-blt:
- shard-bmg: [SKIP][82] ([Intel XE#2313]) -> [SKIP][83] ([Intel XE#6703])
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5171-8133a9f4c4fd407e81df71530490836a1170bb2f/shard-bmg-8/igt@kms_frontbuffer_tracking@psrhdr-2p-primscrn-indfb-plflip-blt.html
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-bmg-2/igt@kms_frontbuffer_tracking@psrhdr-2p-primscrn-indfb-plflip-blt.html

* igt@kms_hdr@brightness-with-hdr:
- shard-bmg: [SKIP][84] ([Intel XE#3544] / [Intel XE#7915] / [Intel XE#7916]) -> [SKIP][85] ([Intel XE#3544] / [Intel XE#7916])
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5171-8133a9f4c4fd407e81df71530490836a1170bb2f/shard-bmg-3/igt@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-bmg-2/igt@[email protected]

* igt@kms_hdr@brightness-with-hdr@pipe-a-hdmi-a-3-xrgb2101010:
- shard-bmg: [SKIP][86] ([Intel XE#7915]) -> [SKIP][87] ([Intel XE#7916]) +1 other test skip
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5171-8133a9f4c4fd407e81df71530490836a1170bb2f/shard-bmg-3/igt@kms_hdr@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-bmg-2/igt@kms_hdr@[email protected]

* igt@kms_tiled_display@basic-test-pattern:
- shard-bmg: [SKIP][88] ([Intel XE#2426] / [Intel XE#5848]) -> [FAIL][89] ([Intel XE#1729] / [Intel XE#7424])
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5171-8133a9f4c4fd407e81df71530490836a1170bb2f/shard-bmg-1/igt@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/shard-bmg-4/igt@[email protected]

[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1127]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1127
[Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
[Intel XE#1397]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1397
[Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
[Intel XE#1407]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1407
[Intel XE#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421
[Intel XE#1424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1424
[Intel XE#1499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1499
[Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
[Intel XE#1729]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1729
[Intel XE#1745]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1745
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2669]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2669
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#2893]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2893
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#306]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/306
[Intel XE#323]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/323
[Intel XE#3279]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3279
[Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
[Intel XE#362]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/362
[Intel XE#3658]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3658
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
[Intel XE#4329]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4329
[Intel XE#4351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4351
[Intel XE#4354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4354
[Intel XE#4596]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4596
[Intel XE#4608]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4608
[Intel XE#4609]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4609
[Intel XE#4650]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4650
[Intel XE#4760]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4760
[Intel XE#5742]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5742
[Intel XE#5813]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5813
[Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
[Intel XE#5854]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5854
[Intel XE#6035]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6035
[Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
[Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#6540]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6540
[Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
[Intel XE#6703]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6703
[Intel XE#6874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6874
[Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
[Intel XE#6900]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6900
[Intel XE#6912]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6912
[Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#6974]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6974
[Intel XE#7059]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7059
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7084]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7084
[Intel XE#7085]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7085
[Intel XE#7136]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7136
[Intel XE#7138]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7138
[Intel XE#7174]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7174
[Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
[Intel XE#7304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7304
[Intel XE#7328]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7328
[Intel XE#7345]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7345
[Intel XE#7347]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7347
[Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
[Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
[Intel XE#7357]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7357
[Intel XE#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358
[Intel XE#7360]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7360
[Intel XE#7362]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7362
[Intel XE#7375]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7375
[Intel XE#7385]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7385
[Intel XE#7389]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7389
[Intel XE#7400]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7400
[Intel XE#7424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7424
[Intel XE#7450]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7450
[Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
[Intel XE#7569]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7569
[Intel XE#7636]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7636
[Intel XE#7638]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7638
[Intel XE#7642]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7642
[Intel XE#7850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7850
[Intel XE#7865]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7865
[Intel XE#7892]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7892
[Intel XE#7905]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7905
[Intel XE#7915]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7915
[Intel XE#7916]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7916
[Intel XE#7922]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7922
[Intel XE#8007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8007
[Intel XE#8150]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8150
[Intel XE#8228]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8228
[Intel XE#8229]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8229

Build changes
-------------

* Linux: xe-5171-8133a9f4c4fd407e81df71530490836a1170bb2f -> xe-pw-167647v1

IGT_8943: 8943
xe-5171-8133a9f4c4fd407e81df71530490836a1170bb2f: 8133a9f4c4fd407e81df71530490836a1170bb2f
xe-pw-167647v1: 167647v1

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167647v1/index.html