================================================================== BUG: KCSAN: data-race in __find_get_block / has_bh_in_lru read-write to 0xffff888237c2ba28 of 8 bytes by task 16189 on cpu 0: bh_lru_install fs/buffer.c:1337 [inline] __find_get_block+0x434/0x8a0 fs/buffer.c:1400 __getblk_slow fs/buffer.c:1127 [inline] bdev_getblk+0x139/0x3b0 fs/buffer.c:1431 __getblk include/linux/buffer_head.h:380 [inline] sb_getblk include/linux/buffer_head.h:386 [inline] ext4_read_block_bitmap_nowait+0x165/0x680 fs/ext4/balloc.c:488 ext4_mb_prefetch+0x181/0x250 fs/ext4/mballoc.c:2749 ext4_mb_regular_allocator+0x790/0x2390 fs/ext4/mballoc.c:2898 ext4_mb_new_blocks+0x801/0x2020 fs/ext4/mballoc.c:6217 ext4_ext_map_blocks+0x1008/0x35c0 fs/ext4/extents.c:4379 ext4_map_create_blocks fs/ext4/inode.c:516 [inline] ext4_map_blocks+0x5aa/0xd20 fs/ext4/inode.c:702 ext4_getblk+0x11f/0x530 fs/ext4/inode.c:849 ext4_bread+0x2c/0x110 fs/ext4/inode.c:912 ext4_quota_write+0x15a/0x370 fs/ext4/super.c:7285 write_blk+0x93/0x110 fs/quota/quota_tree.c:70 do_insert_tree+0x799/0x960 fs/quota/quota_tree.c:407 do_insert_tree+0x6ef/0x960 fs/quota/quota_tree.c:402 do_insert_tree+0x6ef/0x960 fs/quota/quota_tree.c:402 do_insert_tree+0x6ef/0x960 fs/quota/quota_tree.c:402 dq_insert_tree fs/quota/quota_tree.c:432 [inline] qtree_write_dquot+0x2e4/0x320 fs/quota/quota_tree.c:451 v2_write_dquot+0xd3/0x130 fs/quota/quota_v2.c:372 dquot_acquire+0x1ba/0x2b0 fs/quota/dquot.c:470 ext4_acquire_dquot+0x170/0x210 fs/ext4/super.c:6934 dqget+0x522/0x8b0 fs/quota/dquot.c:975 __dquot_initialize+0x26d/0x760 fs/quota/dquot.c:1503 dquot_initialize+0x1a/0x20 fs/quota/dquot.c:1565 ext4_process_orphan+0x32/0x1c0 fs/ext4/orphan.c:329 ext4_orphan_cleanup+0x696/0x9e0 fs/ext4/orphan.c:474 __ext4_fill_super fs/ext4/super.c:5610 [inline] ext4_fill_super+0x36bb/0x3a10 fs/ext4/super.c:5733 get_tree_bdev_flags+0x29f/0x310 fs/super.c:1636 get_tree_bdev+0x1f/0x30 fs/super.c:1659 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5765 vfs_get_tree+0x56/0x1e0 fs/super.c:1814 do_new_mount+0x227/0x690 fs/namespace.c:3507 path_mount+0x49b/0xb30 fs/namespace.c:3834 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4057 [inline] __se_sys_mount+0x27c/0x2d0 fs/namespace.c:4034 __x64_sys_mount+0x67/0x80 fs/namespace.c:4034 x64_sys_call+0x2c84/0x2dc0 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 read to 0xffff888237c2ba28 of 8 bytes by task 12951 on cpu 1: has_bh_in_lru+0x35/0x1f0 fs/buffer.c:1521 smp_call_function_many_cond+0x2d5/0xc20 kernel/smp.c:837 on_each_cpu_cond_mask+0x3c/0x90 kernel/smp.c:1051 on_each_cpu_cond include/linux/smp.h:105 [inline] invalidate_bh_lrus+0x2a/0x30 fs/buffer.c:1530 kill_bdev block/bdev.c:90 [inline] blkdev_flush_mapping+0x9b/0x1a0 block/bdev.c:671 blkdev_put_whole block/bdev.c:678 [inline] bdev_release+0x2f9/0x420 block/bdev.c:1103 blkdev_release+0x15/0x20 block/fops.c:635 __fput+0x17a/0x6d0 fs/file_table.c:450 ____fput+0x1c/0x30 fs/file_table.c:478 task_work_run+0x13a/0x1a0 kernel/task_work.c:239 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:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xa8/0x120 kernel/entry/common.c:218 do_syscall_64+0xd6/0x1c0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0xffff88812c838ea0 -> 0xffff88812c838f70 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 12951 Comm: syz-executor Not tainted 6.12.0-syzkaller-12128-gf788b5ef1ca9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================