================================================================== BUG: KCSAN: data-race in shmem_add_to_page_cache / shmem_getattr read-write to 0xffff8881052796a0 of 8 bytes by task 12058 on cpu 1: shmem_add_to_page_cache+0x4b2/0x5b0 mm/shmem.c:926 shmem_alloc_and_add_folio mm/shmem.c:1958 [inline] shmem_get_folio_gfp+0x4f3/0xd60 mm/shmem.c:2556 shmem_get_folio mm/shmem.c:2662 [inline] shmem_write_begin+0xfc/0x1f0 mm/shmem.c:3315 generic_perform_write+0x183/0x490 mm/filemap.c:4314 shmem_file_write_iter+0xc5/0xf0 mm/shmem.c:3490 __kernel_write_iter+0x319/0x590 fs/read_write.c:619 dump_emit_page fs/coredump.c:1298 [inline] dump_user_range+0x63e/0x8f0 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 0xffff8881052796a0 of 8 bytes by task 3326 on cpu 0: shmem_getattr+0x68/0x200 mm/shmem.c:1262 vfs_getattr_nosec+0x146/0x1e0 fs/stat.c:213 vfs_getattr fs/stat.c:262 [inline] vfs_statx_path fs/stat.c:299 [inline] vfs_statx+0x113/0x3b0 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: 0x0000000000000387 -> 0x0000000000000388 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 3326 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 ==================================================================