------------[ cut here ]------------ WARNING: CPU: 1 PID: 9157 at drivers/net/ipvlan/ipvlan_l3s.c:148 ipvlan_unregister_nf_hook+0x2b8/0x2f0 drivers/net/ipvlan/ipvlan_l3s.c:148 Modules linked in: CPU: 1 PID: 9157 Comm: syz-executor.0 Not tainted 5.11.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ipvlan_unregister_nf_hook+0x2b8/0x2f0 drivers/net/ipvlan/ipvlan_l3s.c:148 Code: fc 48 c7 c2 c0 ff c8 89 be 2d 00 00 00 48 c7 c7 00 01 c9 89 c6 05 25 2b 4b 08 01 e8 90 fc 14 04 e9 26 fe ff ff e8 c8 a7 ce fc <0f> 0b 5b 5d 41 5c 41 5d e9 bb a7 ce fc 4c 89 e7 e8 03 68 11 fd e9 RSP: 0018:ffffc90002af70f0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888029b75340 RSI: ffffffff84a42248 RDI: 0000000000000003 RBP: ffff88801c0a0000 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff84a4211d R11: 0000000000000000 R12: ffff888015139578 R13: ffff888012d5d800 R14: 0000000000000000 R15: 0000000000000001 FS: 0000000002371940(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc7f8c65000 CR3: 0000000017c4f000 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+0x697/0xc10 drivers/net/ipvlan/ipvlan_main.c:631 __rtnl_newlink+0x108b/0x16e0 net/core/rtnetlink.c:3443 rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3491 rtnetlink_rcv_msg+0x44e/0xad0 net/core/rtnetlink.c:5553 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2494 netlink_unicast_kernel net/netlink/af_netlink.c:1304 [inline] netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1330 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:672 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2345 ___sys_sendmsg+0xf3/0x170 net/socket.c:2399 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2432 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e219 Code: 0d b4 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 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fff9740ff38 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e219 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000005 RBP: 000000000119bfc0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000ba6 R13: 0000000000000000 R14: 0000000000000003 R15: 000000000119bf8c