bisecting cause commit starting from d58b5ab90ee7528126fd5833df7fc5bda8331ce8 building syzkaller on f62e1e85cf54ccfa990868a402eca32bf4513b21 testing commit d58b5ab90ee7528126fd5833df7fc5bda8331ce8 with gcc (GCC) 8.1.0 all runs: crashed: kernel BUG at lib/lockref.c:LINE! testing release v5.1 testing commit e93c9c99a629c61837d5a7fc2120cd2b6c70dbdd with gcc (GCC) 8.1.0 all runs: OK # git bisect start d58b5ab90ee7528126fd5833df7fc5bda8331ce8 v5.1 Bisecting: 14110 revisions left to test after this (roughly 14 steps) [aa7235483a838be79b7c22a86b0dc4cb12ee5dd6] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace testing commit aa7235483a838be79b7c22a86b0dc4cb12ee5dd6 with gcc (GCC) 8.1.0 run #0: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "-i" "/syzkaller/jobs/linux/workdir/image/key" "/tmp/syz-executor910708814" "root@10.128.0.131:./syz-executor910708814"]: exit status 1 ssh: connect to host 10.128.0.131 port 22: Connection timed out lost connection run #1: OK 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 good aa7235483a838be79b7c22a86b0dc4cb12ee5dd6 Bisecting: 7065 revisions left to test after this (roughly 13 steps) [b9ed1c3ae44fff9abaf972e7ffe637104ab24237] Merge remote-tracking branch 'gfs2/for-next' testing commit b9ed1c3ae44fff9abaf972e7ffe637104ab24237 with gcc (GCC) 8.1.0 all runs: crashed: kernel BUG at lib/lockref.c:LINE! # git bisect bad b9ed1c3ae44fff9abaf972e7ffe637104ab24237 Bisecting: 3554 revisions left to test after this (roughly 12 steps) [1593316f040abdf554d2cf63424ea91aa6e82f4b] Merge remote-tracking branch 'v9fs/9p-next' testing commit 1593316f040abdf554d2cf63424ea91aa6e82f4b with gcc (GCC) 8.1.0 all runs: OK # git bisect good 1593316f040abdf554d2cf63424ea91aa6e82f4b Bisecting: 1777 revisions left to test after this (roughly 11 steps) [45d3b55dc665670f87373744e30fa0e8eaced495] net/mlx5: Add crypto library to support create/destroy encryption key testing commit 45d3b55dc665670f87373744e30fa0e8eaced495 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 45d3b55dc665670f87373744e30fa0e8eaced495 Bisecting: 993 revisions left to test after this (roughly 10 steps) [a089f61ee180975106fd8fc1faad249d44642b94] Merge remote-tracking branch 'jc_docs/docs-next' testing commit a089f61ee180975106fd8fc1faad249d44642b94 with gcc (GCC) 8.1.0 all runs: crashed: kernel BUG at lib/lockref.c:LINE! # git bisect bad a089f61ee180975106fd8fc1faad249d44642b94 Bisecting: 440 revisions left to test after this (roughly 9 steps) [73952dc2310f2536838da73d0902e8f2c1a413de] Merge remote-tracking branch 'pstore/for-next/pstore' testing commit 73952dc2310f2536838da73d0902e8f2c1a413de with gcc (GCC) 8.1.0 all runs: crashed: kernel BUG at lib/lockref.c:LINE! # git bisect bad 73952dc2310f2536838da73d0902e8f2c1a413de Bisecting: 221 revisions left to test after this (roughly 8 steps) [397e7773acbaf7cd7da7fe3e0e40c67bc71fbeee] Merge remote-tracking branch 'file-locks/locks-next' testing commit 397e7773acbaf7cd7da7fe3e0e40c67bc71fbeee with gcc (GCC) 8.1.0 run #0: crashed: general protection fault in send_hsr_supervision_frame run #1: crashed: general protection fault in send_hsr_supervision_frame run #2: crashed: general protection fault in send_hsr_supervision_frame run #3: crashed: general protection fault in send_hsr_supervision_frame run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK # git bisect bad 397e7773acbaf7cd7da7fe3e0e40c67bc71fbeee Bisecting: 60 revisions left to test after this (roughly 6 steps) [81f40041735180e80a131b0062b339deb8f9e319] xfs: merge xfs_trans_extfree.c into xfs_extfree_item.c testing commit 81f40041735180e80a131b0062b339deb8f9e319 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 81f40041735180e80a131b0062b339deb8f9e319 Bisecting: 30 revisions left to test after this (roughly 5 steps) [677717fbd4b020404bf7cbaf4fd00c51f52abdaa] xfs: refactor INUMBERS to use iwalk functions testing commit 677717fbd4b020404bf7cbaf4fd00c51f52abdaa with gcc (GCC) 8.1.0 all runs: OK # git bisect good 677717fbd4b020404bf7cbaf4fd00c51f52abdaa Bisecting: 15 revisions left to test after this (roughly 4 steps) [6d6ccedd76823c28115bd6925342ceb73bab6cd4] xfs: only allocate memory for scrubbing attributes when we need it testing commit 6d6ccedd76823c28115bd6925342ceb73bab6cd4 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 6d6ccedd76823c28115bd6925342ceb73bab6cd4 Bisecting: 9 revisions left to test after this (roughly 3 steps) [7e328e5930ad85c4669ca12bd20e1828a62a391a] mm/fs: don't allow writes to immutable files testing commit 7e328e5930ad85c4669ca12bd20e1828a62a391a with gcc (GCC) 8.1.0 all runs: OK # git bisect good 7e328e5930ad85c4669ca12bd20e1828a62a391a Bisecting: 3 revisions left to test after this (roughly 2 steps) [21ff9f00daf66559dcf8ca3105eb21c328bce991] Merge remote-tracking branch 'iomap/iomap-for-next' testing commit 21ff9f00daf66559dcf8ca3105eb21c328bce991 with gcc (GCC) 8.1.0 run #0: crashed: general protection fault in send_hsr_supervision_frame run #1: crashed: general protection fault in send_hsr_supervision_frame run #2: crashed: general protection fault in send_hsr_supervision_frame run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK # git bisect bad 21ff9f00daf66559dcf8ca3105eb21c328bce991 Bisecting: 2 revisions left to test after this (roughly 2 steps) [36a7347de097edf9c4d7203d09fa223c86479674] iomap: fix page_done callback for short writes testing commit 36a7347de097edf9c4d7203d09fa223c86479674 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 36a7347de097edf9c4d7203d09fa223c86479674 Bisecting: 0 revisions left to test after this (roughly 1 step) [867c90eeea9d81ad1336881b61a4dcf692fc5d50] Merge remote-tracking branch 'xfs/for-next' testing commit 867c90eeea9d81ad1336881b61a4dcf692fc5d50 with gcc (GCC) 8.1.0 run #0: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "-i" "/syzkaller/jobs/linux/workdir/image/key" "/tmp/syz-executor061181509" "root@10.128.15.224:./syz-executor061181509"]: exit status 1 ssh: connect to host 10.128.15.224 port 22: Connection timed out lost connection run #1: crashed: general protection fault in send_hsr_supervision_frame run #2: crashed: general protection fault in send_hsr_supervision_frame run #3: crashed: general protection fault in send_hsr_supervision_frame run #4: crashed: general protection fault in send_hsr_supervision_frame run #5: crashed: general protection fault in send_hsr_supervision_frame run #6: crashed: general protection fault in send_hsr_supervision_frame run #7: OK run #8: OK run #9: OK # git bisect bad 867c90eeea9d81ad1336881b61a4dcf692fc5d50 Bisecting: 0 revisions left to test after this (roughly 0 steps) [036f463fe15db26c2d90724203e4a7ea8f9b8580] xfs: online scrub needn't bother zeroing its temporary buffer testing commit 036f463fe15db26c2d90724203e4a7ea8f9b8580 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 036f463fe15db26c2d90724203e4a7ea8f9b8580 867c90eeea9d81ad1336881b61a4dcf692fc5d50 is the first bad commit revisions tested: 17, total time: 4h29m31.249489345s (build: 1h36m25.992342061s, test: 2h46m55.262566525s) first bad commit: 867c90eeea9d81ad1336881b61a4dcf692fc5d50 Merge remote-tracking branch 'xfs/for-next' cc: ["darrick.wong@oracle.com" "linux-kernel@vger.kernel.org" "linux-xfs@vger.kernel.org" "sfr@canb.auug.org.au"] crash: general protection fault in send_hsr_supervision_frame kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.2.0-rc7+ #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:send_hsr_supervision_frame+0x30/0xf60 net/hsr/hsr_device.c:255 Code: 89 e5 41 57 41 56 41 55 49 89 fd 41 54 41 89 d4 48 89 c2 53 48 c1 ea 03 48 83 ec 50 48 89 45 d0 48 b8 00 00 00 00 00 fc ff df <80> 3c 02 00 89 75 c8 0f 85 83 0c 00 00 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffff8880aea09c68 EFLAGS: 00010282 RAX: dffffc0000000000 RBX: ffff88808eea13c0 RCX: ffffffff8156bfe4 RDX: 0000000000000002 RSI: 0000000000000017 RDI: 0000000000000000 RBP: ffff8880aea09ce0 R08: ffffed1015d46c70 R09: ffffed1015d46c6f R10: ffffed1015d46c6f R11: ffff8880aea3637b R12: 0000000000000000 R13: 0000000000000000 R14: ffff8880aea09db8 R15: ffff8880aea24b80 FS: 0000000000000000(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000006cd0a0 CR3: 0000000098bbd000 CR4: 00000000001406f0 Call Trace: hsr_announce+0xd9/0x2b0 net/hsr/hsr_device.c:339 call_timer_fn+0x14d/0x510 kernel/time/timer.c:1322 expire_timers kernel/time/timer.c:1366 [inline] __run_timers kernel/time/timer.c:1685 [inline] run_timer_softirq+0xc6f/0x1330 kernel/time/timer.c:1698 __do_softirq+0x260/0x958 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x17f/0x1c0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x13e/0x540 arch/x86/kernel/apic/apic.c:1068 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:806 RIP: 0010:native_safe_halt+0x12/0x20 arch/x86/include/asm/irqflags.h:61 Code: 11 ff ff ff 4c 89 e7 e8 9c 24 f3 fa eb 97 90 90 90 90 90 90 90 90 90 90 55 48 89 e5 e9 07 00 00 00 0f 00 2d 10 6b 62 00 fb f4 <5d> c3 66 90 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 e9 07 00 00 RSP: 0018:ffffffff88207ce0 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13 RAX: dffffc0000000000 RBX: ffffffff8827a040 RCX: 0000000000000000 RDX: 1ffffffff1064429 RSI: 0000000000000006 RDI: ffffffff88322148 RBP: ffffffff88207ce0 R08: 0000000000000006 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff88322138 R14: 0000000000000000 R15: ffffffff88f72e38 arch_safe_halt arch/x86/include/asm/paravirt.h:156 [inline] default_idle+0x51/0x310 arch/x86/kernel/process.c:580 arch_cpu_idle+0xa/0x10 arch/x86/kernel/process.c:571 default_idle_call+0x6d/0x90 kernel/sched/idle.c:94 cpuidle_idle_call kernel/sched/idle.c:154 [inline] do_idle+0x3e4/0x590 kernel/sched/idle.c:263 cpu_startup_entry+0x18/0x20 kernel/sched/idle.c:354 rest_init+0x1a4/0x279 init/main.c:451 arch_call_rest_init+0x9/0xc start_kernel+0x6bd/0x6f8 init/main.c:761 x86_64_start_reservations+0x29/0x2b arch/x86/kernel/head64.c:472 x86_64_start_kernel+0x76/0x79 arch/x86/kernel/head64.c:453 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:243 Modules linked in: ---[ end trace 8734f6e2c4fa200c ]--- RIP: 0010:send_hsr_supervision_frame+0x30/0xf60 net/hsr/hsr_device.c:255 Code: 89 e5 41 57 41 56 41 55 49 89 fd 41 54 41 89 d4 48 89 c2 53 48 c1 ea 03 48 83 ec 50 48 89 45 d0 48 b8 00 00 00 00 00 fc ff df <80> 3c 02 00 89 75 c8 0f 85 83 0c 00 00 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffff8880aea09c68 EFLAGS: 00010282 RAX: dffffc0000000000 RBX: ffff88808eea13c0 RCX: ffffffff8156bfe4 RDX: 0000000000000002 RSI: 0000000000000017 RDI: 0000000000000000 RBP: ffff8880aea09ce0 R08: ffffed1015d46c70 R09: ffffed1015d46c6f R10: ffffed1015d46c6f R11: ffff8880aea3637b R12: 0000000000000000 R13: 0000000000000000 R14: ffff8880aea09db8 R15: ffff8880aea24b80 FS: 0000000000000000(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000006cd0a0 CR3: 0000000098bbd000 CR4: 00000000001406f0