bisecting fixing commit since f6d5cb9e2c06f7d583dd9f4f7cca21d13d78c32a building syzkaller on abf9ba4fc75d9b29af15625d44dcfc1360fad3b7 testing commit f6d5cb9e2c06f7d583dd9f4f7cca21d13d78c32a with gcc (GCC) 8.1.0 kernel signature: 333f0300af2898009612cb331ff0048b60fa1324fc445b02dba98db6eb7b91e2 run #0: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #1: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #2: crashed: KASAN: use-after-free Read in locks_remove_file run #3: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #4: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #5: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #6: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #7: crashed: WARNING: ODEBUG bug in get_signal run #8: crashed: KASAN: use-after-free Read in locks_remove_file run #9: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop testing current HEAD b09c34517e1ac4018e3bb75ed5c8610a8a1f486b testing commit b09c34517e1ac4018e3bb75ed5c8610a8a1f486b with gcc (GCC) 8.1.0 kernel signature: 41955891b2d6b4bc955b11fc366d68502abe41984ca62037d355ccda0602bfaa all runs: OK # git bisect start b09c34517e1ac4018e3bb75ed5c8610a8a1f486b f6d5cb9e2c06f7d583dd9f4f7cca21d13d78c32a Bisecting: 316 revisions left to test after this (roughly 8 steps) [61279a7b3e337b8c8605987591964db4a2b3eb91] SUNRPC: stop printk reading past end of string testing commit 61279a7b3e337b8c8605987591964db4a2b3eb91 with gcc (GCC) 8.1.0 kernel signature: 9918b5b59ac2f526b9d1de5ff47f82c2fd1794a3c4d3eb9889c97d57af8a404c all runs: OK # git bisect bad 61279a7b3e337b8c8605987591964db4a2b3eb91 Bisecting: 158 revisions left to test after this (roughly 7 steps) [9895dfea9610ae54be8890b98eb17fd7f1496c75] bnxt_en: Fix PCI AER error recovery flow testing commit 9895dfea9610ae54be8890b98eb17fd7f1496c75 with gcc (GCC) 8.1.0 kernel signature: 6ec0ebaa51d0ec947f4b447b99813e482e3a63a1da439df72173ee74ea4a10a2 run #0: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #1: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #2: crashed: KASAN: use-after-free Read in __fput run #3: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #4: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #5: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #6: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #7: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #8: crashed: general protection fault in __sock_release run #9: crashed: WARNING: ODEBUG bug in get_signal # git bisect good 9895dfea9610ae54be8890b98eb17fd7f1496c75 Bisecting: 79 revisions left to test after this (roughly 6 steps) [d2dd6d5a77c5dbee03a5ffe75811f6e906599df4] arm64: dts: ns2: Fixed QSPI compatible string testing commit d2dd6d5a77c5dbee03a5ffe75811f6e906599df4 with gcc (GCC) 8.1.0 kernel signature: 4d64c8d2d14f2eb6587c4d3881b71c07b74255c84704bf2d65b9379a0e0b2bc2 all runs: OK # git bisect bad d2dd6d5a77c5dbee03a5ffe75811f6e906599df4 Bisecting: 39 revisions left to test after this (roughly 5 steps) [b0a689f84d53a8b923302cfab10527ada27d962c] affs: fix basic permission bits to actually work testing commit b0a689f84d53a8b923302cfab10527ada27d962c with gcc (GCC) 8.1.0 kernel signature: 382dccde1f46bd0190401dbfc0a8575df33eac9bec437548b0b5d37ef5fc68b2 all runs: OK # git bisect bad b0a689f84d53a8b923302cfab10527ada27d962c Bisecting: 19 revisions left to test after this (roughly 4 steps) [884fee7632168ab59ed49a26de430fa3ed5c6a86] xfs: don't update mtime on COW faults testing commit 884fee7632168ab59ed49a26de430fa3ed5c6a86 with gcc (GCC) 8.1.0 kernel signature: 1176998707a650b200a92d17d50771df69e052fb9741d4f063056202d0e04a7e all runs: OK # git bisect bad 884fee7632168ab59ed49a26de430fa3ed5c6a86 Bisecting: 9 revisions left to test after this (roughly 3 steps) [37d933e8b41b83bb8278815e366aec5a542b7e31] fix regression in "epoll: Keep a reference on files added to the check list" testing commit 37d933e8b41b83bb8278815e366aec5a542b7e31 with gcc (GCC) 8.1.0 kernel signature: c1fa2c6493e34d6e0f6a6d3774f51fc66e5ca019d1726eb751868c0d1540e272 all runs: OK # git bisect bad 37d933e8b41b83bb8278815e366aec5a542b7e31 Bisecting: 4 revisions left to test after this (roughly 2 steps) [0430561c8e0f4b497b29a169445e2477c607e27b] selftests/bpf: Fix massive output from test_maps testing commit 0430561c8e0f4b497b29a169445e2477c607e27b with gcc (GCC) 8.1.0 kernel signature: bae49ce2cef585e96e06ba9047088b7257488b8b1432aa5a03b5b11f87404f48 run #0: crashed: WARNING: ODEBUG bug in get_signal run #1: crashed: KASAN: use-after-free Read in __dentry_kill run #2: crashed: general protection fault in __sock_release run #3: crashed: WARNING: ODEBUG bug in get_signal run #4: crashed: WARNING: ODEBUG bug in get_signal run #5: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #6: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #7: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #8: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #9: crashed: KASAN: use-after-free Read in locks_remove_file # git bisect good 0430561c8e0f4b497b29a169445e2477c607e27b Bisecting: 2 revisions left to test after this (roughly 1 step) [dff6a2c2828bce13f32c62029def97195f8830f6] nvmet-fc: Fix a missed _irqsave version of spin_lock in 'nvmet_fc_fod_op_done()' testing commit dff6a2c2828bce13f32c62029def97195f8830f6 with gcc (GCC) 8.1.0 kernel signature: fd5e4ca255f6ca7f9289dfb2f0797b198f99a7412c988a2e124317454945a5e2 run #0: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #1: crashed: KASAN: use-after-free Read in locks_remove_file run #2: crashed: WARNING: ODEBUG bug in get_signal run #3: crashed: general protection fault in __sock_release run #4: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #5: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #6: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #7: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #8: crashed: WARNING: ODEBUG bug in get_signal run #9: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop # git bisect good dff6a2c2828bce13f32c62029def97195f8830f6 Bisecting: 0 revisions left to test after this (roughly 1 step) [f00d82c3fb4368afb41cba89b287801a7888627c] net: ethernet: mlx4: Fix memory allocation in mlx4_buddy_init() testing commit f00d82c3fb4368afb41cba89b287801a7888627c with gcc (GCC) 8.1.0 kernel signature: 54bfbf4eeee5f5ece4081520d302cea8abbff19b0e16ff7a05ed66ea15148876 run #0: crashed: KASAN: use-after-free Read in locks_remove_file run #1: crashed: WARNING: ODEBUG bug in get_signal run #2: crashed: KASAN: use-after-free Read in locks_remove_file run #3: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #4: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #5: crashed: KASAN: use-after-free Read in __fput run #6: crashed: WARNING: ODEBUG bug in exit_to_usermode_loop run #7: crashed: WARNING: ODEBUG bug in get_signal run #8: crashed: KASAN: use-after-free Read in locks_remove_file run #9: crashed: KASAN: use-after-free Read in locks_remove_file # git bisect good f00d82c3fb4368afb41cba89b287801a7888627c 37d933e8b41b83bb8278815e366aec5a542b7e31 is the first bad commit commit 37d933e8b41b83bb8278815e366aec5a542b7e31 Author: Al Viro Date: Wed Sep 2 11:30:48 2020 -0400 fix regression in "epoll: Keep a reference on files added to the check list" [ Upstream commit 77f4689de17c0887775bb77896f4cc11a39bf848 ] epoll_loop_check_proc() can run into a file already committed to destruction; we can't grab a reference on those and don't need to add them to the set for reverse path check anyway. Tested-by: Marc Zyngier Fixes: a9ed4a6560b8 ("epoll: Keep a reference on files added to the check list") Signed-off-by: Al Viro Signed-off-by: Sasha Levin fs/eventpoll.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) culprit signature: c1fa2c6493e34d6e0f6a6d3774f51fc66e5ca019d1726eb751868c0d1540e272 parent signature: 54bfbf4eeee5f5ece4081520d302cea8abbff19b0e16ff7a05ed66ea15148876 revisions tested: 11, total time: 2h54m57.541314409s (build: 1h39m36.722669061s, test: 1h13m50.544478301s) first good commit: 37d933e8b41b83bb8278815e366aec5a542b7e31 fix regression in "epoll: Keep a reference on files added to the check list" recipients (to): ["maz@kernel.org" "sashal@kernel.org" "viro@zeniv.linux.org.uk"] recipients (cc): []