bisecting fixing commit since f8788d86ab28f61f7b46eb6be375f8a726783636 building syzkaller on 59b57593586656c1d5be820aeed0e751087e6ac6 testing commit f8788d86ab28f61f7b46eb6be375f8a726783636 with gcc (GCC) 8.1.0 kernel signature: 833f383a5493373252883e6184fb9e2cbf454ce67341e4eb2532d9c8628ec041 all runs: crashed: general protection fault in ipvlan_hard_header testing current HEAD b85051e755b0e9d6dd8f17ef1da083851b83287d testing commit b85051e755b0e9d6dd8f17ef1da083851b83287d with gcc (GCC) 8.1.0 kernel signature: bbdaaf63bb47afe8a62890241fe220491e82a3fbf00ad037befeb298c4f6e70f all runs: crashed: general protection fault in ipvlan_hard_header revisions tested: 2, total time: 20m0.778390076s (build: 12m21.466246066s, test: 6m36.007459024s) the crash still happens on HEAD commit msg: Merge tag 'fixes-for-5.7-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux crash: general protection fault in ipvlan_hard_header general protection fault, probably for non-canonical address 0xdffffc0020000069: 0000 [#1] PREEMPT SMP KASAN KASAN: probably user-memory-access in range [0x0000000100000348-0x000000010000034f] CPU: 0 PID: 8611 Comm: syz-executor.2 Not tainted 5.7.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ipvlan_hard_header+0xbf/0x1a0 drivers/net/ipvlan/ipvlan_main.c:358 Code: c4 20 5b 41 5c 5d c3 48 83 c4 20 31 c0 5b 41 5c 5d c3 48 8d be 50 03 00 00 48 b8 00 00 00 00 00 fc ff df 49 89 f8 49 c1 e8 03 <41> 80 3c 00 00 0f 85 9f 00 00 00 4c 8b 86 50 03 00 00 e9 67 ff ff RSP: 0018:ffffc90000007830 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: ffff888094b3a138 RCX: ffff888094b3a1a0 RDX: 00000000000086dd RSI: 00000000ffffffff RDI: 000000010000034f RBP: ffffc90000007860 R08: 0000000020000069 R09: 0000000000000060 R10: 1ffff11010eb2584 R11: 0000000000000000 R12: ffff88808b424480 R13: ffff888094b3a130 R14: ffff88808b424480 R15: ffff888094b3a000 FS: 00007fca68684700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8d0f4ea000 CR3: 0000000094e2b000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dev_hard_header include/linux/netdevice.h:2997 [inline] neigh_resolve_output+0x452/0x800 net/core/neighbour.c:1484 neigh_output include/net/neighbour.h:510 [inline] ip6_finish_output2+0xcc4/0x2340 net/ipv6/ip6_output.c:117 __ip6_finish_output+0x36c/0x930 net/ipv6/ip6_output.c:143 ip6_finish_output+0x27/0x170 net/ipv6/ip6_output.c:153 NF_HOOK_COND include/linux/netfilter.h:296 [inline] ip6_output+0x1e4/0x750 net/ipv6/ip6_output.c:176 dst_output include/net/dst.h:435 [inline] NF_HOOK include/linux/netfilter.h:307 [inline] mld_sendpack+0x86b/0xca0 net/ipv6/mcast.c:1682 mld_send_cr net/ipv6/mcast.c:1978 [inline] mld_ifc_timer_expire+0x36a/0x7d0 net/ipv6/mcast.c:2477 call_timer_fn+0x171/0x580 kernel/time/timer.c:1405 expire_timers kernel/time/timer.c:1450 [inline] __run_timers kernel/time/timer.c:1774 [inline] run_timer_softirq+0xd58/0x1330 kernel/time/timer.c:1787 __do_softirq+0x262/0xa02 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x19a/0x1d0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:546 [inline] smp_apic_timer_interrupt+0x1a6/0x5f0 arch/x86/kernel/apic/apic.c:1140 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:759 [inline] RIP: 0010:lock_is_held_type+0x275/0x350 kernel/locking/lockdep.c:4973 Code: b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 c1 00 00 00 48 83 3d 33 3d c1 07 00 74 31 48 8b 7d b8 57 9d <0f> 1f 44 00 00 48 83 c4 20 44 89 e0 5b 41 5c 41 5d 41 5e 41 5f 5d RSP: 0018:ffffc9000afbe9c8 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13 RAX: dffffc0000000000 RBX: ffff88809d1e6140 RCX: ffff88809d1e6a08 RDX: 1ffffffff1228ce4 RSI: ffffffff891b70a0 RDI: 0000000000000282 RBP: ffffc9000afbea10 R08: 0000000000000006 R09: fffffbfff154bf53 R10: ffffffff8aa5fa97 R11: fffffbfff154bf52 R12: 0000000000000000 R13: ffff88809d1e6140 R14: 0000000000000002 R15: ffff88809d1e6a30 lock_is_held include/linux/lockdep.h:406 [inline] ___might_sleep+0x248/0x2b0 kernel/sched/core.c:6766 get_next_corpse net/netfilter/nf_conntrack_core.c:2162 [inline] nf_ct_iterate_cleanup+0x16e/0x380 net/netfilter/nf_conntrack_core.c:2184 nf_ct_iterate_cleanup_net+0x110/0x160 net/netfilter/nf_conntrack_core.c:2269 masq_device_event+0x92/0xc0 net/netfilter/nf_nat_masquerade.c:88 notifier_call_chain+0x8a/0x160 kernel/notifier.c:83 __raw_notifier_call_chain kernel/notifier.c:361 [inline] raw_notifier_call_chain+0x11/0x20 kernel/notifier.c:368 call_netdevice_notifiers_info+0x87/0xd0 net/core/dev.c:1948 call_netdevice_notifiers_extack net/core/dev.c:1960 [inline] call_netdevice_notifiers net/core/dev.c:1974 [inline] dev_close_many+0x2b1/0x620 net/core/dev.c:1549 dev_close.part.99+0xe7/0x1a0 net/core/dev.c:1571 dev_close+0x40/0x50 net/core/dev.c:1574 team_port_add drivers/net/team/team.c:1305 [inline] team_add_slave+0xf00/0x1730 drivers/net/team/team.c:1966 do_set_master+0x18a/0x210 net/core/rtnetlink.c:2470 do_setlink+0xa2f/0x2e30 net/core/rtnetlink.c:2605 __rtnl_newlink+0xa7a/0x1480 net/core/rtnetlink.c:3266 rtnl_newlink+0x61/0x90 net/core/rtnetlink.c:3391 rtnetlink_rcv_msg+0x34a/0x8d0 net/core/rtnetlink.c:5454 netlink_rcv_skb+0x13c/0x380 net/netlink/af_netlink.c:2469 rtnetlink_rcv+0x10/0x20 net/core/rtnetlink.c:5472 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline] netlink_unicast+0x474/0x6c0 net/netlink/af_netlink.c:1329 netlink_sendmsg+0x7ab/0xd50 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:672 ____sys_sendmsg+0x609/0x950 net/socket.c:2362 ___sys_sendmsg+0xe4/0x160 net/socket.c:2416 __sys_sendmsg+0xd9/0x180 net/socket.c:2449 __do_sys_sendmsg net/socket.c:2458 [inline] __se_sys_sendmsg net/socket.c:2456 [inline] __x64_sys_sendmsg+0x73/0xb0 net/socket.c:2456 do_syscall_64+0xca/0x630 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x45c449 Code: ad 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 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fca68683c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fca686846d4 RCX: 000000000045c449 RDX: 0000000000000000 RSI: 0000000020001640 RDI: 0000000000000006 RBP: 000000000076c060 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000009f2 R14: 00000000004cc687 R15: 000000000076c06c Modules linked in: ---[ end trace 5d5786d439d60c5c ]--- RIP: 0010:ipvlan_hard_header+0xbf/0x1a0 drivers/net/ipvlan/ipvlan_main.c:358 Code: c4 20 5b 41 5c 5d c3 48 83 c4 20 31 c0 5b 41 5c 5d c3 48 8d be 50 03 00 00 48 b8 00 00 00 00 00 fc ff df 49 89 f8 49 c1 e8 03 <41> 80 3c 00 00 0f 85 9f 00 00 00 4c 8b 86 50 03 00 00 e9 67 ff ff RSP: 0018:ffffc90000007830 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: ffff888094b3a138 RCX: ffff888094b3a1a0 RDX: 00000000000086dd RSI: 00000000ffffffff RDI: 000000010000034f RBP: ffffc90000007860 R08: 0000000020000069 R09: 0000000000000060 R10: 1ffff11010eb2584 R11: 0000000000000000 R12: ffff88808b424480 R13: ffff888094b3a130 R14: ffff88808b424480 R15: ffff888094b3a000 FS: 00007fca68684700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8d0f4ea000 CR3: 0000000094e2b000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400