------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 1 PID: 4472 at fs/buffer.c:1145 __brelse fs/buffer.c:1145 [inline] WARNING: CPU: 1 PID: 4472 at fs/buffer.c:1145 brelse include/linux/buffer_head.h:326 [inline] WARNING: CPU: 1 PID: 4472 at fs/buffer.c:1145 __invalidate_bh_lrus fs/buffer.c:1380 [inline] WARNING: CPU: 1 PID: 4472 at fs/buffer.c:1145 invalidate_bh_lru+0x128/0x200 fs/buffer.c:1393 Modules linked in: CPU: 1 PID: 4472 Comm: udevd Not tainted 6.1.113-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: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 : ffff800022fa7410 x29: ffff800022fa7410 x28: ffff8000159cd000 x27: ffff0001b3d1330e x26: 0000000000000001 x25: 00000000ffffffff x24: ffff0001b3d28658 x23: 0000000000000008 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000dfb6eee0 x19: ffff8000124b3540 x18: ffff800022fa6800 x17: 0000000000000000 x16: ffff800012297cf4 x15: 0000000000000000 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000ff0100 x10: 0000000000000000 x9 : 7cd13b714e271000 x8 : 7cd13b714e271000 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800022fa6cf8 x4 : ffff800015ab3880 x3 : ffff80000858b9a4 x2 : 0000000000000001 x1 : 0000000100000002 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 smp_call_function_many_cond+0x828/0x32b8 kernel/smp.c:989 on_each_cpu_cond_mask+0x5c/0xc4 kernel/smp.c:1166 on_each_cpu_cond include/linux/smp.h:105 [inline] invalidate_bh_lrus+0x34/0x40 fs/buffer.c:1412 kill_bdev block/bdev.c:75 [inline] blkdev_flush_mapping+0x128/0x280 block/bdev.c:664 blkdev_put_whole block/bdev.c:695 [inline] blkdev_put+0x464/0x6e0 block/bdev.c:955 blkdev_close+0x58/0x94 block/fops.c:514 __fput+0x1c8/0x7c8 fs/file_table.c:320 ____fput+0x20/0x30 fs/file_table.c:348 task_work_run+0x240/0x2f0 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x2148/0x3474 arch/arm64/kernel/signal.c:1132 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x168 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 56726 hardirqs last enabled at (56725): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:242 hardirqs last disabled at (56726): [] smp_call_function_many_cond+0x81c/0x32b8 kernel/smp.c:988 softirqs last enabled at (56712): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (56710): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---