bisecting fixing commit since b98aebd298246df37b472c52a2ee1023256d02e3 building syzkaller on 04ca72cd45348daab9d896bbec8ea4c2d13455ac testing commit b98aebd298246df37b472c52a2ee1023256d02e3 with gcc (GCC) 8.1.0 kernel signature: 3e7ab5cb197e6190616a504c6dee9d0b5bf0b096ff6818ecd0b2ddd22b827fce all runs: crashed: general protection fault in ip6_dst_destroy testing current HEAD 12cd844a39ed16aa183a820a54fe6f9a0bb4cd14 testing commit 12cd844a39ed16aa183a820a54fe6f9a0bb4cd14 with gcc (GCC) 8.1.0 kernel signature: d76155845805e400ab618863f444f4cf5cc5fdf77697648fc2d41bdf7a1a9c29 all runs: crashed: general protection fault in ip6_dst_destroy revisions tested: 2, total time: 26m43.656575704s (build: 18m27.786729321s, test: 6m56.764425665s) the crash still happens on HEAD commit msg: Linux 4.14.173 crash: general protection fault in ip6_dst_destroy IPv6: ADDRCONF(NETDEV_UP): veth1_to_bond: link is not ready IPv6: ADDRCONF(NETDEV_UP): veth0_to_team: link is not ready kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 6900 Comm: syz-executor.2 Not tainted 4.14.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880a9f66200 task.stack: ffff8880a3e20000 RIP: 0010:__lock_acquire+0x1d5/0x4500 kernel/locking/lockdep.c:3365 RSP: 0018:ffff8880aee07b30 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000003 RSI: 0000000000000000 RDI: ffffffff87916980 RBP: ffff8880aee07cf8 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: ffff8880a9f66200 R12: 0000000000000018 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 0000000001f75940(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc5f2caf88 CR3: 0000000098ea7000 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_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x31/0x40 kernel/locking/spinlock.c:176 spin_lock_bh include/linux/spinlock.h:322 [inline] rt6_uncached_list_del net/ipv6/route.c:144 [inline] ip6_dst_destroy+0x100/0x380 net/ipv6/route.c:402 dst_destroy+0xb2/0x2d0 net/core/dst.c:129 dst_destroy_rcu+0xd/0x10 net/core/dst.c:151 __rcu_reclaim kernel/rcu/rcu.h:195 [inline] rcu_do_batch kernel/rcu/tree.c:2699 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2962 [inline] __rcu_process_callbacks kernel/rcu/tree.c:2929 [inline] rcu_process_callbacks+0x7e0/0x11e0 kernel/rcu/tree.c:2946 __do_softirq+0x246/0x9b0 kernel/softirq.c:288 invoke_softirq kernel/softirq.c:368 [inline] irq_exit+0x15f/0x1a0 kernel/softirq.c:409 exiting_irq arch/x86/include/asm/apic.h:648 [inline] smp_apic_timer_interrupt+0x149/0x5d0 arch/x86/kernel/apic/apic.c:1102 apic_timer_interrupt+0x96/0xa0 arch/x86/entry/entry_64.S:792 RIP: 0010:__read_once_size include/linux/compiler.h:183 [inline] RIP: 0010:atomic64_read arch/x86/include/asm/atomic64_64.h:22 [inline] RIP: 0010:atomic_long_read include/asm-generic/atomic-long.h:45 [inline] RIP: 0010:__mutex_owner include/linux/mutex.h:71 [inline] RIP: 0010:mutex_spin_on_owner+0x23f/0x5c0 kernel/locking/mutex.c:430 RSP: 0018:ffff8880a3e276e0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10 RAX: 0000000000000000 RBX: ffff8880a5a04300 RCX: dffffc0000000002 RDX: ffff8880a5a0433c RSI: ffff8880a5a04338 RDI: 0000000000000001 RBP: ffff8880a3e27730 R08: 0000000000000010 R09: ffffffff87916a60 R10: 0000000000000028 R11: ffff8880a9f66200 R12: dffffc0000000000 R13: 0000000000000000 R14: ffffffff88230980 R15: 0000000000000000 mutex_optimistic_spin kernel/locking/mutex.c:547 [inline] __mutex_lock_common kernel/locking/mutex.c:759 [inline] __mutex_lock+0x710/0x14c0 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 rtnl_lock net/core/rtnetlink.c:72 [inline] rtnetlink_rcv_msg+0x2c1/0x9d0 net/core/rtnetlink.c:4310 netlink_rcv_skb+0x133/0x370 net/netlink/af_netlink.c:2433 rtnetlink_rcv+0x10/0x20 net/core/rtnetlink.c:4327 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline] netlink_unicast+0x40d/0x5f0 net/netlink/af_netlink.c:1313 netlink_sendmsg+0x730/0xbd0 net/netlink/af_netlink.c:1878 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:656 SYSC_sendto+0x1e3/0x2c0 net/socket.c:1763 SyS_sendto+0x9/0x10 net/socket.c:1731 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x413c33 RSP: 002b:00007ffe61805798 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000413c33 IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready RDX: 0000000000000040 RSI: 0000000000a71df0 RDI: 0000000000000003 IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready RBP: 00007ffe61805800 R08: 00007ffe618057a0 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 00007ffe61805b40 R14: 0000000000000000 R15: 0000000000000006 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 a0 32 7b 88 0f 84 30 RIP: __lock_acquire+0x1d5/0x4500 kernel/locking/lockdep.c:3365 RSP: ffff8880aee07b30 ---[ end trace 26982b4d5cf7ff08 ]---