bisecting fixing commit since 4fccc2503536a564a4ba31a1d50439854201659f building syzkaller on 2c36e7a75f8689b3da20e1a81a2ee5391f3af6e5 testing commit 4fccc2503536a564a4ba31a1d50439854201659f with gcc (GCC) 8.4.1 20210217 kernel signature: 03a4e995f34be021e5fffb16f454055eb5f10b10c5b2c0e4656b76cbd8fcc2da all runs: crashed: general protection fault in macvlan_hard_header testing current HEAD eb575cd5d7f60241d016fdd13a9e86d962093c9b testing commit eb575cd5d7f60241d016fdd13a9e86d962093c9b with gcc (GCC) 8.4.1 20210217 kernel signature: dfa26af20060d617b2ba87566458fa96c171d2f155f3bb05ca8e63659542b8d8 all runs: crashed: general protection fault in macvlan_hard_header revisions tested: 2, total time: 25m54.215048063s (build: 17m27.684663601s, test: 8m1.563331546s) the crash still happens on HEAD commit msg: Linux 4.19.195 crash: general protection fault in macvlan_hard_header team0: Device macvtap0 is up. Set it down before adding it as a team port IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 9 Comm: ksoftirqd/0 Not tainted 4.19.195-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:dev_hard_header include/linux/netdevice.h:2883 [inline] RIP: 0010:macvlan_hard_header+0x7e/0x190 drivers/net/macvlan.c:593 Code: c1 ee 03 80 3c 06 00 0f 85 82 00 00 00 4c 8b a3 20 02 00 00 4d 85 e4 74 3a 48 b8 00 00 00 00 00 fc ff df 4c 89 e6 48 c1 ee 03 <80> 3c 06 00 0f 85 b3 00 00 00 49 8b 04 24 48 85 c0 74 16 48 89 de RSP: 0018:ffff8881f56d7728 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: ffffffff895b3420 RCX: ffff8881d64201b8 RDX: 00000000000086dd RSI: 00000006e0044006 RDI: ffffffff895b3640 RBP: ffff8881f56d7768 R08: ffff8881e7b69e90 R09: 0000000000000060 R10: 1ffff1103cd792d6 R11: 0000000000000000 R12: 0000003700220037 R13: ffff8881d78d8940 R14: ffff8881d78d8940 R15: ffff8881d6420040 FS: 0000000000000000(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff9425fe718 CR3: 000000000846d002 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dev_hard_header include/linux/netdevice.h:2886 [inline] neigh_resolve_output net/core/neighbour.c:1369 [inline] neigh_resolve_output+0x46c/0x810 net/core/neighbour.c:1354 neigh_output include/net/neighbour.h:501 [inline] ip6_finish_output2+0x8f6/0x2200 net/ipv6/ip6_output.c:120 ip6_finish_output+0x3c8/0xd20 net/ipv6/ip6_output.c:192 NF_HOOK_COND include/linux/netfilter.h:278 [inline] ip6_output+0x1bf/0x660 net/ipv6/ip6_output.c:209 dst_output include/net/dst.h:455 [inline] NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] mld_sendpack+0x87c/0xcd0 net/ipv6/mcast.c:1681 mld_send_cr net/ipv6/mcast.c:1977 [inline] mld_ifc_timer_expire+0x372/0x740 net/ipv6/mcast.c:2476 call_timer_fn+0x14c/0x510 kernel/time/timer.c:1338 expire_timers kernel/time/timer.c:1375 [inline] __run_timers kernel/time/timer.c:1696 [inline] __run_timers kernel/time/timer.c:1664 [inline] run_timer_softirq+0xb63/0x1180 kernel/time/timer.c:1709 IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready __do_softirq+0x25f/0x919 kernel/softirq.c:292 team0: Device sit1 is of different type run_ksoftirqd kernel/softirq.c:653 [inline] run_ksoftirqd+0x94/0x100 kernel/softirq.c:645 smpboot_thread_fn+0x55f/0x8a0 kernel/smpboot.c:164 kthread+0x347/0x410 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Modules linked in: ---[ end trace 5a5f203a2822b8ac ]--- RIP: 0010:dev_hard_header include/linux/netdevice.h:2883 [inline] RIP: 0010:macvlan_hard_header+0x7e/0x190 drivers/net/macvlan.c:593 Code: c1 ee 03 80 3c 06 00 0f 85 82 00 00 00 4c 8b a3 20 02 00 00 4d 85 e4 74 3a 48 b8 00 00 00 00 00 fc ff df 4c 89 e6 48 c1 ee 03 <80> 3c 06 00 0f 85 b3 00 00 00 49 8b 04 24 48 85 c0 74 16 48 89 de RSP: 0018:ffff8881f56d7728 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: ffffffff895b3420 RCX: ffff8881d64201b8 RDX: 00000000000086dd RSI: 00000006e0044006 RDI: ffffffff895b3640 RBP: ffff8881f56d7768 R08: ffff8881e7b69e90 R09: 0000000000000060 R10: 1ffff1103cd792d6 R11: 0000000000000000 R12: 0000003700220037 R13: ffff8881d78d8940 R14: ffff8881d78d8940 R15: ffff8881d6420040 FS: 0000000000000000(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff9425fe718 CR3: 000000000846d002 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400