================================================================== BUG: KCSAN: data-race in generic_fillattr / generic_write_end write to 0xffff88810984aa88 of 8 bytes by task 7591 on cpu 1: i_size_write include/linux/fs.h:932 [inline] generic_write_end+0x94/0x230 fs/buffer.c:2280 ext4_da_write_end+0x49e/0x6f0 fs/ext4/inode.c:2988 generic_perform_write+0x267/0x410 mm/filemap.c:3956 ext4_buffered_write_iter+0x1f6/0x370 fs/ext4/file.c:299 ext4_file_write_iter+0x283/0x1230 __kernel_write_iter+0x162/0x3c0 fs/read_write.c:517 dump_emit_page fs/coredump.c:888 [inline] dump_user_range+0x25d/0x480 fs/coredump.c:915 elf_core_dump+0x1a85/0x1ba0 fs/binfmt_elf.c:2142 do_coredump+0x1029/0x1890 fs/coredump.c:764 get_signal+0xda3/0x1090 kernel/signal.c:2878 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:308 exit_to_user_mode_loop+0x6f/0xe0 kernel/entry/common.c:168 exit_to_user_mode_prepare+0x6c/0xb0 kernel/entry/common.c:204 irqentry_exit_to_user_mode+0x9/0x20 kernel/entry/common.c:309 irqentry_exit+0x12/0x40 kernel/entry/common.c:412 exc_general_protection+0x339/0x4c0 arch/x86/kernel/traps.c:729 asm_exc_general_protection+0x26/0x30 arch/x86/include/asm/idtentry.h:564 read to 0xffff88810984aa88 of 8 bytes by task 3117 on cpu 0: i_size_read include/linux/fs.h:910 [inline] generic_fillattr+0x147/0x430 fs/stat.c:90 ext4_getattr+0x4cb/0x4e0 fs/ext4/inode.c:5538 ext4_file_getattr+0x4a/0x160 fs/ext4/inode.c:5549 vfs_getattr_nosec fs/stat.c:172 [inline] vfs_getattr fs/stat.c:209 [inline] vfs_statx+0x266/0x430 fs/stat.c:281 vfs_fstatat fs/stat.c:315 [inline] __do_sys_newfstatat fs/stat.c:485 [inline] __se_sys_newfstatat+0x8a/0x2a0 fs/stat.c:479 __x64_sys_newfstatat+0x55/0x60 fs/stat.c:479 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x000000000101e000 -> 0x0000000001020000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 3117 Comm: syz-executor.5 Not tainted 6.5.0-syzkaller-04808-g6c1b980a7e79 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 ==================================================================