bisecting fixing commit since 1ce80e0fe98e72af4125f47c65b0bc01b60a7feb building syzkaller on b08ee62aecfa850eac53b4dd903299d32b5c567d testing commit 1ce80e0fe98e72af4125f47c65b0bc01b60a7feb with gcc (GCC) 8.1.0 run #0: crashed: WARNING: possible circular locking dependency detected run #1: crashed: possible deadlock in v4l2_release run #2: crashed: WARNING: possible circular locking dependency detected run #3: crashed: possible deadlock in v4l2_release run #4: crashed: possible deadlock in v4l2_release run #5: crashed: possible deadlock in v4l2_release run #6: crashed: WARNING: locking bug in corrupted run #7: crashed: possible deadlock in v4l2_release run #8: crashed: possible deadlock in v4l2_release run #9: crashed: possible deadlock in v4l2_release testing current HEAD 451577f3e3a9bf1861218641dbbf98e214e77851 testing commit 451577f3e3a9bf1861218641dbbf98e214e77851 with gcc (GCC) 8.1.0 all runs: OK # git bisect start 451577f3e3a9bf1861218641dbbf98e214e77851 1ce80e0fe98e72af4125f47c65b0bc01b60a7feb Bisecting: 29680 revisions left to test after this (roughly 15 steps) [163e97ee0d0f8194ef66f10b0bf0851b7f6b55dd] btrfs: get fs_info from device in btrfs_scrub_cancel_dev testing commit 163e97ee0d0f8194ef66f10b0bf0851b7f6b55dd with gcc (GCC) 8.1.0 all runs: OK # git bisect bad 163e97ee0d0f8194ef66f10b0bf0851b7f6b55dd Bisecting: 14839 revisions left to test after this (roughly 14 steps) [1db817e75f5b9387b8db11e37d5f0624eb9223e0] net_sched: fix two more memory leaks in cls_tcindex testing commit 1db817e75f5b9387b8db11e37d5f0624eb9223e0 with gcc (GCC) 8.1.0 all runs: crashed: INFO: task hung in exit_aio # git bisect good 1db817e75f5b9387b8db11e37d5f0624eb9223e0 Bisecting: 7421 revisions left to test after this (roughly 13 steps) [be37f21a08ce65c7632c7f45e1755a4b07f278a0] Merge tag 'audit-pr-20190305' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit testing commit be37f21a08ce65c7632c7f45e1755a4b07f278a0 with gcc (GCC) 8.1.0 all runs: crashed: INFO: task hung in exit_aio # git bisect good be37f21a08ce65c7632c7f45e1755a4b07f278a0 Bisecting: 3726 revisions left to test after this (roughly 12 steps) [5af7f115886f7ec193171e2e49b8000ddd1e7147] Merge branch 'next-tpm' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security testing commit 5af7f115886f7ec193171e2e49b8000ddd1e7147 with gcc (GCC) 8.1.0 all runs: crashed: INFO: task hung in exit_aio # git bisect good 5af7f115886f7ec193171e2e49b8000ddd1e7147 Bisecting: 1896 revisions left to test after this (roughly 11 steps) [19caf581ba441659f1a71e9a5baed032fdcfceef] Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit 19caf581ba441659f1a71e9a5baed032fdcfceef with gcc (GCC) 8.1.0 all runs: crashed: INFO: task hung in exit_aio # git bisect good 19caf581ba441659f1a71e9a5baed032fdcfceef Bisecting: 942 revisions left to test after this (roughly 10 steps) [d8491223bc243b960ee1c4a8aa5219eca0d69acf] Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc testing commit d8491223bc243b960ee1c4a8aa5219eca0d69acf with gcc (GCC) 8.1.0 all runs: OK # git bisect bad d8491223bc243b960ee1c4a8aa5219eca0d69acf Bisecting: 475 revisions left to test after this (roughly 9 steps) [922c010cf236357dea020f483c18373d6a494ffb] Merge branch 'akpm' (patches from Andrew) testing commit 922c010cf236357dea020f483c18373d6a494ffb with gcc (GCC) 8.1.0 all runs: crashed: INFO: task hung in exit_aio # git bisect good 922c010cf236357dea020f483c18373d6a494ffb Bisecting: 250 revisions left to test after this (roughly 8 steps) [8e22ba96d44c4ad5f9970565c54ab1876448a5ca] Merge tag 'riscv-for-linus-5.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/palmer/riscv-linux testing commit 8e22ba96d44c4ad5f9970565c54ab1876448a5ca with gcc (GCC) 8.1.0 all runs: OK # git bisect bad 8e22ba96d44c4ad5f9970565c54ab1876448a5ca Bisecting: 105 revisions left to test after this (roughly 7 steps) [590627f755bc385bd2b2fbd87de312a462889222] Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit 590627f755bc385bd2b2fbd87de312a462889222 with gcc (GCC) 8.1.0 all runs: crashed: INFO: task hung in exit_aio # git bisect good 590627f755bc385bd2b2fbd87de312a462889222 Bisecting: 52 revisions left to test after this (roughly 6 steps) [5e7a8ca319268a70a6c7c3c1fde5bea38e1e5539] Merge branch 'work.aio' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs testing commit 5e7a8ca319268a70a6c7c3c1fde5bea38e1e5539 with gcc (GCC) 8.1.0 all runs: OK # git bisect bad 5e7a8ca319268a70a6c7c3c1fde5bea38e1e5539 Bisecting: 23 revisions left to test after this (roughly 5 steps) [690edec54cbaa0e98dc592aae6864272f48f3c84] Merge tag 'kvmarm-fixes-for-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into kvm-master testing commit 690edec54cbaa0e98dc592aae6864272f48f3c84 with gcc (GCC) 8.1.0 all runs: crashed: INFO: task hung in exit_aio # git bisect good 690edec54cbaa0e98dc592aae6864272f48f3c84 Bisecting: 13 revisions left to test after this (roughly 4 steps) [79a3aaa7b82e3106be97842dedfd8429248896e6] Linux 5.1-rc3 testing commit 79a3aaa7b82e3106be97842dedfd8429248896e6 with gcc (GCC) 8.1.0 all runs: crashed: INFO: task hung in exit_aio # git bisect good 79a3aaa7b82e3106be97842dedfd8429248896e6 Bisecting: 6 revisions left to test after this (roughly 3 steps) [7425970347a21204632a27ed28978cf875f205b2] aio: move dropping ->ki_eventfd into iocb_destroy() testing commit 7425970347a21204632a27ed28978cf875f205b2 with gcc (GCC) 8.1.0 run #0: basic kernel testing failed: timed out run #1: basic kernel testing failed: timed out run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK # git bisect bad 7425970347a21204632a27ed28978cf875f205b2 Bisecting: 3 revisions left to test after this (roughly 2 steps) [a9339b7855094ba11a97e8822ae038135e879e79] aio: keep io_event in aio_kiocb testing commit a9339b7855094ba11a97e8822ae038135e879e79 with gcc (GCC) 8.1.0 all runs: OK # git bisect bad a9339b7855094ba11a97e8822ae038135e879e79 Bisecting: 0 revisions left to test after this (roughly 1 step) [833f4154ed560232120bc475935ee1d6a20e159f] aio: fold lookup_kiocb() into its sole caller testing commit 833f4154ed560232120bc475935ee1d6a20e159f with gcc (GCC) 8.1.0 all runs: OK # git bisect bad 833f4154ed560232120bc475935ee1d6a20e159f Bisecting: 0 revisions left to test after this (roughly 0 steps) [b53119f13a04879c3bf502828d99d13726639ead] pin iocb through aio. testing commit b53119f13a04879c3bf502828d99d13726639ead with gcc (GCC) 8.1.0 all runs: OK # git bisect bad b53119f13a04879c3bf502828d99d13726639ead b53119f13a04879c3bf502828d99d13726639ead is the first bad commit commit b53119f13a04879c3bf502828d99d13726639ead Author: Linus Torvalds Date: Wed Mar 6 20:22:54 2019 -0500 pin iocb through aio. aio_poll() is not the only case that needs file pinned; worse, while aio_read()/aio_write() can live without pinning iocb itself, the proof is rather brittle and can easily break on later changes. Signed-off-by: Linus Torvalds Signed-off-by: Al Viro :040000 040000 c1e9737160dda086132f75ee7167587c57125219 41fc7b6dd33f56ede53dbffd3e153dbd04d5dca5 M fs revisions tested: 18, total time: 4h29m9.597848452s (build: 1h42m11.895170331s, test: 2h40m28.180248799s) first good commit: b53119f13a04879c3bf502828d99d13726639ead pin iocb through aio. cc: ["bcrl@kvack.org" "linux-aio@kvack.org" "linux-fsdevel@vger.kernel.org" "linux-kernel@vger.kernel.org" "torvalds@linux-foundation.org" "viro@zeniv.linux.org.uk"]