bisecting fixing commit since 46cf053efec6a3a5f343fead837777efe8252a46 building syzkaller on be5c2c81971442d623dd1b265dabf4644ceeb35b testing commit 46cf053efec6a3a5f343fead837777efe8252a46 with gcc (GCC) 8.1.0 kernel signature: 0826d55e59a455874a544b574e5ec13b06b3995e30a3450200c5f8c2130f0bd1 run #0: crashed: possible deadlock in do_io_accounting run #1: crashed: possible deadlock in seq_read run #2: crashed: possible deadlock in seq_read run #3: crashed: possible deadlock in seq_read run #4: crashed: possible deadlock in seq_read run #5: crashed: possible deadlock in seq_read run #6: crashed: possible deadlock in do_io_accounting run #7: crashed: possible deadlock in do_io_accounting run #8: crashed: possible deadlock in do_io_accounting run #9: crashed: possible deadlock in do_io_accounting testing current HEAD ab51cac00ef2859f20a73d33a53f3a8987b65e11 testing commit ab51cac00ef2859f20a73d33a53f3a8987b65e11 with gcc (GCC) 8.1.0 kernel signature: ee73083efc8ed6f9b5038f2bc7c3ccbd34e2204873e16e0def8ec0758303ee0d all runs: OK # git bisect start ab51cac00ef2859f20a73d33a53f3a8987b65e11 46cf053efec6a3a5f343fead837777efe8252a46 Bisecting: 14147 revisions left to test after this (roughly 14 steps) [f67213cee2b35fe169a723746b7f37debf20fa29] phy: tegra: xusb: Add usb-role-switch support testing commit f67213cee2b35fe169a723746b7f37debf20fa29 with gcc (GCC) 8.1.0 kernel signature: dfef8fa508d3fa43c0cfbdbe01055bf63d198c7bbbb2da1027c18bfa5a1c4505 run #0: crashed: possible deadlock in seq_read run #1: crashed: possible deadlock in seq_read run #2: crashed: possible deadlock in seq_read run #3: crashed: possible deadlock in seq_read run #4: crashed: possible deadlock in do_io_accounting run #5: crashed: possible deadlock in seq_read run #6: crashed: possible deadlock in do_io_accounting run #7: crashed: possible deadlock in do_io_accounting run #8: crashed: possible deadlock in do_io_accounting run #9: crashed: possible deadlock in do_io_accounting # git bisect good f67213cee2b35fe169a723746b7f37debf20fa29 Bisecting: 7672 revisions left to test after this (roughly 13 steps) [4646de87d32526ee87b46c2e0130413367fb5362] Merge tag 'mailbox-v5.7' of git://git.linaro.org/landing-teams/working/fujitsu/integration testing commit 4646de87d32526ee87b46c2e0130413367fb5362 with gcc (GCC) 8.1.0 kernel signature: 7e5bcf565f165230b045808a819f53b0f34979fbfb2346ea3edbe2bb4fa6ee51 run #0: crashed: possible deadlock in do_io_accounting run #1: crashed: possible deadlock in seq_read run #2: crashed: possible deadlock in seq_read run #3: crashed: possible deadlock in do_io_accounting run #4: crashed: possible deadlock in seq_read run #5: crashed: possible deadlock in do_io_accounting run #6: crashed: possible deadlock in do_io_accounting run #7: crashed: possible deadlock in do_io_accounting run #8: crashed: possible deadlock in seq_read run #9: crashed: possible deadlock in do_io_accounting # git bisect good 4646de87d32526ee87b46c2e0130413367fb5362 Bisecting: 3830 revisions left to test after this (roughly 12 steps) [0ad5b053d438990fabaa324499abb6131b9d2202] Merge tag 'char-misc-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc testing commit 0ad5b053d438990fabaa324499abb6131b9d2202 with gcc (GCC) 8.1.0 kernel signature: 8f11a2b8cbec0cc18321def5540c5f5d80e8e44488579dbf637e7b2808469026 all runs: OK # git bisect bad 0ad5b053d438990fabaa324499abb6131b9d2202 Bisecting: 1925 revisions left to test after this (roughly 11 steps) [7db83c070bd29e73c8bb42d4b48c976be76f1dbe] Merge tag 'vfs-5.7-merge-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux testing commit 7db83c070bd29e73c8bb42d4b48c976be76f1dbe with gcc (GCC) 8.1.0 kernel signature: 3aa76f41509964bf81ee10a5975d225bfb2059d018956e9768d3d592e5c978c1 all runs: OK # git bisect bad 7db83c070bd29e73c8bb42d4b48c976be76f1dbe Bisecting: 957 revisions left to test after this (roughly 10 steps) [f2cc50cefd0f209b4ee87206660d2554a7be7ae0] drm/amdkfd: change SDMA MQD memory type testing commit f2cc50cefd0f209b4ee87206660d2554a7be7ae0 with gcc (GCC) 8.1.0 kernel signature: d4a6d0211561943f86cb96d8d112442e49de9365fbb0164d77b832f5cd6e75b0 run #0: crashed: possible deadlock in seq_read run #1: crashed: possible deadlock in seq_read run #2: crashed: possible deadlock in do_io_accounting run #3: crashed: possible deadlock in seq_read run #4: crashed: possible deadlock in do_io_accounting run #5: crashed: possible deadlock in do_io_accounting run #6: crashed: possible deadlock in do_io_accounting run #7: crashed: possible deadlock in seq_read run #8: crashed: possible deadlock in do_io_accounting run #9: crashed: possible deadlock in do_io_accounting # git bisect good f2cc50cefd0f209b4ee87206660d2554a7be7ae0 Bisecting: 494 revisions left to test after this (roughly 9 steps) [7c2cb99fe7d5e7f7f11c4f0dfb4b91b1d36e44fa] Merge tag 'exynos-drm-next-for-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next testing commit 7c2cb99fe7d5e7f7f11c4f0dfb4b91b1d36e44fa with gcc (GCC) 8.1.0 kernel signature: 50b406d76bbbbc7c107b4040d0d3dd4c48d37d0145b7dbc0a7cbaf99cdbf712d run #0: crashed: possible deadlock in do_io_accounting run #1: crashed: possible deadlock in seq_read run #2: crashed: possible deadlock in seq_read run #3: crashed: possible deadlock in seq_read run #4: crashed: possible deadlock in seq_read run #5: crashed: possible deadlock in do_io_accounting run #6: crashed: possible deadlock in do_io_accounting run #7: crashed: possible deadlock in do_io_accounting run #8: crashed: possible deadlock in do_io_accounting run #9: crashed: possible deadlock in do_io_accounting # git bisect good 7c2cb99fe7d5e7f7f11c4f0dfb4b91b1d36e44fa Bisecting: 253 revisions left to test after this (roughly 8 steps) [50a5de895dbe5df947b3a695777db5b2c313e065] Merge tag 'for-linus-hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma testing commit 50a5de895dbe5df947b3a695777db5b2c313e065 with gcc (GCC) 8.1.0 kernel signature: 21336bd890443eee89fa39d7fd319132f394dbcb2fc6aa4161e0c96b6478505e run #0: crashed: possible deadlock in seq_read run #1: crashed: possible deadlock in do_io_accounting run #2: crashed: possible deadlock in seq_read run #3: crashed: possible deadlock in do_io_accounting run #4: crashed: possible deadlock in seq_read run #5: crashed: possible deadlock in seq_read run #6: crashed: possible deadlock in seq_read run #7: crashed: possible deadlock in seq_read run #8: crashed: possible deadlock in do_io_accounting run #9: crashed: possible deadlock in do_io_accounting # git bisect good 50a5de895dbe5df947b3a695777db5b2c313e065 Bisecting: 126 revisions left to test after this (roughly 7 steps) [fd72926c332eaa28845b1f655b24006158ec5207] RDMA/hns: Adjust the qp status value sequence of the hardware testing commit fd72926c332eaa28845b1f655b24006158ec5207 with gcc (GCC) 8.1.0 kernel signature: 0c4cef050eea3df609bbd8c8aa134fffdec3a6484fa389b7f486bf0ad1dabc9d run #0: crashed: possible deadlock in seq_read run #1: crashed: possible deadlock in seq_read run #2: crashed: possible deadlock in do_io_accounting run #3: crashed: possible deadlock in seq_read run #4: crashed: possible deadlock in seq_read run #5: crashed: possible deadlock in do_io_accounting run #6: crashed: possible deadlock in do_io_accounting run #7: crashed: possible deadlock in seq_read run #8: crashed: possible deadlock in do_io_accounting run #9: crashed: possible deadlock in do_io_accounting # git bisect good fd72926c332eaa28845b1f655b24006158ec5207 Bisecting: 63 revisions left to test after this (roughly 6 steps) [c5971b8c6354a95c9ee7eb722928af5000bac247] take post-lookup part of do_last() out of loop testing commit c5971b8c6354a95c9ee7eb722928af5000bac247 with gcc (GCC) 8.1.0 kernel signature: 76a2c9be4ffc0d08815f04e55fb30a17008ee7f1f81b255ae389724b6bdfbbeb run #0: crashed: possible deadlock in do_io_accounting run #1: crashed: possible deadlock in seq_read run #2: crashed: possible deadlock in seq_read run #3: crashed: possible deadlock in seq_read run #4: crashed: possible deadlock in do_io_accounting run #5: crashed: possible deadlock in seq_read run #6: crashed: possible deadlock in seq_read run #7: crashed: possible deadlock in do_io_accounting run #8: crashed: possible deadlock in do_io_accounting run #9: crashed: possible deadlock in do_io_accounting # git bisect good c5971b8c6354a95c9ee7eb722928af5000bac247 Bisecting: 35 revisions left to test after this (roughly 5 steps) [d1e7fd6462ca9fc76650fbe6ca800e35b24267da] signal: Extend exec_id to 64bits testing commit d1e7fd6462ca9fc76650fbe6ca800e35b24267da with gcc (GCC) 8.1.0 kernel signature: da24ee20908f22a678046b6380d439a125cba9591e92db54005b0f5859286d0e all runs: OK # git bisect bad d1e7fd6462ca9fc76650fbe6ca800e35b24267da Bisecting: 13 revisions left to test after this (roughly 4 steps) [021691559245498dfa15454c9fc4351f367d0b7f] exec: Factor unshare_sighand out of de_thread and call it separately testing commit 021691559245498dfa15454c9fc4351f367d0b7f with gcc (GCC) 8.1.0 kernel signature: 5efed0faa6df15f860d1a961931f05ec8b3dc257ecfdf0d0da736aa2f0ff4f10 run #0: crashed: possible deadlock in seq_read run #1: crashed: possible deadlock in seq_read run #2: crashed: possible deadlock in seq_read run #3: crashed: possible deadlock in seq_read run #4: crashed: possible deadlock in do_io_accounting run #5: crashed: possible deadlock in seq_read run #6: crashed: possible deadlock in do_io_accounting run #7: crashed: possible deadlock in do_io_accounting run #8: crashed: possible deadlock in do_io_accounting run #9: crashed: possible deadlock in do_io_accounting # git bisect good 021691559245498dfa15454c9fc4351f367d0b7f Bisecting: 6 revisions left to test after this (roughly 3 steps) [aa884c11313656fee7b12972614b6333f154655c] kernel: doc: remove outdated comment cred.c testing commit aa884c11313656fee7b12972614b6333f154655c with gcc (GCC) 8.1.0 kernel signature: c7f14e496b22d99b0ecd81b28d3fd048aadce6f6374365a1553d8f13b6fdf038 run #0: crashed: possible deadlock in do_io_accounting run #1: crashed: possible deadlock in seq_read run #2: crashed: possible deadlock in seq_read run #3: crashed: possible deadlock in seq_read run #4: crashed: possible deadlock in seq_read run #5: crashed: possible deadlock in do_io_accounting run #6: crashed: possible deadlock in seq_read run #7: crashed: possible deadlock in seq_read run #8: crashed: possible deadlock in seq_read run #9: crashed: possible deadlock in do_io_accounting # git bisect good aa884c11313656fee7b12972614b6333f154655c Bisecting: 3 revisions left to test after this (roughly 2 steps) [76518d3798855242817e8a8ed76b2d72f4415624] proc: io_accounting: Use new infrastructure to fix deadlocks in execve testing commit 76518d3798855242817e8a8ed76b2d72f4415624 with gcc (GCC) 8.1.0 kernel signature: 4d1ea704bec47194eaf817536b128f6a07d49c8c6b9a5b01a4fb0dae4386a734 all runs: OK # git bisect bad 76518d3798855242817e8a8ed76b2d72f4415624 Bisecting: 0 revisions left to test after this (roughly 1 step) [2db9dbf71bf98d02a0bf33e798e5bfd2a9944696] proc: Use new infrastructure to fix deadlocks in execve testing commit 2db9dbf71bf98d02a0bf33e798e5bfd2a9944696 with gcc (GCC) 8.1.0 kernel signature: 2df3607c584ce767daa4075ca06f03b41481839dfe3e3cb0d64a6ef1f4f06f2d run #0: crashed: possible deadlock in seq_read run #1: crashed: possible deadlock in do_io_accounting run #2: crashed: possible deadlock in do_io_accounting run #3: crashed: possible deadlock in seq_read run #4: crashed: possible deadlock in do_io_accounting run #5: crashed: possible deadlock in do_io_accounting run #6: crashed: possible deadlock in seq_read run #7: crashed: possible deadlock in do_io_accounting run #8: crashed: possible deadlock in do_io_accounting run #9: boot failed: can't ssh into the instance # git bisect good 2db9dbf71bf98d02a0bf33e798e5bfd2a9944696 76518d3798855242817e8a8ed76b2d72f4415624 is the first bad commit commit 76518d3798855242817e8a8ed76b2d72f4415624 Author: Bernd Edlinger Date: Fri Mar 20 21:27:41 2020 +0100 proc: io_accounting: Use new infrastructure to fix deadlocks in execve This changes do_io_accounting to use the new exec_update_mutex instead of cred_guard_mutex. This fixes possible deadlocks when the trace is accessing /proc/$pid/io for instance. This should be safe, as the credentials are only used for reading. Signed-off-by: Bernd Edlinger Signed-off-by: Eric W. Biederman fs/proc/base.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) culprit signature: 4d1ea704bec47194eaf817536b128f6a07d49c8c6b9a5b01a4fb0dae4386a734 parent signature: 2df3607c584ce767daa4075ca06f03b41481839dfe3e3cb0d64a6ef1f4f06f2d revisions tested: 16, total time: 3h38m38.635184966s (build: 1h35m31.887361984s, test: 2h1m38.392283401s) first good commit: 76518d3798855242817e8a8ed76b2d72f4415624 proc: io_accounting: Use new infrastructure to fix deadlocks in execve cc: ["adobriyan@gmail.com" "akpm@linux-foundation.org" "avagin@gmail.com" "bernd.edlinger@hotmail.de" "ebiederm@xmission.com" "linux-fsdevel@vger.kernel.org" "linux-kernel@vger.kernel.org" "tglx@linutronix.de"]