------------[ cut here ]------------ WARNING: CPU: 1 PID: 14024 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: 14024 Comm: syz-executor.3 Not tainted 5.16.0-rc2-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 dc 0b a9 fc 48 89 ef ba 02 00 00 00 48 c7 c6 60 18 31 8a e8 98 68 9c 02 5b 5d 41 5c 41 5d e9 bd 0b a9 fc e8 b8 0b a9 fc <0f> 0b 5b 5d 41 5c 41 5d e9 ab 0b a9 fc 4c 89 e7 e8 d3 cb ef fc e9 RSP: 0018:ffffc9000326f0a8 EFLAGS: 00010216 RAX: 000000000000fa37 RBX: 0000000000000000 RCX: ffffc900104fc000 RDX: 0000000000040000 RSI: ffffffff84ce8da8 RDI: 0000000000000003 RBP: ffff8880240acec0 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff84ce8c1c R11: 0000000000000000 R12: ffff88801ee10fc8 R13: ffff88806eec0800 R14: 0000000000000000 R15: 0000000000000001 FS: 00007f4d3d8f8700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0ea1aaf000 CR3: 000000002fb87000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ipvlan_l3s_unregister+0x9e/0x140 drivers/net/ipvlan/ipvlan_l3s.c:221 ipvlan_set_port_mode+0x41f/0x4b0 drivers/net/ipvlan/ipvlan_main.c:39 ipvlan_link_new+0x65c/0xbc0 drivers/net/ipvlan/ipvlan_main.c:631 __rtnl_newlink+0x106d/0x1750 net/core/rtnetlink.c:3457 rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3505 rtnetlink_rcv_msg+0x413/0xb80 net/core/rtnetlink.c:5570 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2487 netlink_unicast_kernel net/netlink/af_netlink.c:1315 [inline] netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1341 netlink_sendmsg+0x86d/0xda0 net/netlink/af_netlink.c:1912 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:724 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2409 ___sys_sendmsg+0xf3/0x170 net/socket.c:2463 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2492 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f4d40382ae9 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:00007f4d3d8f8188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f4d40495f60 RCX: 00007f4d40382ae9 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007f4d403dcf6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff4975815f R14: 00007f4d3d8f8300 R15: 0000000000022000