------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 1 PID: 20 at fs/buffer.c:1148 __brelse fs/buffer.c:1148 [inline] WARNING: CPU: 1 PID: 20 at fs/buffer.c:1148 brelse include/linux/buffer_head.h:325 [inline] WARNING: CPU: 1 PID: 20 at fs/buffer.c:1148 __invalidate_bh_lrus fs/buffer.c:1394 [inline] WARNING: CPU: 1 PID: 20 at fs/buffer.c:1148 invalidate_bh_lru+0x130/0x228 fs/buffer.c:1407 Modules linked in: CPU: 1 PID: 20 Comm: ksoftirqd/1 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __brelse fs/buffer.c:1148 [inline] pc : brelse include/linux/buffer_head.h:325 [inline] pc : __invalidate_bh_lrus fs/buffer.c:1394 [inline] pc : invalidate_bh_lru+0x130/0x228 fs/buffer.c:1407 lr : __brelse fs/buffer.c:1148 [inline] lr : brelse include/linux/buffer_head.h:325 [inline] lr : __invalidate_bh_lrus fs/buffer.c:1394 [inline] lr : invalidate_bh_lru+0x130/0x228 fs/buffer.c:1407 sp : ffff800008017df0 x29: ffff800008017df0 x28: ffff0000c0a80000 x27: ffff800008a79d10 x26: dfff800000000000 x25: 0000000000000001 x24: ffff0001b41bd298 x23: 0000000000000008 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000e62ff7a0 x19: ffff800011ccd320 x18: 0000000000010102 x17: 0000000000010102 x16: ffff800011ac23e0 x15: 00000000ffffffff x14: ffff0000c0a80000 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000010101 x10: 0000000000010101 x9 : b0442eb05fdeb400 x8 : b0442eb05fdeb400 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800008017558 x4 : ffff800014b9fae0 x3 : ffff800008557c4c x2 : 0000000000000001 x1 : 0000000100010101 x0 : 0000000000000027 Call trace: __brelse fs/buffer.c:1148 [inline] brelse include/linux/buffer_head.h:325 [inline] __invalidate_bh_lrus fs/buffer.c:1394 [inline] invalidate_bh_lru+0x130/0x228 fs/buffer.c:1407 flush_smp_call_function_queue+0x3d0/0x8c4 kernel/smp.c:628 generic_smp_call_function_single_interrupt+0x18/0x24 kernel/smp.c:544 do_handle_IPI arch/arm64/kernel/smp.c:904 [inline] ipi_handler+0x15c/0x7d4 arch/arm64/kernel/smp.c:950 handle_percpu_devid_irq+0x29c/0x7fc kernel/irq/chip.c:930 generic_handle_irq_desc include/linux/irqdesc.h:158 [inline] handle_irq_desc kernel/irq/irqdesc.c:652 [inline] handle_domain_irq+0xec/0x178 kernel/irq/irqdesc.c:707 gic_handle_irq+0x78/0x1c8 drivers/irqchip/irq-gic-v3.c:758 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:899 do_interrupt_handler+0x74/0x94 arch/arm64/kernel/entry-common.c:267 el1_interrupt+0x30/0x58 arch/arm64/kernel/entry-common.c:454 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:470 el1h_64_irq+0x78/0x7c arch/arm64/kernel/entry.S:522 preempt_count arch/arm64/include/asm/preempt.h:12 [inline] check_kcov_mode kernel/kcov.c:172 [inline] __sanitizer_cov_trace_pc+0x34/0xac kernel/kcov.c:206 walk_stackframe arch/arm64/kernel/stacktrace.c:148 [inline] arch_stack_walk+0x270/0x32c arch/arm64/kernel/stacktrace.c:238 stack_trace_save+0xfc/0x1a0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4c/0x84 mm/kasan/common.c:46 kasan_set_free_info+0x28/0x4c mm/kasan/generic.c:360 ____kasan_slab_free+0x118/0x164 mm/kasan/common.c:366 __kasan_slab_free+0x18/0x28 mm/kasan/common.c:374 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1705 [inline] slab_free_freelist_hook+0x128/0x1ec mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kmem_cache_free+0xdc/0x3c4 mm/slub.c:3515 file_free_rcu+0xb8/0x144 fs/file_table.c:50 rcu_do_batch kernel/rcu/tree.c:2523 [inline] rcu_core+0x830/0x1b34 kernel/rcu/tree.c:2763 rcu_core_si+0x10/0x1c kernel/rcu/tree.c:2776 handle_softirqs+0x384/0xdbc kernel/softirq.c:558 run_ksoftirqd+0x6c/0x29c kernel/softirq.c:925 smpboot_thread_fn+0x4b0/0x920 kernel/smpboot.c:164 kthread+0x37c/0x45c kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 irq event stamp: 1068495 hardirqs last enabled at (1068494): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (1068494): [] _raw_spin_unlock_irqrestore+0xac/0x158 kernel/locking/spinlock.c:194 hardirqs last disabled at (1068495): [] enter_el1_irq_or_nmi+0x10/0x1c arch/arm64/kernel/entry-common.c:227 softirqs last enabled at (1068124): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (1068124): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (1068129): [] run_ksoftirqd+0x6c/0x29c kernel/softirq.c:925 ---[ end trace 3234eb836184c8af ]---