------------[ cut here ]------------ WARNING: CPU: 0 PID: 9140 at drivers/net/ipvlan/ipvlan_l3s.c:148 ipvlan_unregister_nf_hook+0x2c8/0x300 drivers/net/ipvlan/ipvlan_l3s.c:148 Modules linked in: CPU: 0 PID: 9140 Comm: syz-executor.0 Not tainted 5.13.0-rc2-next-20210518-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ipvlan_unregister_nf_hook+0x2c8/0x300 drivers/net/ipvlan/ipvlan_l3s.c:148 Code: ff e8 4c 0e bb fc 48 89 ef ba 02 00 00 00 48 c7 c6 00 01 0e 8a e8 e8 2f 95 02 5b 5d 41 5c 41 5d e9 2d 0e bb fc e8 28 0e bb fc <0f> 0b 5b 5d 41 5c 41 5d e9 1b 0e bb fc 4c 89 e7 e8 33 70 00 fd e9 RSP: 0018:ffffc90002c570c8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88802da18000 RSI: ffffffff84bac5a8 RDI: 0000000000000003 RBP: ffff888020ae0000 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff84bac41c R11: 0000000000000000 R12: ffff888021d465f0 R13: ffff8880131a2000 R14: 0000000000000000 R15: 0000000000000001 FS: 000000000150b400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0913461710 CR3: 000000001810a000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ipvlan_l3s_unregister+0xac/0x150 drivers/net/ipvlan/ipvlan_l3s.c:221 ipvlan_set_port_mode+0x41f/0x4b0 drivers/net/ipvlan/ipvlan_main.c:39 ipvlan_link_new+0x68e/0xc00 drivers/net/ipvlan/ipvlan_main.c:631 __rtnl_newlink+0x1062/0x1710 net/core/rtnetlink.c:3440 rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3488 rtnetlink_rcv_msg+0x413/0xb80 net/core/rtnetlink.c:5550 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2502 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline] netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1338 netlink_sendmsg+0x84c/0xd90 net/netlink/af_netlink.c:1927 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:674 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2350 ___sys_sendmsg+0xf3/0x170 net/socket.c:2404 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2433 do_syscall_64+0x31/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd2be991a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000005 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffd2be99340 R14: 000000000056bf80 R15: 000000000010ed35