------------[ cut here ]------------ refcount_t: decrement hit 0; leaking memory. WARNING: CPU: 1 PID: 27259 at lib/refcount.c:31 refcount_warn_saturate+0xbf/0x1e0 lib/refcount.c:31 Modules linked in: CPU: 1 PID: 27259 Comm: syz-executor.1 Not tainted 5.16.0-rc2-next-20211125-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:refcount_warn_saturate+0xbf/0x1e0 lib/refcount.c:31 Code: 1d dc ee 99 09 31 ff 89 de e8 4d 1b 95 fd 84 db 75 e0 e8 64 17 95 fd 48 c7 c7 60 7e 04 8a c6 05 bc ee 99 09 01 e8 17 03 28 05 <0f> 0b eb c4 e8 48 17 95 fd 0f b6 1d ab ee 99 09 31 ff 89 de e8 18 RSP: 0018:ffffc9000e0075d8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff815f3208 RDI: fffff52001c00ead RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815ecfae R11: 0000000000000000 R12: ffff888076a7c5b0 R13: ffff88807b6445b8 R14: ffff888076a7c5c0 R15: ffff88808448c5b8 FS: 00007f1e2d6ff700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9a8fc10eb0 CR3: 000000008648e000 CR4: 00000000003526f0 Call Trace: __refcount_dec include/linux/refcount.h:344 [inline] refcount_dec include/linux/refcount.h:359 [inline] dev_put include/linux/netdevice.h:3815 [inline] linkwatch_do_dev+0x134/0x150 net/core/link_watch.c:169 linkwatch_forget_dev+0x16a/0x200 net/core/link_watch.c:238 netdev_wait_allrefs net/core/dev.c:9817 [inline] netdev_run_todo+0x402/0xa80 net/core/dev.c:9934 rtnl_unlock net/core/rtnetlink.c:112 [inline] rtnetlink_rcv_msg+0x420/0xb80 net/core/rtnetlink.c:5571 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:0x7f1e301aaae9 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:00007f1e2d6ff188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f1e302be020 RCX: 00007f1e301aaae9 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000004 RBP: 00007f1e30204f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffde8464f4f R14: 00007f1e2d6ff300 R15: 0000000000022000