bisecting fixing commit since 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 building syzkaller on 424dd8e7b52828cad44ce653a5d4ac30670f5e2c testing commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 with gcc (GCC) 8.1.0 kernel signature: 28cb50327e63e56849572a106798307608db32264cb3f4ea218c00d1d8e1d25a all runs: crashed: INFO: task hung in io_uring_flush testing current HEAD 5925fa68fe8244651b3f78a88c4af99190a88f0d testing commit 5925fa68fe8244651b3f78a88c4af99190a88f0d with gcc (GCC) 8.1.0 kernel signature: 442e6e5b5b9addf5c7a8c832d1e3cff9b8fe7194071fa3eadb98f35cc036982f all runs: OK # git bisect start 5925fa68fe8244651b3f78a88c4af99190a88f0d 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 Bisecting: 736 revisions left to test after this (roughly 10 steps) [f75aef392f869018f78cfedf3c320a6b3fcfda6b] Linux 5.9-rc3 testing commit f75aef392f869018f78cfedf3c320a6b3fcfda6b with gcc (GCC) 8.1.0 kernel signature: 6211b9c499cbaa2ded2d7f1f153e5281dd165002372425fbbd8a6ee24c258ef0 all runs: crashed: INFO: task hung in io_uring_flush # git bisect good f75aef392f869018f78cfedf3c320a6b3fcfda6b Bisecting: 358 revisions left to test after this (roughly 9 steps) [7514c0362ffdd9af953ae94334018e7356b31313] Merge branch 'akpm' (patches from Andrew) testing commit 7514c0362ffdd9af953ae94334018e7356b31313 with gcc (GCC) 8.1.0 kernel signature: ff8745b84252ce4f3c26449e15d5d74294b45cb4ae6a7b364bb6cf6a42f6d4d7 all runs: crashed: INFO: task hung in io_uring_flush # git bisect good 7514c0362ffdd9af953ae94334018e7356b31313 Bisecting: 177 revisions left to test after this (roughly 8 steps) [ef2e9a563b0cd7965e2a1263125dcbb1c86aa6cc] Merge tag 'seccomp-v5.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux testing commit ef2e9a563b0cd7965e2a1263125dcbb1c86aa6cc with gcc (GCC) 8.1.0 kernel signature: d17e3862dbd45c10027aac18630c379f568c0b9e2cc8d49835d87c61be11fa1b all runs: OK # git bisect bad ef2e9a563b0cd7965e2a1263125dcbb1c86aa6cc Bisecting: 84 revisions left to test after this (roughly 7 steps) [b1df2a0783f3d80d6d37102eb90f06727113c7dc] Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma testing commit b1df2a0783f3d80d6d37102eb90f06727113c7dc with gcc (GCC) 8.1.0 kernel signature: baa420670f2704de535a1c9a55372db1c37badcc0f3945ccf01ab6f1e4063d38 all runs: OK # git bisect bad b1df2a0783f3d80d6d37102eb90f06727113c7dc Bisecting: 47 revisions left to test after this (roughly 6 steps) [20561da3a2e1e0e827ef5510cb0f74bcfd377e41] Revert "drm/i915/gem: Delete unused code" testing commit 20561da3a2e1e0e827ef5510cb0f74bcfd377e41 with gcc (GCC) 8.1.0 kernel signature: 280b6c54be03156ca73447ab6cfbf4f530daf0897da9049ec563d39132f5e5e5 all runs: OK # git bisect bad 20561da3a2e1e0e827ef5510cb0f74bcfd377e41 Bisecting: 21 revisions left to test after this (roughly 5 steps) [015b3155c46a089f623c8a2e794ffad84143565d] Merge tag 'x86-urgent-2020-09-06' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit 015b3155c46a089f623c8a2e794ffad84143565d with gcc (GCC) 8.1.0 kernel signature: 251fe601d4e182ff3556e1ae1af9afde633b650ac08a0924688e45dfde625be3 all runs: crashed: INFO: task hung in io_uring_flush # git bisect good 015b3155c46a089f623c8a2e794ffad84143565d Bisecting: 12 revisions left to test after this (roughly 4 steps) [2ccdd9f8b2ce7290aad6f0a34200ad394e61f940] Merge tag 'iommu-fixes-v5.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu testing commit 2ccdd9f8b2ce7290aad6f0a34200ad394e61f940 with gcc (GCC) 8.1.0 kernel signature: bd8490c8e0af73b0806555754833ba2b542bb4564f52a27a16a3bed6d6659fd1 all runs: crashed: INFO: task hung in io_uring_flush # git bisect good 2ccdd9f8b2ce7290aad6f0a34200ad394e61f940 Bisecting: 7 revisions left to test after this (roughly 3 steps) [f4d51dffc6c01a9e94650d95ce0104964f8ae822] Linux 5.9-rc4 testing commit f4d51dffc6c01a9e94650d95ce0104964f8ae822 with gcc (GCC) 8.1.0 kernel signature: 39c7cb5d279e26cba0fbba9ef1550b6610a11adb7d3959c674f46ce35dfbbe09 all runs: OK # git bisect bad f4d51dffc6c01a9e94650d95ce0104964f8ae822 Bisecting: 2 revisions left to test after this (roughly 1 step) [b7ddce3cbf010edbfac6c6d8cc708560a7bcd7a4] io_uring: fix cancel of deferred reqs with ->files testing commit b7ddce3cbf010edbfac6c6d8cc708560a7bcd7a4 with gcc (GCC) 8.1.0 kernel signature: 80c52fdca59dd4f7f2114cc28be6237e0eabd7089a9505fb4f6e4f8080d4f77c all runs: OK # git bisect bad b7ddce3cbf010edbfac6c6d8cc708560a7bcd7a4 Bisecting: 0 revisions left to test after this (roughly 0 steps) [c183edff33fdcd639d222a8f473bf44602adc655] io_uring: fix explicit async read/write mapping for large segments testing commit c183edff33fdcd639d222a8f473bf44602adc655 with gcc (GCC) 8.1.0 kernel signature: 86547cf88afebe0286defea629e66cb0c3b845995c673324b18eb83c449ea68a all runs: crashed: INFO: task hung in io_uring_flush # git bisect good c183edff33fdcd639d222a8f473bf44602adc655 b7ddce3cbf010edbfac6c6d8cc708560a7bcd7a4 is the first bad commit commit b7ddce3cbf010edbfac6c6d8cc708560a7bcd7a4 Author: Pavel Begunkov Date: Sun Sep 6 00:45:14 2020 +0300 io_uring: fix cancel of deferred reqs with ->files While trying to cancel requests with ->files, it also should look for requests in ->defer_list, otherwise it might end up hanging a thread. Cancel all requests in ->defer_list up to the last request there with matching ->files, that's needed to follow drain ordering semantics. Signed-off-by: Pavel Begunkov Signed-off-by: Jens Axboe fs/io_uring.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) culprit signature: 80c52fdca59dd4f7f2114cc28be6237e0eabd7089a9505fb4f6e4f8080d4f77c parent signature: 86547cf88afebe0286defea629e66cb0c3b845995c673324b18eb83c449ea68a revisions tested: 12, total time: 2h30m55.025826843s (build: 57m29.702787382s, test: 1h32m14.463476894s) first good commit: b7ddce3cbf010edbfac6c6d8cc708560a7bcd7a4 io_uring: fix cancel of deferred reqs with ->files recipients (to): ["asml.silence@gmail.com" "axboe@kernel.dk" "axboe@kernel.dk" "io-uring@vger.kernel.org"] recipients (cc): ["linux-fsdevel@vger.kernel.org" "linux-kernel@vger.kernel.org" "viro@zeniv.linux.org.uk"]