bisecting fixing commit since 9fa690a2a016e1b55356835f047b952e67d3d73a building syzkaller on 5ed23f9aa677d71bc60f61df8e05046151868541 testing commit 9fa690a2a016e1b55356835f047b952e67d3d73a with gcc (GCC) 8.1.0 kernel signature: d53de07a79d0b531b0a8252cb2fcebfdb55c2039523b2bf8d035a35a3ba76558 run #0: crashed: general protection fault in prepare_to_wait run #1: crashed: general protection fault in prepare_to_wait run #2: crashed: general protection fault in prepare_to_wait run #3: crashed: general protection fault in prepare_to_wait run #4: crashed: general protection fault in prepare_to_wait run #5: crashed: general protection fault in prepare_to_wait run #6: crashed: general protection fault in prepare_to_wait run #7: crashed: general protection fault in prepare_to_wait run #8: OK run #9: crashed: general protection fault in batadv_iv_ogm_queue_add testing current HEAD 78d697fc93f98054e36a3ab76dca1a88802ba7be testing commit 78d697fc93f98054e36a3ab76dca1a88802ba7be with gcc (GCC) 8.1.0 kernel signature: 0f68ec5c3efe32e2d872f57b7ad043001eb89dd4590eecd92b1bc90e01f3a6ee run #0: crashed: general protection fault in prepare_to_wait run #1: crashed: general protection fault in prepare_to_wait run #2: crashed: general protection fault in prepare_to_wait run #3: crashed: general protection fault in prepare_to_wait run #4: crashed: general protection fault in prepare_to_wait run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK revisions tested: 2, total time: 40m56.65120018s (build: 18m59.111853599s, test: 20m59.424864838s) the crash still happens on HEAD commit msg: Linux 4.14.172 crash: general protection fault in prepare_to_wait IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready 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 Modules linked in: CPU: 0 PID: 7191 Comm: syz-executor.0 Not tainted 4.14.172-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888094c68180 task.stack: ffff8880956c8000 RIP: 0010:__lock_acquire+0x1d5/0x4500 kernel/locking/lockdep.c:3365 RSP: 0018:ffff8880956cf8f0 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000003 RSI: 0000000000000000 RDI: ffffffff87f16780 RBP: ffff8880956cfac0 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: ffff888094c68180 R12: 0000000000000018 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 00007f3202a91700(0000) GS:ffff8880aec00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff4d8c0fc8 CR3: 00000000964da000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x173/0x400 kernel/locking/lockdep.c:3994 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x99/0xd0 kernel/locking/spinlock.c:160 prepare_to_wait+0x8a/0x3b0 kernel/sched/wait.c:234 nr_accept+0x1a8/0x670 net/netrom/af_netrom.c:796 SYSC_accept4+0x306/0x5e0 net/socket.c:1587 SyS_accept4 net/socket.c:1537 [inline] SYSC_accept net/socket.c:1621 [inline] SyS_accept+0xb/0x10 net/socket.c:1618 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45b349 RSP: 002b:00007f3202a90c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002b RAX: ffffffffffffffda RBX: 00007f3202a916d4 RCX: 000000000045b349 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000000 R14: 00000000004c1558 R15: 000000000075bfd4 Code: 00 00 00 00 8b 84 24 98 00 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 f2 30 00 00 49 81 3c 24 60 b5 e7 88 0f 84 30 RIP: __lock_acquire+0x1d5/0x4500 kernel/locking/lockdep.c:3365 RSP: ffff8880956cf8f0 ---[ end trace 4b0aa25ccf9ad104 ]---