------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 0 PID: 564 at fs/buffer.c:1145 __brelse fs/buffer.c:1145 [inline] WARNING: CPU: 0 PID: 564 at fs/buffer.c:1145 brelse include/linux/buffer_head.h:326 [inline] WARNING: CPU: 0 PID: 564 at fs/buffer.c:1145 __invalidate_bh_lrus fs/buffer.c:1380 [inline] WARNING: CPU: 0 PID: 564 at fs/buffer.c:1145 invalidate_bh_lru+0x128/0x200 fs/buffer.c:1393 Modules linked in: CPU: 0 PID: 564 Comm: kworker/u4:4 Not tainted 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bat_events batadv_nc_worker pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __brelse fs/buffer.c:1145 [inline] pc : brelse include/linux/buffer_head.h:326 [inline] pc : __invalidate_bh_lrus fs/buffer.c:1380 [inline] pc : invalidate_bh_lru+0x128/0x200 fs/buffer.c:1393 lr : __brelse fs/buffer.c:1145 [inline] lr : brelse include/linux/buffer_head.h:326 [inline] lr : __invalidate_bh_lrus fs/buffer.c:1380 [inline] lr : invalidate_bh_lru+0x128/0x200 fs/buffer.c:1393 sp : ffff800008007df0 x29: ffff800008007df0 x28: 0000000000000000 x27: 0000000000000000 x26: 0000000000000001 x25: 00000000ffffffff x24: ffff0001b3d07658 x23: 0000000000000008 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000df14a230 x19: ffff8000124b3500 x18: 0000000000000140 x17: 0000000000000000 x16: ffff800012295cec x15: 0000000000010004 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000ff0100 x10: 0000000000010002 x9 : 6d05f17a65cfe300 x8 : 6d05f17a65cfe300 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000080076d8 x4 : ffff800015ab30e0 x3 : ffff800008585a08 x2 : 0000000000000001 x1 : 0000000100010002 x0 : 0000000000000000 Call trace: __brelse fs/buffer.c:1145 [inline] brelse include/linux/buffer_head.h:326 [inline] __invalidate_bh_lrus fs/buffer.c:1380 [inline] invalidate_bh_lru+0x128/0x200 fs/buffer.c:1393 __flush_smp_call_function_queue+0x46c/0x1118 kernel/smp.c:641 generic_smp_call_function_single_interrupt+0x28/0x16c kernel/smp.c:557 do_handle_IPI arch/arm64/kernel/smp.c:878 [inline] ipi_handler+0x15c/0x86c arch/arm64/kernel/smp.c:924 handle_percpu_devid_irq+0x174/0x354 kernel/irq/chip.c:930 generic_handle_irq_desc include/linux/irqdesc.h:158 [inline] handle_irq_desc kernel/irq/irqdesc.c:652 [inline] generic_handle_domain_irq+0x7c/0xc4 kernel/irq/irqdesc.c:708 __gic_handle_irq drivers/irqchip/irq-gic-v3.c:744 [inline] __gic_handle_irq_from_irqson drivers/irqchip/irq-gic-v3.c:795 [inline] gic_handle_irq+0x70/0x1e4 drivers/irqchip/irq-gic-v3.c:839 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:893 do_interrupt_handler+0xd4/0x138 arch/arm64/kernel/entry-common.c:274 __el1_irq arch/arm64/kernel/entry-common.c:471 [inline] el1_interrupt+0x34/0x68 arch/arm64/kernel/entry-common.c:486 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:491 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:581 check_preemption_disabled+0x48/0x104 lib/smp_processor_id.c:55 debug_smp_processor_id+0x20/0x2c lib/smp_processor_id.c:60 rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline] rcu_is_watching+0x5c/0x18c kernel/rcu/tree.c:721 trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0x108/0xa50 kernel/locking/lockdep.c:5673 rcu_lock_release+0x2c/0x38 include/linux/rcupdate.h:355 rcu_read_unlock include/linux/rcupdate.h:824 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x260/0x580 net/batman-adv/network-coding.c:719 process_one_work+0x7ac/0x1404 kernel/workqueue.c:2292 worker_thread+0x8e4/0xfec kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864 irq event stamp: 99298 hardirqs last enabled at (99297): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline] hardirqs last enabled at (99297): [] _raw_spin_unlock_irq+0x3c/0x90 kernel/locking/spinlock.c:202 hardirqs last disabled at (99298): [] __el1_irq arch/arm64/kernel/entry-common.c:468 [inline] hardirqs last disabled at (99298): [] el1_interrupt+0x24/0x68 arch/arm64/kernel/entry-common.c:486 softirqs last enabled at (99292): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (99292): [] batadv_nc_purge_paths+0x2f4/0x378 net/batman-adv/network-coding.c:471 softirqs last disabled at (99290): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (99290): [] batadv_nc_purge_paths+0xd0/0x378 net/batman-adv/network-coding.c:442 ---[ end trace 0000000000000000 ]---