------------[ cut here ]------------ WARNING: CPU: 1 PID: 8945 at drivers/net/ipvlan/ipvlan_l3s.c:148 net_generic include/net/netns/generic.h:45 [inline] WARNING: CPU: 1 PID: 8945 at drivers/net/ipvlan/ipvlan_l3s.c:148 ipvlan_unregister_nf_hook+0x15f/0x170 drivers/net/ipvlan/ipvlan_l3s.c:146 Modules linked in: CPU: 1 PID: 8945 Comm: syz-executor.1 Not tainted 5.10.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ipvlan_unregister_nf_hook+0x15f/0x170 drivers/net/ipvlan/ipvlan_l3s.c:148 Code: 0f 85 30 ff ff ff 48 c7 c2 10 87 e8 83 be 2d 00 00 00 48 c7 c7 72 67 eb 83 c6 05 b2 44 51 02 01 e8 66 72 e0 00 e9 0c ff ff ff <0f> 0b e9 44 ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 RSP: 0018:ffffc9000497b668 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88811456d780 RCX: ffffc9000497b62c RDX: 0000000000000001 RSI: ffffffff83e895d7 RDI: 0000000000000286 RBP: ffffc9000497b680 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff888114510800 R13: 0000000000000000 R14: ffff8881145b81c0 R15: ffff88811ce56808 FS: 00007f45de45b700(0000) GS:ffff88813bd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1641d1d000 CR3: 000000011e714000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ipvlan_l3s_unregister+0x24/0x60 drivers/net/ipvlan/ipvlan_l3s.c:221 ipvlan_set_port_mode+0x184/0x190 drivers/net/ipvlan/ipvlan_main.c:37 ipvlan_link_new+0x1e1/0x350 drivers/net/ipvlan/ipvlan_main.c:629 __rtnl_newlink+0x666/0x8a0 net/core/rtnetlink.c:3441 rtnl_newlink+0x3e/0x60 net/core/rtnetlink.c:3500 rtnetlink_rcv_msg+0x173/0x480 net/core/rtnetlink.c:5562 netlink_rcv_skb+0x49/0xf0 net/netlink/af_netlink.c:2494 netlink_unicast_kernel net/netlink/af_netlink.c:1304 [inline] netlink_unicast+0x19a/0x270 net/netlink/af_netlink.c:1330 netlink_sendmsg+0x248/0x480 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0x2b/0x40 net/socket.c:671 ____sys_sendmsg+0x1ed/0x230 net/socket.c:2353 ___sys_sendmsg+0x77/0xb0 net/socket.c:2407 __sys_sendmsg+0x52/0xa0 net/socket.c:2440 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45c369 Code: 8d 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 5b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f45de45ac78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000002b740 RCX: 000000000045c369 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000004 RBP: 000000000078bf40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bf0c R13: 00007ffd2330453f R14: 00007f45de45b9c0 R15: 000000000078bf0c