bisecting fixing commit since d183c8e2647a7d45202c14a33631f6c09020f8ac building syzkaller on dd56146d2611f7de0fbb7d8db6c016d3dcdc6371 testing commit d183c8e2647a7d45202c14a33631f6c09020f8ac with gcc (GCC) 8.1.0 kernel signature: 5b2e7b1fd0542f322846d4543cc698d197ce1829c77d7f3f19e1f1175bb41940 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: crashed: general protection fault in prepare_to_wait run #9: OK testing current HEAD dce0f88600e49746b4bda873965b671a23ff4313 testing commit dce0f88600e49746b4bda873965b671a23ff4313 with gcc (GCC) 8.1.0 kernel signature: 90e9c7421d448c4a0097e40aabe744b97adafbbeca88464be328dcc1008f224b 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: OK run #7: OK run #8: OK run #9: OK revisions tested: 2, total time: 40m23.308344618s (build: 19m27.723336943s, test: 19m38.808526019s) the crash still happens on HEAD commit msg: Linux 4.19.132 crash: general protection fault in prepare_to_wait IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready device veth1_vlan entered promiscuous mode kasan: CONFIG_KASAN_INLINE enabled IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 7773 Comm: syz-executor.3 Not tainted 4.19.132-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__lock_acquire+0x1e0/0x4980 kernel/locking/lockdep.c:3294 Code: 28 00 00 00 0f 85 2a 30 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 ea 48 c1 ea 03 <80> 3c 02 00 0f 85 28 32 00 00 49 81 7d 00 60 25 5d 89 0f 84 4a ff IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready RSP: 0018:ffff88808f617900 EFLAGS: 00010006 IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000003 RSI: 0000000000000000 RDI: ffffffff88520b00 RBP: ffff88808f617af0 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000018 R14: ffff8880a55483c0 R15: 0000000000000000 FS: 00007f2e3547a700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000075c000 CR3: 000000009258d000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready lock_acquire+0x173/0x3d0 kernel/locking/lockdep.c:3907 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x99/0xd0 kernel/locking/spinlock.c:152 prepare_to_wait+0x90/0x310 kernel/sched/wait.c:230 IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready nr_accept+0x1b0/0x640 net/netrom/af_netrom.c:796 __sys_accept4+0x32b/0x6b0 net/socket.c:1589 IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready __do_sys_accept net/socket.c:1630 [inline] __se_sys_accept net/socket.c:1627 [inline] __x64_sys_accept+0x70/0xb0 net/socket.c:1627 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready RIP: 0033:0x45b3c9 Code: 2d b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 fb b5 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f2e35479c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002b RAX: ffffffffffffffda RBX: 00007f2e3547a6d4 RCX: 000000000045b3c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000000 R14: 00000000004c15d8 R15: 000000000075bfd4 Modules linked in: ---[ end trace 03f161201100c15f ]--- RIP: 0010:__lock_acquire+0x1e0/0x4980 kernel/locking/lockdep.c:3294 Code: 28 00 00 00 0f 85 2a 30 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 ea 48 c1 ea 03 <80> 3c 02 00 0f 85 28 32 00 00 49 81 7d 00 60 25 5d 89 0f 84 4a ff RSP: 0018:ffff88808f617900 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000003 RSI: 0000000000000000 RDI: ffffffff88520b00 RBP: ffff88808f617af0 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000018 R14: ffff8880a55483c0 R15: 0000000000000000 IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready FS: 00007f2e3547a700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000075c000 CR3: 000000009258d000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400