================================================================== BUG: KCSAN: data-race in __find_get_block / has_bh_in_lru read-write to 0xffff888237d2b650 of 8 bytes by task 8839 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_getblk+0x1c1/0x510 fs/ext4/inode.c:843 ext4_bread_batch+0x5b/0x360 fs/ext4/inode.c:910 __ext4_find_entry+0x9d3/0x10a0 fs/ext4/namei.c:1670 ext4_lookup_entry fs/ext4/namei.c:1770 [inline] ext4_lookup+0xba/0x390 fs/ext4/namei.c:1838 __lookup_slow+0x184/0x250 fs/namei.c:1692 lookup_slow+0x3c/0x60 fs/namei.c:1709 walk_component+0x1f5/0x230 fs/namei.c:2004 lookup_last fs/namei.c:2461 [inline] path_lookupat+0x10a/0x2b0 fs/namei.c:2485 filename_lookup+0x127/0x300 fs/namei.c:2514 user_path_at_empty+0x42/0x120 fs/namei.c:2921 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0x60/0x1a0 fs/xattr.c:666 __do_sys_setxattr fs/xattr.c:687 [inline] __se_sys_setxattr fs/xattr.c:683 [inline] __x64_sys_setxattr+0x6d/0x80 fs/xattr.c:683 do_syscall_64+0xd3/0x1d0 entry_SYSCALL_64_after_hwframe+0x6d/0x75 read to 0xffff888237d2b650 of 8 bytes by task 3099 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_put_super+0x51b/0x7e0 fs/ext4/super.c:1361 generic_shutdown_super+0xde/0x210 fs/super.c:641 kill_block_super+0x2a/0x70 fs/super.c:1693 ext4_kill_sb+0x44/0x80 fs/ext4/super.c:7327 deactivate_locked_super+0x7d/0x1c0 fs/super.c:472 deactivate_super+0x9f/0xb0 fs/super.c:505 cleanup_mnt+0x272/0x2e0 fs/namespace.c:1267 __cleanup_mnt+0x19/0x20 fs/namespace.c:1274 task_work_run+0x13a/0x1a0 kernel/task_work.c:180 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+0xe2/0x1d0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x6d/0x75 value changed: 0x0000000000000000 -> 0xffff8881048bb8f0 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 3099 Comm: syz-executor.1 Not tainted 6.8.0-syzkaller-13236-g5e74df2f8f15 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 ==================================================================