__sys_sendmsg+0xe5/0x1b0 net/socket.c:2496 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c ------------[ cut here ]------------ WARNING: CPU: 1 PID: 12590 at lib/ref_tracker.c:38 spin_unlock_irqrestore include/linux/spinlock.h:404 [inline] WARNING: CPU: 1 PID: 12590 at lib/ref_tracker.c:38 ref_tracker_dir_exit.cold+0x137/0x1e3 lib/ref_tracker.c:37 Modules linked in: CPU: 1 PID: 12590 Comm: kworker/u16:1 Not tainted 5.16.0-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Workqueue: bat_events batadv_nc_worker RIP: 0010:ref_tracker_dir_exit.cold+0x137/0x1e3 lib/ref_tracker.c:38 Code: 4c 89 ef e8 4b 57 a7 f8 4c 8b 3c 24 4c 39 fd 49 8b 07 0f 85 b5 00 00 00 e8 46 1b 60 f8 48 8b 74 24 10 4c 89 e7 e8 99 15 37 00 <0f> 0b e9 e5 5e e7 fa 4c 89 ff e8 1a 57 a7 f8 e9 d4 fe ff ff e8 00 RSP: 0018:ffffc90000508be0 EFLAGS: 00010206 RAX: 0000000000000100 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000101 RSI: 0000000000000101 RDI: 0000000000000001 RBP: ffff88804c898198 R08: 0000000000000001 R09: ffffffff8ffc8b17 R10: 0000000000000001 R11: 0000000000088078 R12: ffff88804c898150 R13: ffff88804c898198 R14: ffff88804c898198 R15: ffff88804c898198 FS: 0000000000000000(0000) GS:ffff88802cb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000000 CR3: 000000006692a000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __put_net+0x15/0x70 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+0x6d2/0x920 net/core/sock.c:2042 sk_destruct+0xbd/0xe0 net/core/sock.c:2058 __sk_free+0xef/0x3d0 net/core/sock.c:2069 sk_free+0x78/0xa0 net/core/sock.c:2080 sock_put include/net/sock.h:1912 [inline] tcp_write_timer+0x247/0x2b0 net/ipv4/tcp_timer.c:649 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers.part.0+0x67c/0xa30 kernel/time/timer.c:1734 __run_timers kernel/time/timer.c:1715 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:lock_acquire+0x1ef/0x510 kernel/locking/lockdep.c:5607 Code: 35 a5 7e 83 f8 01 0f 85 b4 02 00 00 9c 58 f6 c4 02 0f 85 9f 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc900042c7ba8 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff92000858f77 RCX: 8812ad1561efe3da RDX: 1ffff1100272914b RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8ffc8a47 R10: fffffbfff1ff9148 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff8bb85320 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:268 [inline] rcu_read_lock include/linux/rcupdate.h:694 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x12d/0xfa0 net/batman-adv/network-coding.c:719 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307 worker_thread+0x657/0x1110 kernel/workqueue.c:2454 kthread+0x2e9/0x3a0 kernel/kthread.c:359 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 35 a5 7e 83 f8 xor $0xf8837ea5,%eax 5: 01 0f add %ecx,(%rdi) 7: 85 b4 02 00 00 9c 58 test %esi,0x589c0000(%rdx,%rax,1) e: f6 c4 02 test $0x2,%ah 11: 0f 85 9f 02 00 00 jne 0x2b6 17: 48 83 7c 24 08 00 cmpq $0x0,0x8(%rsp) 1d: 74 01 je 0x20 1f: fb sti 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 48 01 c3 add %rax,%rbx <-- trapping instruction 2d: 48 c7 03 00 00 00 00 movq $0x0,(%rbx) 34: 48 c7 43 08 00 00 00 movq $0x0,0x8(%rbx) 3b: 00 3c: 48 rex.W 3d: 8b .byte 0x8b 3e: 84 .byte 0x84 3f: 24 .byte 0x24