On Mon, 03 Jun 2024 09:24:44 +0800, Li RongQing wrote: > Use list_for_each_entry_safe() to allow iterating through the list and > deleting the entry in the iteration process. The descriptor is freed via > idxd_desc_complete() and there's a slight chance may cause issue for > the list iterator when the descriptor is reused by another thread > without it being deleted from the list. > > > [...] Applied, thanks! [1/1] dmaengine: idxd: Fix possible Use-After-Free in irq_process_work_list commit: e3215deca4520773cd2b155bed164c12365149a7 Best regards, -- Vinod Koul <vkoul@xxxxxxxxxx>