EXT4-fs (loop2): failed to open journal device unknown-block(4,1) -6 ================================================================== BUG: KCSAN: data-race in __find_get_block / has_bh_in_lru read-write to 0xffff888237d2b990 of 8 bytes by task 3099 on cpu 1: bh_lru_install fs/buffer.c:1340 [inline] __find_get_block+0x438/0x8c0 fs/buffer.c:1403 bdev_getblk+0x34/0x420 fs/buffer.c:1423 __getblk include/linux/buffer_head.h:355 [inline] sb_getblk include/linux/buffer_head.h:361 [inline] ext4_read_block_bitmap_nowait+0x172/0x690 fs/ext4/balloc.c:488 ext4_read_block_bitmap+0x20/0x70 fs/ext4/balloc.c:600 ext4_mb_mark_context+0x92/0x9b0 fs/ext4/mballoc.c:3986 ext4_mb_clear_bb fs/ext4/mballoc.c:6455 [inline] ext4_free_blocks+0x7eb/0x1310 fs/ext4/mballoc.c:6639 ext4_remove_blocks fs/ext4/extents.c:2521 [inline] ext4_ext_rm_leaf fs/ext4/extents.c:2686 [inline] ext4_ext_remove_space+0x1851/0x2a90 fs/ext4/extents.c:2934 ext4_ext_truncate+0xc4/0x150 fs/ext4/extents.c:4440 ext4_truncate+0x773/0xb10 fs/ext4/inode.c:4146 ext4_evict_inode+0x8b4/0xdd0 fs/ext4/inode.c:258 evict+0x1ae/0x420 fs/inode.c:667 iput_final fs/inode.c:1741 [inline] iput+0x432/0x5c0 fs/inode.c:1767 d_delete_notify include/linux/fsnotify.h:307 [inline] vfs_rmdir+0x27e/0x300 fs/namei.c:4219 do_rmdir+0x194/0x320 fs/namei.c:4265 __do_sys_unlinkat fs/namei.c:4441 [inline] __se_sys_unlinkat fs/namei.c:4435 [inline] __x64_sys_unlinkat+0xa4/0xb0 fs/namei.c:4435 x64_sys_call+0x767/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:264 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+0x77/0x7f read to 0xffff888237d2b990 of 8 bytes by task 7189 on cpu 0: has_bh_in_lru+0x35/0x1f0 fs/buffer.c:1510 smp_call_function_many_cond+0x2f6/0xc50 kernel/smp.c:808 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:1519 invalidate_bdev+0x4f/0x80 block/bdev.c:94 __ext4_fill_super fs/ext4/super.c:5674 [inline] ext4_fill_super+0x1788/0x39d0 fs/ext4/super.c:5699 get_tree_bdev+0x253/0x2e0 fs/super.c:1614 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5731 vfs_get_tree+0x56/0x1d0 fs/super.c:1779 do_new_mount+0x227/0x690 fs/namespace.c:3352 path_mount+0x49b/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 x64_sys_call+0x2591/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:166 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+0x77/0x7f value changed: 0xffff888105658750 -> 0xffff8881055de138 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 7189 Comm: syz-executor.2 Not tainted 6.9.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 ==================================================================