------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 0 PID: 4016 at fs/buffer.c:1148 __brelse fs/buffer.c:1148 [inline] WARNING: CPU: 0 PID: 4016 at fs/buffer.c:1148 brelse include/linux/buffer_head.h:325 [inline] WARNING: CPU: 0 PID: 4016 at fs/buffer.c:1148 __invalidate_bh_lrus fs/buffer.c:1394 [inline] WARNING: CPU: 0 PID: 4016 at fs/buffer.c:1148 invalidate_bh_lru+0x130/0x228 fs/buffer.c:1407 Modules linked in: CPU: 0 PID: 4016 Comm: udevd Not tainted 5.15.169-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 : ffff80001fc27710 x29: ffff80001fc27710 x28: 0000000000000001 x27: dfff800000000000 x26: ffff800008a77d1c x25: 0000000000000001 x24: ffff0001b419e298 x23: 0000000000000008 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000d82c0a58 x19: ffff800011cbd320 x18: 0000000000000003 x17: 0000000000000000 x16: ffff800011ab8424 x15: 00000000ffffffff x14: ffff0000d3e3b680 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000002 x10: 0000000000000000 x9 : 510248d3ed3a7700 x8 : 510248d3ed3a7700 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001fc26e78 x4 : ffff800014b905e0 x3 : ffff800008556e88 x2 : 0000000000000001 x1 : 0000000100000002 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 smp_call_function_many_cond+0x908/0x1044 kernel/smp.c:960 on_each_cpu_cond_mask+0x5c/0xc4 kernel/smp.c:1135 on_each_cpu_cond include/linux/smp.h:105 [inline] invalidate_bh_lrus+0x34/0x40 fs/buffer.c:1426 kill_bdev block/bdev.c:76 [inline] blkdev_flush_mapping+0x164/0x324 block/bdev.c:659 blkdev_put_whole block/bdev.c:690 [inline] blkdev_put+0x498/0x6b0 block/bdev.c:954 blkdev_close+0x74/0xb0 block/fops.c:475 __fput+0x1c4/0x800 fs/file_table.c:280 ____fput+0x20/0x30 fs/file_table.c:308 task_work_run+0x130/0x1e4 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:609 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: 116012 hardirqs last enabled at (116011): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (116012): [] smp_call_function_many_cond+0x8fc/0x1044 kernel/smp.c:959 softirqs last enabled at (115888): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (115886): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace 2b6e6bbaba2c621b ]---