loop0: detected capacity change from 0 to 512 ================================================================== BUG: KCSAN: data-race in has_bh_in_lru / invalidate_bh_lru write to 0xffff888237d2a710 of 8 bytes by task 4766 on cpu 1: __invalidate_bh_lrus fs/buffer.c:1488 [inline] invalidate_bh_lru+0x8c/0xf0 fs/buffer.c:1500 csd_do_func kernel/smp.c:133 [inline] smp_call_function_many_cond+0x697/0xc30 kernel/smp.c:846 on_each_cpu_cond_mask+0x3c/0x80 kernel/smp.c:1023 on_each_cpu_cond include/linux/smp.h:105 [inline] invalidate_bh_lrus+0x2a/0x30 fs/buffer.c:1519 kill_bdev block/bdev.c:78 [inline] set_blocksize+0x260/0x290 block/bdev.c:155 sb_set_blocksize+0x2d/0xb0 block/bdev.c:164 ext4_load_super fs/ext4/super.c:5099 [inline] __ext4_fill_super fs/ext4/super.c:5227 [inline] ext4_fill_super+0xad5/0x39b0 fs/ext4/super.c:5703 get_tree_bdev+0x250/0x2e0 fs/super.c:1614 ext4_get_tree+0x1c/0x20 fs/ext4/super.c:5735 vfs_get_tree+0x53/0x1d0 fs/super.c:1779 do_new_mount+0x227/0x690 fs/namespace.c:3352 path_mount+0x496/0xb30 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3875 __x64_sys_mount+0x67/0x80 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff888237d2a710 of 8 bytes by task 4767 on cpu 0: has_bh_in_lru+0x35/0x1e0 fs/buffer.c:1510 smp_call_function_many_cond+0x2e4/0xc30 kernel/smp.c:808 on_each_cpu_cond_mask+0x3c/0x80 kernel/smp.c:1023 on_each_cpu_cond include/linux/smp.h:105 [inline] invalidate_bh_lrus+0x2a/0x30 fs/buffer.c:1519 kill_bdev block/bdev.c:78 [inline] set_blocksize+0x260/0x290 block/bdev.c:155 sb_set_blocksize+0x2d/0xb0 block/bdev.c:164 ext4_load_super fs/ext4/super.c:5099 [inline] __ext4_fill_super fs/ext4/super.c:5227 [inline] ext4_fill_super+0xad5/0x39b0 fs/ext4/super.c:5703 get_tree_bdev+0x250/0x2e0 fs/super.c:1614 ext4_get_tree+0x1c/0x20 fs/ext4/super.c:5735 vfs_get_tree+0x53/0x1d0 fs/super.c:1779 do_new_mount+0x227/0x690 fs/namespace.c:3352 path_mount+0x496/0xb30 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3875 __x64_sys_mount+0x67/0x80 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0xffff8881006e81a0 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 4767 Comm: syz-executor.0 Not tainted 6.8.0-rc6-syzkaller-00011-g45ec2f5f6ed3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 ================================================================== EXT4-fs (loop0): 1 orphan inode deleted ext4 filesystem being mounted at /root/syzkaller-testdir104219095/syzkaller.5afyI8/2289/file1 supports timestamps until 2038-01-19 (0x7fffffff)