packet_bind+0x152/0x1b0 net/packet/af_packet.c:3298 __sys_bind+0x1e9/0x250 net/socket.c:1697 __do_sys_bind net/socket.c:1708 [inline] __se_sys_bind net/socket.c:1706 [inline] __x64_sys_bind+0x6f/0xb0 net/socket.c:1706 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 freed in: netdev_tracker_free include/linux/netdevice.h:3867 [inline] dev_put_track include/linux/netdevice.h:3884 [inline] dev_put_track include/linux/netdevice.h:3880 [inline] packet_do_bind+0x52b/0xc70 net/packet/af_packet.c:3239 packet_bind+0x152/0x1b0 net/packet/af_packet.c:3298 __sys_bind+0x1e9/0x250 net/socket.c:1697 __do_sys_bind net/socket.c:1708 [inline] __se_sys_bind net/socket.c:1706 [inline] __x64_sys_bind+0x6f/0xb0 net/socket.c:1706 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 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 2389 at lib/ref_tracker.c:120 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] WARNING: CPU: 1 PID: 2389 at lib/ref_tracker.c:120 ref_tracker_free.cold+0x110/0x14e lib/ref_tracker.c:119 Modules linked in: CPU: 1 PID: 2389 Comm: syz-executor.5 Not tainted 5.16.0-rc8-next-20220107-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ref_tracker_free.cold+0x110/0x14e lib/ref_tracker.c:120 Code: ea 03 48 c1 e0 2a 0f b6 04 02 84 c0 74 04 3c 03 7e 4c 8b 7b 18 e8 fd 30 e7 fa e8 d8 83 54 f8 4c 89 ee 48 89 ef e8 0d 20 37 00 <0f> 0b 41 bd ea ff ff ff e9 4f 3d e7 fa 4c 89 f7 e8 a8 73 9f f8 e9 RSP: 0018:ffffc90004b77c10 EFLAGS: 00010202 RAX: 0000000000000001 RBX: ffff88807d1cde80 RCX: 0000000000000000 RDX: 0000000000000002 RSI: 0000000000000002 RDI: 0000000000000001 RBP: ffff88807a4565b8 R08: 0000000000000001 R09: ffffffff8ffcba07 R10: 0000000000000001 R11: 0000000000000000 R12: 1ffff9200096ef84 R13: 0000000000000286 R14: ffff88807d1cde98 R15: 00000000cda00311 FS: 0000555556583400(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb13d032718 CR3: 000000003fb9c000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: netdev_tracker_free include/linux/netdevice.h:3867 [inline] dev_put_track include/linux/netdevice.h:3884 [inline] dev_put_track include/linux/netdevice.h:3880 [inline] packet_release+0x382/0xd00 net/packet/af_packet.c:3113 __sock_release+0xcd/0x280 net/socket.c:650 sock_close+0x18/0x20 net/socket.c:1318 __fput+0x286/0x9f0 fs/file_table.c:311 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fb13e6f3adb Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007ffe0e2a2d30 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007fb13e6f3adb RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000003 RBP: 00007fb13e855960 R08: 0000000000000000 R09: 00007fb13e8588e8 R10: 0000000000000000 R11: 0000000000000293 R12: 000000000009da13 R13: 00007fb13e858c70 R14: 00007fb13e8542a0 R15: 0000000000000004