Re: [PATCH] drm/ttm: fix bulk_move corruption when adding a entry

2023-06-22 Thread Christian König
Am 21.06.23 um 17:42 schrieb Yunxiang Li: When the resource is the first in the bulk_move range, adding it again (thus moving it to the tail) will corrupt the list since the first pointer is not moved. This eventually lead to null pointer deref in ttm_lru_bulk_move_del() Good catch. Fixes: f

[PATCH] drm/ttm: fix bulk_move corruption when adding a entry

2023-06-21 Thread Yunxiang Li
When the resource is the first in the bulk_move range, adding it again (thus moving it to the tail) will corrupt the list since the first pointer is not moved. This eventually lead to null pointer deref in ttm_lru_bulk_move_del() Fixes: fee2ede15542 ("drm/ttm: rework bulk move handling v5") Signed