================================================================== BUG: KCSAN: data-race in __find_get_block / has_bh_in_lru read-write to 0xffff888237c2bb28 of 8 bytes by task 25810 on cpu 0: bh_lru_install fs/buffer.c:1343 [inline] __find_get_block+0x434/0x8a0 fs/buffer.c:1406 bdev_getblk+0x30/0x3b0 fs/buffer.c:1431 __getblk include/linux/buffer_head.h:380 [inline] sb_getblk include/linux/buffer_head.h:386 [inline] __ext4_get_inode_loc+0x2f7/0x910 fs/ext4/inode.c:4440 ext4_get_inode_loc+0x65/0xe0 fs/ext4/inode.c:4568 ext4_xattr_ibody_get+0x99/0x430 fs/ext4/xattr.c:647 ext4_xattr_get+0xd4/0x580 fs/ext4/xattr.c:711 ext4_xattr_security_get+0x32/0x40 fs/ext4/xattr_security.c:20 __vfs_getxattr+0x29f/0x2b0 fs/xattr.c:423 get_vfs_caps_from_disk+0x9f/0x310 security/commoncap.c:655 get_file_caps security/commoncap.c:746 [inline] cap_bprm_creds_from_file+0x19e/0xc80 security/commoncap.c:898 security_bprm_creds_from_file+0x3d/0x80 security/security.c:1280 bprm_creds_from_file fs/exec.c:1673 [inline] begin_new_exec+0x207/0x10b0 fs/exec.c:1228 load_elf_binary+0x63b/0x19e0 fs/binfmt_elf.c:1002 search_binary_handler fs/exec.c:1752 [inline] exec_binprm fs/exec.c:1794 [inline] bprm_execve+0x4e6/0xc30 fs/exec.c:1845 kernel_execve+0x697/0x6d0 fs/exec.c:2012 call_usermodehelper_exec_async+0x19d/0x250 kernel/umh.c:109 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 read to 0xffff888237c2bb28 of 8 bytes by task 21953 on cpu 1: has_bh_in_lru+0x35/0x1f0 fs/buffer.c:1527 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:1536 invalidate_bdev+0x42/0x70 block/bdev.c:100 ext4_put_super+0x571/0x840 fs/ext4/super.c:1356 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:7379 deactivate_locked_super+0x7d/0x1c0 fs/super.c:473 deactivate_super+0x9f/0xb0 fs/super.c:506 cleanup_mnt+0x268/0x2e0 fs/namespace.c:1373 __cleanup_mnt+0x19/0x20 fs/namespace.c:1380 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: 0xffff8881064ff068 -> 0xffff888100608bc8 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 21953 Comm: syz-executor Not tainted 6.12.0-syzkaller-01782-gbf9aa14fc523 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 ==================================================================