================================================================== BUG: KCSAN: data-race in shmem_getattr / shmem_recalc_inode read-write to 0xffff88811c0fb748 of 8 bytes by task 4931 on cpu 0: shmem_recalc_inode+0x3f/0x1f0 mm/shmem.c:444 shmem_alloc_and_add_folio mm/shmem.c:2013 [inline] shmem_get_folio_gfp+0x7a8/0xd60 mm/shmem.c:2579 shmem_get_folio mm/shmem.c:2685 [inline] shmem_write_begin+0xfc/0x1f0 mm/shmem.c:3338 generic_perform_write+0x183/0x490 mm/filemap.c:4314 shmem_file_write_iter+0xc5/0xf0 mm/shmem.c:3513 __kernel_write_iter+0x319/0x590 fs/read_write.c:619 dump_emit_page fs/coredump.c:1298 [inline] dump_user_range+0xa7d/0xdb0 fs/coredump.c:1372 elf_core_dump+0x21a2/0x2330 fs/binfmt_elf.c:2111 coredump_write+0xacf/0xdf0 fs/coredump.c:1049 do_coredump fs/coredump.c:1126 [inline] vfs_coredump+0x26bc/0x3120 fs/coredump.c:1200 get_signal+0xd7b/0xf60 kernel/signal.c:3019 arch_do_signal_or_restart+0x96/0x450 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:41 [inline] exit_to_user_mode_loop+0x6a/0x6f0 kernel/entry/common.c:75 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline] do_syscall_64+0x1d3/0x2a0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff88811c0fb748 of 8 bytes by task 3316 on cpu 1: shmem_getattr+0x41/0x200 mm/shmem.c:1285 vfs_getattr_nosec+0x146/0x1e0 fs/stat.c:213 vfs_getattr+0x48/0x60 fs/stat.c:262 vfs_statx_path+0x28/0x140 fs/stat.c:299 vfs_statx+0xc4/0x170 fs/stat.c:356 vfs_fstatat+0x115/0x170 fs/stat.c:375 __do_sys_newfstatat fs/stat.c:542 [inline] __se_sys_newfstatat+0x55/0x3e0 fs/stat.c:536 __x64_sys_newfstatat+0x55/0x70 fs/stat.c:536 x64_sys_call+0x111f/0x3000 arch/x86/include/generated/asm/syscalls_64.h:263 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xc0/0x2a0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000000000362 -> 0x0000000000000367 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 3316 Comm: syz-executor Tainted: G W syzkaller #0 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 ==================================================================