diff options
| author | Tuo Li <islituo@gmail.com> | 2026-01-06 11:24:28 +0800 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-03-09 12:27:11 +0100 |
| commit | e1c9866173c5f8521f2d0768547a01508cb9ff27 (patch) | |
| tree | 3456b01d17fbaf7a5a1acedfa5b1292df6d855a6 /include/asm-arm/git@git.tavy.me:linux.git | |
| parent | e0adbf74e2a0455a6bc9628726ba87bcd0b42bf8 (diff) | |
dmaengine: idxd: fix possible wrong descriptor completion in llist_abort_desc()
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.
Fixes: aa8d18becc0c ("dmaengine: idxd: add callback support for iaa crypto")
Signed-off-by: Tuo Li <islituo@gmail.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://patch.msgid.link/20260106032428.162445-1-islituo@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/asm-arm/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
