================================================================== BUG: KCSAN: data-race in __find_get_block / has_bh_in_lru read-write to 0xffff888237c26b30 of 8 bytes by task 6386 on cpu 0: bh_lru_install fs/buffer.c:1337 [inline] __find_get_block+0x430/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:379 [inline] sb_getblk include/linux/buffer_head.h:385 [inline] __ext4_get_inode_loc+0x328/0x9a0 fs/ext4/inode.c:4455 __ext4_get_inode_loc_noinmem fs/ext4/inode.c:4568 [inline] __ext4_iget+0x312/0x1ee0 fs/ext4/inode.c:4815 ext4_orphan_get+0x159/0x400 fs/ext4/ialloc.c:1390 ext4_orphan_cleanup+0x5e3/0x9f0 fs/ext4/orphan.c:467 __ext4_fill_super fs/ext4/super.c:5607 [inline] ext4_fill_super+0x3215/0x3580 fs/ext4/super.c:5726 get_tree_bdev_flags+0x2b4/0x330 fs/super.c:1636 get_tree_bdev+0x1f/0x30 fs/super.c:1659 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5758 vfs_get_tree+0x56/0x1e0 fs/super.c:1759 do_new_mount+0x246/0x6b0 fs/namespace.c:3881 path_mount+0x49b/0xb30 fs/namespace.c:4208 do_mount fs/namespace.c:4221 [inline] __do_sys_mount fs/namespace.c:4432 [inline] __se_sys_mount+0x28f/0x2e0 fs/namespace.c:4409 __x64_sys_mount+0x67/0x80 fs/namespace.c:4409 x64_sys_call+0xd11/0x2e10 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888237c26b30 of 8 bytes by task 3302 on cpu 1: has_bh_in_lru+0x35/0x1f0 fs/buffer.c:1521 cpu_needs_drain mm/swap.c:780 [inline] __lru_add_drain_all+0x23f/0x3f0 mm/swap.c:867 lru_add_drain_all+0x10/0x20 mm/swap.c:883 invalidate_bdev+0x47/0x70 block/bdev.c:101 ext4_put_super+0x65b/0x910 fs/ext4/super.c:1343 generic_shutdown_super+0xe5/0x220 fs/super.c:642 kill_block_super+0x2a/0x70 fs/super.c:1710 ext4_kill_sb+0x44/0x80 fs/ext4/super.c:7393 deactivate_locked_super+0x7d/0x1c0 fs/super.c:473 deactivate_super+0x9f/0xb0 fs/super.c:506 cleanup_mnt+0x26e/0x2e0 fs/namespace.c:1435 __cleanup_mnt+0x19/0x20 fs/namespace.c:1442 task_work_run+0x13c/0x1b0 kernel/task_work.c:227 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/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000000000000 -> 0xffff88811dc8aaf8 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 3302 Comm: syz-executor Not tainted 6.15.0-rc2-syzkaller-00048-gc62f4b82d571 #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 ==================================================================