------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 1 PID: 4229 at fs/buffer.c:1145 __brelse fs/buffer.c:1145 [inline] WARNING: CPU: 1 PID: 4229 at fs/buffer.c:1145 brelse include/linux/buffer_head.h:326 [inline] WARNING: CPU: 1 PID: 4229 at fs/buffer.c:1145 __invalidate_bh_lrus fs/buffer.c:1380 [inline] WARNING: CPU: 1 PID: 4229 at fs/buffer.c:1145 invalidate_bh_lru+0x128/0x200 fs/buffer.c:1393 Modules linked in: CPU: 1 PID: 4229 Comm: udevd Not tainted 6.1.90-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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 : ffff80001e277410 x29: ffff80001e277410 x28: ffff80001583d000 x27: ffff80019ebc7000 x26: 0000000000000001 x25: 00000000ffffffff x24: ffff0001b4389698 x23: 0000000000000000 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000df6bdee0 x19: ffff800012371c00 x18: ffff80001e276800 x17: 0000000000000000 x16: ffff8000121591d4 x15: 0000000000000000 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000ff0100 x10: 0000000000000000 x9 : b55161bd0aeced00 x8 : b55161bd0aeced00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001e276cf8 x4 : ffff800015922ae0 x3 : ffff8000085874e4 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+0x30c/0x7bc fs/file_table.c:320 ____fput+0x20/0x30 fs/file_table.c:348 task_work_run+0x240/0x2f0 kernel/task_work.c:179 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: 134820 hardirqs last enabled at (134819): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1366 [inline] hardirqs last enabled at (134819): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:5004 hardirqs last disabled at (134820): [] smp_call_function_many_cond+0x81c/0x32b8 kernel/smp.c:988 softirqs last enabled at (134574): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (134572): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---