================================================================== BUG: KCSAN: data-race in __anon_vma_prepare / do_anonymous_page write to 0xffff88811d4f8b08 of 8 bytes by task 25968 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 __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 read to 0xffff88811d4f8b08 of 8 bytes by task 25967 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 __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 -> 0xffff888106964140 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 25967 Comm: syz-executor.2 Not tainted 5.18.0-rc4-syzkaller-00291-g8013d1d3d2e3-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================