================================================================== BUG: KCSAN: data-race in shmem_fallocate / shmem_fault write to 0xffff88811509d448 of 8 bytes by task 20022 on cpu 1: shmem_fallocate+0x32c/0x860 mm/shmem.c:3280 vfs_fallocate+0x392/0x3e0 fs/open.c:334 madvise_remove mm/madvise.c:1012 [inline] madvise_vma_behavior mm/madvise.c:1036 [inline] madvise_walk_vmas mm/madvise.c:1271 [inline] do_madvise+0x1177/0x2620 mm/madvise.c:1467 __do_sys_madvise mm/madvise.c:1484 [inline] __se_sys_madvise mm/madvise.c:1482 [inline] __x64_sys_madvise+0x61/0x70 mm/madvise.c:1482 x64_sys_call+0x2320/0x2d60 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 0xffff88811509d448 of 8 bytes by task 20023 on cpu 0: shmem_fault+0x9d/0x260 mm/shmem.c:2385 __do_fault+0xb6/0x200 mm/memory.c:4655 do_read_fault mm/memory.c:5061 [inline] do_fault mm/memory.c:5191 [inline] do_pte_missing mm/memory.c:3947 [inline] handle_pte_fault mm/memory.c:5522 [inline] __handle_mm_fault mm/memory.c:5665 [inline] handle_mm_fault+0xe2a/0x2940 mm/memory.c:5833 faultin_page mm/gup.c:1194 [inline] __get_user_pages+0x499/0x10d0 mm/gup.c:1493 populate_vma_page_range mm/gup.c:1932 [inline] __mm_populate+0x25b/0x3b0 mm/gup.c:2035 mm_populate include/linux/mm.h:3415 [inline] vm_mmap_pgoff+0x1d6/0x290 mm/util.c:593 ksys_mmap_pgoff+0xd0/0x340 mm/mmap.c:1514 x64_sys_call+0x1884/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:10 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: 0xffffc900012d7cb8 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 20023 Comm: syz.0.2509 Not tainted 6.11.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 ==================================================================