------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 0 PID: 4182 at fs/buffer.c:1148 __brelse fs/buffer.c:1148 [inline] WARNING: CPU: 0 PID: 4182 at fs/buffer.c:1148 brelse include/linux/buffer_head.h:325 [inline] WARNING: CPU: 0 PID: 4182 at fs/buffer.c:1148 __invalidate_bh_lrus fs/buffer.c:1394 [inline] WARNING: CPU: 0 PID: 4182 at fs/buffer.c:1148 invalidate_bh_lru+0x130/0x228 fs/buffer.c:1407 Modules linked in: CPU: 0 PID: 4182 Comm: udevd Not tainted 5.15.170-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 : ffff8000206e7710 x29: ffff8000206e7710 x28: 0000000000000001 x27: dfff800000000000 x26: ffff800008a77d5c x25: 0000000000000001 x24: ffff0001b419c298 x23: 0000000000000000 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000dc22bd10 x19: ffff800011cbd320 x18: 0000000000000003 x17: 0000000000000000 x16: ffff800011aba618 x15: 00000000ffffffff x14: ffff0000c9710000 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000002 x10: 0000000000000000 x9 : e25d39722e71ff00 x8 : e25d39722e71ff00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000206e6e78 x4 : ffff800014ba05e0 x3 : ffff800008555e80 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: 200062 hardirqs last enabled at (200061): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (200062): [] smp_call_function_many_cond+0x8fc/0x1044 kernel/smp.c:959 softirqs last enabled at (198958): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (198956): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace e68862c9692b3f3b ]---