------------[ cut here ]------------
WARNING: CPU: 1 PID: 155 at net/ipv4/af_inet.c:157 inet_sock_destruct+0x64d/0x740
Modules linked in:
CPU: 1 PID: 155 Comm: kworker/u4:3 Not tainted 5.15.171-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: bat_events batadv_nc_worker
RIP: 0010:inet_sock_destruct+0x64d/0x740 net/ipv4/af_inet.c:157
Code: 01 e8 17 e1 99 f8 0f 0b e9 61 fe ff ff e8 0b e1 99 f8 0f 0b e9 96 fe ff ff e8 ff e0 99 f8 0f 0b e9 be fe ff ff e8 f3 e0 99 f8 <0f> 0b e9 e6 fe ff ff 89 d9 80 e1 07 fe c1 38 c1 0f 8c 5b fd ff ff
RSP: 0018:ffffc90000dd0c28 EFLAGS: 00010246
RAX: ffffffff88e692bd RBX: 0000000000000100 RCX: ffff88801c231dc0
RDX: 0000000000000100 RSI: 0000000000000100 RDI: 0000000000000000
RBP: 0000000000000007 R08: ffffffff88e6919d R09: ffffed10057746b0
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802bba3300
R13: ffff88802bba3808 R14: dffffc0000000000 R15: ffff88802bba3312
FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc00fda06c0 CR3: 000000006689d000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: fffffffffffffff7 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__sk_destruct+0x54/0x840 net/core/sock.c:1955
rcu_do_batch kernel/rcu/tree.c:2523 [inline]
rcu_core+0xa15/0x1650 kernel/rcu/tree.c:2763
handle_softirqs+0x3a7/0x930 kernel/softirq.c:558
do_softirq+0x162/0x240 kernel/softirq.c:459
__local_bh_enable_ip+0x1b1/0x1f0 kernel/softirq.c:383
spin_unlock_bh include/linux/spinlock.h:408 [inline]
batadv_nc_purge_paths+0x30e/0x3b0 net/batman-adv/network-coding.c:475
batadv_nc_worker+0x2cf/0x5b0 net/batman-adv/network-coding.c:724
process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287