bisecting fixing commit since 9fa690a2a016e1b55356835f047b952e67d3d73a building syzkaller on 5ed23f9aa677d71bc60f61df8e05046151868541 testing commit 9fa690a2a016e1b55356835f047b952e67d3d73a with gcc (GCC) 8.1.0 kernel signature: 9759fc9625de0dfbf529abd0a14cf23d7ef2fd89c748810fcd02aaf692a2acee all runs: crashed: general protection fault in prepare_to_wait testing current HEAD 01364dad1d4577e27a57729d41053f661bb8a5b9 testing commit 01364dad1d4577e27a57729d41053f661bb8a5b9 with gcc (GCC) 8.1.0 kernel signature: 86dc5962f8a96fd8ff070c5cee71b052fa46d3d79cf1d118272bdabff8bf6b30 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: OK run #8: OK run #9: OK revisions tested: 2, total time: 30m41.485038438s (build: 16m41.221064604s, test: 13m26.11002156s) the crash still happens on HEAD commit msg: Linux 4.14.174 crash: general protection fault in prepare_to_wait batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 kasan: CONFIG_KASAN_INLINE enabled batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! 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: 7703 Comm: syz-executor.0 Not tainted 4.14.174-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880a83322c0 task.stack: ffff888089860000 RIP: 0010:__lock_acquire+0x1d5/0x4500 kernel/locking/lockdep.c:3365 RSP: 0018:ffff8880898678f0 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000003 RSI: 0000000000000000 RDI: ffffffff87f16700 RBP: ffff888089867ac0 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: ffff8880a83322c0 R12: 0000000000000018 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 00007f2f0042a700(0000) GS:ffff8880aec00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2f003c6db8 CR3: 00000000a8724000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready 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 batman_adv: batadv0: Interface activated: batadv_slave_1 device veth1_macvtap entered promiscuous mode 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 IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready RSP: 002b:00007f2f00429c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002b RAX: ffffffffffffffda RBX: 00007f2f0042a6d4 RCX: 000000000045b349 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 000000000075c070 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000000 R14: 00000000004c1558 R15: 000000000075c07c 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 IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready 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 20 b5 e7 IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready 88 0f 84 30 RIP: __lock_acquire+0x1d5/0x4500 kernel/locking/lockdep.c:3365 RSP: ffff8880898678f0 ---[ end trace cc5665e804adf9de ]--- batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0