netlink_sendmsg+0xaec/0xe60 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg net/socket.c:725 [inline] ____sys_sendmsg+0x5b9/0x910 net/socket.c:2413 ___sys_sendmsg net/socket.c:2467 [inline] __sys_sendmsg+0x280/0x370 net/socket.c:2496 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae ------------[ cut here ]------------ WARNING: CPU: 1 PID: 2430 at lib/ref_tracker.c:38 spin_unlock_irqrestore include/linux/spinlock.h:404 [inline] WARNING: CPU: 1 PID: 2430 at lib/ref_tracker.c:38 ref_tracker_dir_exit+0x432/0x470 lib/ref_tracker.c:37 Modules linked in: CPU: 1 PID: 2430 Comm: kworker/u4:5 Not tainted 5.17.0-rc3-syzkaller-00043-gf4bc5bbb5fef #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:ref_tracker_dir_exit+0x432/0x470 lib/ref_tracker.c:38 Code: c1 0f 8c b9 fe ff ff 48 89 df e8 f9 8a 8a fd e9 ac fe ff ff e8 cf e7 3e fd 48 8b 1c 24 48 89 df 48 8b 74 24 18 e8 1e e1 ce 05 <0f> 0b e9 d9 fd ff ff e8 b2 e7 3e fd 0f 0b e9 0d fe ff ff 89 d9 80 RSP: 0018:ffffc9000ac5f860 EFLAGS: 00010246 RAX: 262bb9c7724fb600 RBX: ffff88804c7025b8 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: dead000000000100 R08: dffffc0000000000 R09: fffffbfff1ffc3c6 R10: fffffbfff1ffc3c6 R11: 0000000000000000 R12: ffff88804c702600 R13: dead000000000122 R14: dffffc0000000000 R15: ffff88804c702600 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc6c0a0328 CR3: 0000000022e90000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: free_netdev+0x2c4/0x480 net/core/dev.c:10288 netdev_run_todo+0xafe/0xd00 net/core/dev.c:9964 default_device_exit_batch+0x450/0x4b0 net/core/dev.c:10946 ops_exit_list net/core/net_namespace.c:173 [inline] cleanup_net+0x80c/0xc70 net/core/net_namespace.c:597 process_one_work+0x850/0x1130 kernel/workqueue.c:2307 worker_thread+0xab1/0x1300 kernel/workqueue.c:2454 kthread+0x2a3/0x2d0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30