------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 0 PID: 287 at fs/buffer.c:1145 __brelse fs/buffer.c:1145 [inline] WARNING: CPU: 0 PID: 287 at fs/buffer.c:1145 brelse include/linux/buffer_head.h:326 [inline] WARNING: CPU: 0 PID: 287 at fs/buffer.c:1145 __invalidate_bh_lrus fs/buffer.c:1380 [inline] WARNING: CPU: 0 PID: 287 at fs/buffer.c:1145 invalidate_bh_lru+0x128/0x200 fs/buffer.c:1393 Modules linked in: CPU: 0 PID: 287 Comm: kworker/u4:5 Not tainted 6.1.89-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: bat_events batadv_purge_orig pstate: 604010c5 (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: ffff0001b4366698 x23: 0000000000000038 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000fad6b970 x19: ffff800012381bc0 x18: ffff0000dd1b1e50 x17: 0000000000000000 x16: ffff8000120adc40 x15: 0000000000010003 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000ff0100 x10: 0000000000010001 x9 : c319335795a21900 x8 : c319335795a21900 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000080076d8 x4 : ffff800015932b00 x3 : ffff80000834e968 x2 : 0000000000000001 x1 : 0000000100010001 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:876 [inline] ipi_handler+0x15c/0x86c arch/arm64/kernel/smp.c:922 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:651 [inline] generic_handle_domain_irq+0x7c/0xc4 kernel/irq/irqdesc.c:707 __gic_handle_irq drivers/irqchip/irq-gic-v3.c:737 [inline] __gic_handle_irq_from_irqson drivers/irqchip/irq-gic-v3.c:788 [inline] gic_handle_irq+0x70/0x1e4 drivers/irqchip/irq-gic-v3.c:832 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 arch_local_irq_enable arch/arm64/include/asm/irqflags.h:35 [inline] __local_bh_enable_ip+0x238/0x470 kernel/softirq.c:401 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:167 [inline] _raw_spin_unlock_bh+0x48/0x58 kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:396 [inline] batadv_purge_orig_ref+0x1150/0x122c net/batman-adv/originator.c:1259 batadv_purge_orig+0x20/0x70 net/batman-adv/originator.c:1272 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: 7506352 hardirqs last enabled at (7506351): [] __local_bh_enable_ip+0x230/0x470 kernel/softirq.c:401 hardirqs last disabled at (7506352): [] __el1_irq arch/arm64/kernel/entry-common.c:468 [inline] hardirqs last disabled at (7506352): [] el1_interrupt+0x24/0x68 arch/arm64/kernel/entry-common.c:486 softirqs last enabled at (7506350): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (7506350): [] batadv_purge_orig_ref+0x1150/0x122c net/batman-adv/originator.c:1259 softirqs last disabled at (7506348): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (7506348): [] batadv_purge_orig_ref+0x164/0x122c net/batman-adv/originator.c:1243 ---[ end trace 0000000000000000 ]---