------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 0 PID: 4305 at fs/buffer.c:1148 __brelse fs/buffer.c:1148 [inline] WARNING: CPU: 0 PID: 4305 at fs/buffer.c:1148 brelse include/linux/buffer_head.h:325 [inline] WARNING: CPU: 0 PID: 4305 at fs/buffer.c:1148 __invalidate_bh_lrus fs/buffer.c:1394 [inline] WARNING: CPU: 0 PID: 4305 at fs/buffer.c:1148 invalidate_bh_lru+0x130/0x228 fs/buffer.c:1407 Modules linked in: CPU: 0 PID: 4305 Comm: syz.4.64 Not tainted 5.15.168-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 : ffff800008007df0 x29: ffff800008007df0 x28: ffff0000d3083680 x27: ffff800008a77f9c x26: dfff800000000000 x25: 0000000000000001 x24: ffff0001b419e298 x23: 0000000000000000 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000dd87d4e8 x19: ffff800011cbd320 x18: 0000000000010002 x17: 0000000000010002 x16: ffff80000824ebd0 x15: 0000000000000063 x14: 1ffff0000295606a x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000010002 x10: 0000000000010002 x9 : 3f560f0629458400 x8 : 3f560f0629458400 x7 : ffff80000832a09c x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : ffff80000830598c x2 : 0000000000000001 x1 : 0000000000010002 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 arch_local_irq_restore arch/arm64/include/asm/irqflags.h:122 [inline] console_unlock+0xca0/0x1394 kernel/printk/printk.c:2748 vprintk_emit+0x140/0x21c kernel/printk/printk.c:2274 vprintk_default+0xa0/0xe4 kernel/printk/printk.c:2289 vprintk+0x200/0x2d4 kernel/printk/printk_safe.c:45 _printk+0xdc/0x128 kernel/printk/printk.c:2299 set_capacity_and_notify+0x244/0x2c0 block/genhd.c:86 loop_set_size+0x4c/0xac drivers/block/loop.c:286 loop_configure+0xc30/0x111c drivers/block/loop.c:1307 lo_ioctl+0xd40/0x20d0 blkdev_ioctl+0x3d8/0xbd0 block/ioctl.c:604 block_ioctl+0xa8/0x114 block/fops.c:493 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 670 hardirqs last enabled at (669): [] console_unlock+0xc7c/0x1394 kernel/printk/printk.c:2748 hardirqs last disabled at (670): [] enter_el1_irq_or_nmi+0x10/0x1c arch/arm64/kernel/entry-common.c:227 softirqs last enabled at (552): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (550): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace 99265172a70dbb36 ]---