================================================================== BUG: KCSAN: data-race in shmem_fallocate / shmem_fault write to 0xffff88812707e2d0 of 8 bytes by task 15469 on cpu 1: shmem_fallocate+0x22e/0x860 mm/shmem.c:3507 vfs_fallocate+0x368/0x3b0 fs/open.c:327 madvise_remove mm/madvise.c:1020 [inline] madvise_vma_behavior mm/madvise.c:1255 [inline] madvise_walk_vmas mm/madvise.c:1497 [inline] do_madvise+0x14bd/0x2a70 mm/madvise.c:1684 __do_sys_madvise mm/madvise.c:1700 [inline] __se_sys_madvise mm/madvise.c:1698 [inline] __x64_sys_madvise+0x61/0x70 mm/madvise.c:1698 x64_sys_call+0x23ab/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:29 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff88812707e2d0 of 8 bytes by task 15470 on cpu 0: shmem_fault+0x97/0x250 mm/shmem.c:2549 __do_fault+0xb6/0x200 mm/memory.c:4907 do_read_fault mm/memory.c:5322 [inline] do_fault mm/memory.c:5456 [inline] do_pte_missing mm/memory.c:3979 [inline] handle_pte_fault mm/memory.c:5801 [inline] __handle_mm_fault mm/memory.c:5944 [inline] handle_mm_fault+0xe98/0x2ac0 mm/memory.c:6112 faultin_page mm/gup.c:1187 [inline] __get_user_pages+0xf2c/0x2670 mm/gup.c:1485 populate_vma_page_range mm/gup.c:1923 [inline] __mm_populate+0x25b/0x3b0 mm/gup.c:2026 mm_populate include/linux/mm.h:3386 [inline] __do_sys_remap_file_pages mm/mmap.c:1504 [inline] __se_sys_remap_file_pages+0x44c/0x770 mm/mmap.c:1391 __x64_sys_remap_file_pages+0x67/0x80 mm/mmap.c:1391 x64_sys_call+0x10b2/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:217 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000000000000 -> 0xffffc90002a67ca8 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 15470 Comm: syz.9.3677 Tainted: G W 6.13.0-rc1-syzkaller-00002-gcdd30ebb1b9f #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================