================================================================== BUG: KCSAN: data-race in __anon_vma_prepare / do_anonymous_page write to 0xffff8881389c8088 of 8 bytes by task 8444 on cpu 0: __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_generic_unrolled+0x89/0xd0 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_pipe fs/pipe.c:1033 [inline] __se_sys_pipe fs/pipe.c:1031 [inline] __x64_sys_pipe+0x1d/0x30 fs/pipe.c:1031 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 0xffff8881389c8088 of 8 bytes by task 8443 on cpu 1: 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 __put_user_nocheck_4+0x3/0x11 __sys_socketpair+0xb6/0x420 net/socket.c:1606 __do_sys_socketpair net/socket.c:1672 [inline] __se_sys_socketpair net/socket.c:1669 [inline] __x64_sys_socketpair+0x4e/0x60 net/socket.c:1669 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 value changed: 0x0000000000000000 -> 0xffff8881055dc550 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 8443 Comm: syz-executor.5 Not tainted 5.18.0-rc3-syzkaller-00190-gc00c5e1d157b-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================