================================================================== BUG: KCSAN: data-race in __anon_vma_prepare / do_anonymous_page write to 0xffff888107fbfe08 of 8 bytes by task 29416 on cpu 1: __anon_vma_prepare+0x12c/0x2a0 mm/rmap.c:210 anon_vma_prepare include/linux/rmap.h:150 [inline] do_anonymous_page+0x7c1/0xa10 mm/memory.c:3824 handle_pte_fault mm/memory.c:4625 [inline] __handle_mm_fault mm/memory.c:4763 [inline] handle_mm_fault+0x83c/0xa40 mm/memory.c:4861 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+0x1e/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_pipe2+0x8c/0x120 fs/pipe.c:1012 __do_sys_pipe2 fs/pipe.c:1028 [inline] __se_sys_pipe2 fs/pipe.c:1026 [inline] __x64_sys_pipe2+0x2c/0x40 fs/pipe.c:1026 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+0x44/0xae read to 0xffff888107fbfe08 of 8 bytes by task 29415 on cpu 0: anon_vma_prepare include/linux/rmap.h:147 [inline] do_anonymous_page+0x127/0xa10 mm/memory.c:3824 handle_pte_fault mm/memory.c:4625 [inline] __handle_mm_fault mm/memory.c:4763 [inline] handle_mm_fault+0x83c/0xa40 mm/memory.c:4861 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+0x1e/0x30 value changed: 0x0000000000000000 -> 0xffff8881078359b0 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 29415 Comm: syz-executor.3 Not tainted 5.18.0-rc6-syzkaller-00009-gfeb9c5e19e91 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================