------------[ cut here ]------------ WARNING: CPU: 0 PID: 6591 at net/ipv4/af_inet.c:156 inet_sock_destruct+0x574/0x66c net/ipv4/af_inet.c:156 Modules linked in: CPU: 0 UID: 0 PID: 6591 Comm: kworker/u8:9 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bat_events batadv_nc_worker pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : inet_sock_destruct+0x574/0x66c net/ipv4/af_inet.c:156 lr : inet_sock_destruct+0x574/0x66c net/ipv4/af_inet.c:156 sp : ffff800080007c70 x29: ffff800080007c70 x28: ffff800089634a78 x27: 0000000000000005 x26: 1fffe000192e8be2 x25: dfff800000000000 x24: 1fffe000192e8bd2 x23: 1fffe000192e8bd5 x22: 0000000000000007 x21: 0000000000000000 x20: 000000000000046b x19: ffff0000c9745e80 x18: ffff0001b36329a8 x17: ffff800123dfd000 x16: ffff800080585eb0 x15: 0000000000000001 x14: 1fffe000192e8c23 x13: 0000000000000000 x12: 0000000000000000 x11: ffff6000192e8c24 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d7740000 x7 : ffff8000804213f8 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800089fb7c64 x2 : 0000000000000000 x1 : 000000000000046b x0 : 0000000000000000 Call trace: inet_sock_destruct+0x574/0x66c net/ipv4/af_inet.c:156 (P) inet_sock_destruct+0x574/0x66c net/ipv4/af_inet.c:156 (L) inet6_sock_destruct+0x28/0x38 net/ipv6/af_inet6.c:116 __sk_destruct+0x5c/0x74c net/core/sock.c:2265 rcu_do_batch kernel/rcu/tree.c:2567 [inline] rcu_core+0x898/0x1b5c kernel/rcu/tree.c:2823 rcu_core_si+0x10/0x1c kernel/rcu/tree.c:2840 handle_softirqs+0x2e0/0xbf8 kernel/softirq.c:554 __do_softirq+0x14/0x20 kernel/softirq.c:588 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:891 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:86 invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0x1d8/0x544 kernel/softirq.c:655 irq_exit_rcu+0x14/0x84 kernel/softirq.c:671 __el1_irq arch/arm64/kernel/entry-common.c:561 [inline] el1_interrupt+0x38/0x68 arch/arm64/kernel/entry-common.c:575 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:580 el1h_64_irq+0x6c/0x70 arch/arm64/kernel/entry.S:596 __rcu_read_unlock+0xc/0x13c kernel/rcu/tree_plugin.h:430 (P) rcu_read_unlock include/linux/rcupdate.h:882 [inline] (L) batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] (L) batadv_nc_worker+0x260/0x580 net/batman-adv/network-coding.c:719 (L) process_one_work+0x7bc/0x1600 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3391 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 irq event stamp: 2205805 hardirqs last enabled at (2205804): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (2205804): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (2205805): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (2205746): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (2205746): [] batadv_nc_purge_paths+0x2f4/0x378 net/batman-adv/network-coding.c:471 softirqs last disabled at (2205753): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]---