EXT4-fs (loop5): unmounting filesystem 00000000-0000-0000-0000-000000000000. ================================================================== BUG: KCSAN: data-race in shmem_add_to_page_cache / shmem_getattr read-write to 0xffff888118d5aaf8 of 8 bytes by task 20546 on cpu 0: shmem_add_to_page_cache+0x37f/0x490 mm/shmem.c:914 shmem_alloc_and_add_folio mm/shmem.c:1915 [inline] shmem_get_folio_gfp+0x4e8/0xd60 mm/shmem.c:2529 shmem_get_folio mm/shmem.c:2635 [inline] shmem_write_begin+0xa8/0x190 mm/shmem.c:3285 generic_perform_write+0x181/0x490 mm/filemap.c:4112 shmem_file_write_iter+0xc5/0xf0 mm/shmem.c:3460 __kernel_write_iter+0x256/0x4c0 fs/read_write.c:619 dump_emit_page fs/coredump.c:1112 [inline] dump_user_range+0x407/0x8c0 fs/coredump.c:1186 elf_core_dump+0x1dc2/0x1f80 fs/binfmt_elf.c:2075 do_coredump+0x1dfd/0x27b0 fs/coredump.c:950 get_signal+0xd85/0xf70 kernel/signal.c:3019 arch_do_signal_or_restart+0x96/0x480 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] irqentry_exit_to_user_mode+0x5e/0xa0 kernel/entry/common.c:184 irqentry_exit+0x12/0x50 kernel/entry/common.c:287 exc_general_protection+0x15b/0x1f0 arch/x86/kernel/traps.c:792 asm_exc_general_protection+0x26/0x30 arch/x86/include/asm/idtentry.h:617 read to 0xffff888118d5aaf8 of 8 bytes by task 13565 on cpu 1: shmem_getattr+0x68/0x200 mm/shmem.c:1250 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/0x390 fs/stat.c:356 vfs_fstatat+0x115/0x170 fs/stat.c:375 __do_sys_newfstatat fs/stat.c:542 [inline] __se_sys_newfstatat+0x55/0x260 fs/stat.c:536 __x64_sys_newfstatat+0x55/0x70 fs/stat.c:536 x64_sys_call+0x2c22/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:263 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000000000581 -> 0x0000000000000582 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 13565 Comm: syz-executor Not tainted 6.15.0-syzkaller-11121-gfe4281644c62 #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 ==================================================================