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_sendmmsg+0x3ba/0x750 net/socket.c:2553 __do_sys_sendmmsg net/socket.c:2582 [inline] __se_sys_sendmmsg net/socket.c:2579 [inline] __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2579 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: 5306 at lib/ref_tracker.c:38 spin_unlock_irqrestore include/linux/spinlock.h:404 [inline] WARNING: CPU: 1 PID: 5306 at lib/ref_tracker.c:38 ref_tracker_dir_exit+0x432/0x470 lib/ref_tracker.c:37 Modules linked in: CPU: 1 PID: 5306 Comm: syz-executor.0 Tainted: G S 5.16.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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 99 15 8d fd e9 ac fe ff ff e8 6f aa 41 fd 48 8b 1c 24 48 89 df 48 8b 74 24 18 e8 7e d7 cf 05 <0f> 0b e9 d9 fd ff ff e8 52 aa 41 fd 0f 0b e9 0d fe ff ff 89 d9 80 RSP: 0018:ffffc90002d57850 EFLAGS: 00010246 RAX: f1fe0f6308557e00 RBX: ffff88807f348150 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: dead000000000100 R08: dffffc0000000000 R09: fffffbfff1ff93e1 R10: fffffbfff1ff93e1 R11: 0000000000000000 R12: ffff88807f348198 R13: dead000000000122 R14: dffffc0000000000 R15: ffff88807f348198 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ee24000 CR3: 0000000073893000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __put_net+0x15/0x60 net/core/net_namespace.c:640 put_net include/net/net_namespace.h:268 [inline] put_net_track include/net/net_namespace.h:342 [inline] __sk_destruct+0x38e/0x5e0 net/core/sock.c:2042 tun_detach drivers/net/tun.c:693 [inline] tun_chr_close+0xed/0x130 drivers/net/tun.c:3405 __fput+0x3fc/0x870 fs/file_table.c:280 task_work_run+0x146/0x1c0 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0x705/0x2340 kernel/exit.c:832 do_group_exit+0x168/0x2d0 kernel/exit.c:929 get_signal+0x1740/0x2120 kernel/signal.c:2852 arch_do_signal_or_restart+0x9c/0x730 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x191/0x220 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:300 do_syscall_64+0x53/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fa824a64e99 Code: Unable to access opcode bytes at RIP 0x7fa824a64e6f. RSP: 002b:00007fa8233da168 EFLAGS: 00000246 ORIG_RAX: 00000000000000d0 RAX: fffffffffffffffc RBX: 00007fa824b77f60 RCX: 00007fa824a64e99 RDX: 0000000000000002 RSI: 0000000000000002 RDI: 00007fa824b59000 RBP: 00007fa824abeff1 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000200000c0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdb9b1ac9f R14: 00007fa8233da300 R15: 0000000000022000