[ Sasha's backport helper bot ]
Hi,
✅ All tests passed successfully. No issues detected. No action required from the submitter.
The upstream commit SHA1 provided is correct: f40139fde5278d81af3227444fd6e76a76b9506d
WARNING: Author mismatch between patch and upstream commit: Backport author: Jared Holzmanjholzman@nvidia.com Commit author: Ming Leiming.lei@redhat.com
Note: The patch differs from the upstream commit: --- 1: f40139fde5278 ! 1: 7ae6d5a88218e ublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd @@ Metadata ## Commit message ## ublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd
+ [ Upstream commit f40139fde5278d81af3227444fd6e76a76b9506d ] + ublk_cancel_cmd() calls io_uring_cmd_done() to complete uring_cmd, but we may have scheduled task work via io_uring_cmd_complete_in_task() for dispatching request, then kernel crash can be triggered. ---
Results of testing on various branches:
| Branch | Patch Apply | Build Test | |---------------------------|-------------|------------| | stable/linux-5.4.y | Success | Success |