loop1: detected capacity change from 0 to 512 ================================================================== BUG: KCSAN: data-race in has_bh_in_lru / invalidate_bh_lru write to 0xffff888237d2b950 of 8 bytes by task 3264 on cpu 1: __invalidate_bh_lrus fs/buffer.c:1509 [inline] invalidate_bh_lru+0x8b/0xf0 fs/buffer.c:1521 csd_do_func kernel/smp.c:134 [inline] smp_call_function_many_cond+0x690/0xc20 kernel/smp.c:847 on_each_cpu_cond_mask+0x3c/0x90 kernel/smp.c:1023 on_each_cpu_cond include/linux/smp.h:105 [inline] invalidate_bh_lrus+0x2a/0x30 fs/buffer.c:1540 invalidate_bdev+0x42/0x70 block/bdev.c:99 ext4_put_super+0x571/0x840 fs/ext4/super.c:1348 generic_shutdown_super+0xde/0x210 fs/super.c:642 kill_block_super+0x2a/0x70 fs/super.c:1685 ext4_kill_sb+0x44/0x80 fs/ext4/super.c:7289 deactivate_locked_super+0x7d/0x1c0 fs/super.c:473 deactivate_super+0x9f/0xb0 fs/super.c:506 cleanup_mnt+0x268/0x2e0 fs/namespace.c:1373 __cleanup_mnt+0x19/0x20 fs/namespace.c:1380 task_work_run+0x13a/0x1a0 kernel/task_work.c:222 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xbe/0x130 kernel/entry/common.c:218 do_syscall_64+0xd6/0x1c0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888237d2b950 of 8 bytes by task 6413 on cpu 0: has_bh_in_lru+0x35/0x1f0 fs/buffer.c:1531 smp_call_function_many_cond+0x2d5/0xc20 kernel/smp.c:809 on_each_cpu_cond_mask+0x3c/0x90 kernel/smp.c:1023 on_each_cpu_cond include/linux/smp.h:105 [inline] invalidate_bh_lrus+0x2a/0x30 fs/buffer.c:1540 kill_bdev block/bdev.c:89 [inline] set_blocksize+0x25b/0x280 block/bdev.c:172 sb_set_blocksize+0x2c/0xb0 block/bdev.c:181 ext4_load_super fs/ext4/super.c:5060 [inline] __ext4_fill_super fs/ext4/super.c:5188 [inline] ext4_fill_super+0xdca/0x39e0 fs/ext4/super.c:5664 get_tree_bdev+0x256/0x2e0 fs/super.c:1624 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5696 vfs_get_tree+0x56/0x1d0 fs/super.c:1789 do_new_mount+0x227/0x690 fs/namespace.c:3472 path_mount+0x49b/0xb30 fs/namespace.c:3799 do_mount fs/namespace.c:3812 [inline] __do_sys_mount fs/namespace.c:4020 [inline] __se_sys_mount+0x27c/0x2d0 fs/namespace.c:3997 __x64_sys_mount+0x67/0x80 fs/namespace.c:3997 x64_sys_call+0xd11/0x2e00 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0xffff88810070d138 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 6413 Comm: syz.1.904 Not tainted 6.10.0-syzkaller-12562-g1722389b0d86 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 ================================================================== EXT4-fs (loop1): couldn't mount as ext3 due to feature incompatibilities