BUG: KCSAN: data-race in __anon_vma_prepare / handle_mm_fault write to 0xffff888103800d90 of 8 bytes by task 12611 on cpu 1: __anon_vma_prepare+0x147/0x2b0 mm/rmap.c:214 anon_vma_prepare include/linux/rmap.h:159 [inline] do_anonymous_page mm/memory.c:4169 [inline] do_pte_missing mm/memory.c:3728 [inline] handle_pte_fault mm/memory.c:5038 [inline] __handle_mm_fault mm/memory.c:5179 [inline] handle_mm_fault+0x224c/0x2dd0 mm/memory.c:5344 do_user_addr_fault arch/x86/mm/fault.c:1413 [inline] handle_page_fault arch/x86/mm/fault.c:1505 [inline] exc_page_fault+0x2f7/0x6c0 arch/x86/mm/fault.c:1561 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 rep_movs_alternative+0x33/0x70 arch/x86/lib/copy_user_64.S:57 copy_user_generic arch/x86/include/asm/uaccess_64.h:112 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:133 [inline] _copy_to_user+0x77/0x90 lib/usercopy.c:41 copy_to_user include/linux/uaccess.h:191 [inline] put_timespec64+0x64/0xb0 kernel/time/time.c:910 __do_sys_clock_gettime kernel/time/posix-timers.c:1144 [inline] __se_sys_clock_gettime kernel/time/posix-timers.c:1132 [inline] __x64_sys_clock_gettime+0x132/0x170 kernel/time/posix-timers.c:1132 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff888103800d90 of 8 bytes by task 12610 on cpu 0: anon_vma_prepare include/linux/rmap.h:156 [inline] do_anonymous_page mm/memory.c:4169 [inline] do_pte_missing mm/memory.c:3728 [inline] handle_pte_fault mm/memory.c:5038 [inline] __handle_mm_fault mm/memory.c:5179 [inline] handle_mm_fault+0xeb8/0x2dd0 mm/memory.c:5344 do_user_addr_fault arch/x86/mm/fault.c:1413 [inline] handle_page_fault arch/x86/mm/fault.c:1505 [inline] exc_page_fault+0x2f7/0x6c0 arch/x86/mm/fault.c:1561 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 rep_movs_alternative+0x33/0x70 arch/x86/lib/copy_user_64.S:57 copy_user_generic arch/x86/include/asm/uaccess_64.h:112 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:133 [inline] _copy_to_user+0x77/0x90 lib/usercopy.c:41 copy_to_user include/linux/uaccess.h:191 [inline] put_timespec64+0x64/0xb0 kernel/time/time.c:910 __do_sys_clock_gettime kernel/time/posix-timers.c:1144 [inline] __se_sys_clock_gettime kernel/time/posix-timers.c:1132 [inline] __x64_sys_clock_gettime+0x132/0x170 kernel/time/posix-timers.c:1132 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x0000000000000000 -> 0xffff888100d96d00 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 12610 Comm: syz-executor.1 Not tainted 6.7.0-rc3-syzkaller-00033-g3b47bc037bd4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 ==================================================================