Re: [PATCH] dmaengine: idxd: fix possible wrong descriptor completion in llist_abort_desc()
From: Vinod Koul
Date: Mon Mar 09 2026 - 07:45:58 EST
On Tue, 06 Jan 2026 11:24:28 +0800, Tuo Li wrote:
> At the end of this function, d is the traversal cursor of flist, but the
> code completes found instead. This can lead to issues such as NULL pointer
> dereferences, double completion, or descriptor leaks.
>
> Fix this by completing d instead of found in the final
> list_for_each_entry_safe() loop.
>
> [...]
Applied, thanks!
[1/1] dmaengine: idxd: fix possible wrong descriptor completion in llist_abort_desc()
commit: e1c9866173c5f8521f2d0768547a01508cb9ff27
Best regards,
--
~Vinod