================================================================== BUG: KCSAN: data-race in __anon_vma_prepare / do_anonymous_page write to 0xffff888107e155c8 of 8 bytes by task 20010 on cpu 0: __anon_vma_prepare+0x12c/0x2a0 mm/rmap.c:211 anon_vma_prepare include/linux/rmap.h:156 [inline] do_anonymous_page+0x7ba/0xa20 mm/memory.c:4074 handle_pte_fault mm/memory.c:4902 [inline] __handle_mm_fault mm/memory.c:5043 [inline] handle_mm_fault+0x8a0/0xa90 mm/memory.c:5141 do_user_addr_fault+0x4cd/0x940 arch/x86/mm/fault.c:1397 handle_page_fault arch/x86/mm/fault.c:1484 [inline] exc_page_fault+0x60/0x160 arch/x86/mm/fault.c:1540 asm_exc_page_fault+0x22/0x30 copy_user_short_string+0xd/0x40 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:58 [inline] _copy_to_user+0x72/0x90 lib/usercopy.c:33 copy_to_user include/linux/uaccess.h:160 [inline] __do_sys_times kernel/sys.c:1010 [inline] __se_sys_times+0x11c/0x190 kernel/sys.c:1004 __x64_sys_times+0x1b/0x20 kernel/sys.c:1004 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff888107e155c8 of 8 bytes by task 20011 on cpu 1: anon_vma_prepare include/linux/rmap.h:153 [inline] do_anonymous_page+0x127/0xa20 mm/memory.c:4074 handle_pte_fault mm/memory.c:4902 [inline] __handle_mm_fault mm/memory.c:5043 [inline] handle_mm_fault+0x8a0/0xa90 mm/memory.c:5141 do_user_addr_fault+0x4cd/0x940 arch/x86/mm/fault.c:1397 handle_page_fault arch/x86/mm/fault.c:1484 [inline] exc_page_fault+0x60/0x160 arch/x86/mm/fault.c:1540 asm_exc_page_fault+0x22/0x30 copy_user_short_string+0xd/0x40 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:58 [inline] _copy_to_user+0x72/0x90 lib/usercopy.c:33 copy_to_user include/linux/uaccess.h:160 [inline] __do_sys_times kernel/sys.c:1010 [inline] __se_sys_times+0x11c/0x190 kernel/sys.c:1004 __x64_sys_times+0x1b/0x20 kernel/sys.c:1004 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x0000000000000000 -> 0xffff888104a66af0 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 20011 Comm: syz-executor.5 Not tainted 5.19.0-rc7-syzkaller-00005-gca85855bdcae-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 ==================================================================