================================================================== BUG: KCSAN: data-race in __anon_vma_prepare / handle_mm_fault write to 0xffff88815cf47850 of 8 bytes by task 12902 on cpu 0: __anon_vma_prepare+0x147/0x2b0 mm/rmap.c:214 anon_vma_prepare include/linux/rmap.h:164 [inline] do_anonymous_page mm/memory.c:4269 [inline] do_pte_missing mm/memory.c:3743 [inline] handle_pte_fault mm/memory.c:5144 [inline] __handle_mm_fault mm/memory.c:5285 [inline] handle_mm_fault+0x2248/0x27b0 mm/memory.c:5450 do_user_addr_fault arch/x86/mm/fault.c:1415 [inline] handle_page_fault arch/x86/mm/fault.c:1507 [inline] exc_page_fault+0x2f7/0x6d0 arch/x86/mm/fault.c:1563 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] do_pipe2+0x8c/0x130 fs/pipe.c:1033 __do_sys_pipe2 fs/pipe.c:1049 [inline] __se_sys_pipe2 fs/pipe.c:1047 [inline] __x64_sys_pipe2+0x30/0x40 fs/pipe.c:1047 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff88815cf47850 of 8 bytes by task 12901 on cpu 1: anon_vma_prepare include/linux/rmap.h:161 [inline] do_anonymous_page mm/memory.c:4269 [inline] do_pte_missing mm/memory.c:3743 [inline] handle_pte_fault mm/memory.c:5144 [inline] __handle_mm_fault mm/memory.c:5285 [inline] handle_mm_fault+0xcc0/0x27b0 mm/memory.c:5450 do_user_addr_fault arch/x86/mm/fault.c:1415 [inline] handle_page_fault arch/x86/mm/fault.c:1507 [inline] exc_page_fault+0x2f7/0x6d0 arch/x86/mm/fault.c:1563 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] do_pipe2+0x8c/0x130 fs/pipe.c:1033 __do_sys_pipe2 fs/pipe.c:1049 [inline] __se_sys_pipe2 fs/pipe.c:1047 [inline] __x64_sys_pipe2+0x30/0x40 fs/pipe.c:1047 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x0000000000000000 -> 0xffff88816fbae820 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 12901 Comm: syz-executor.4 Not tainted 6.7.0-syzkaller-09928-g052d534373b7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ==================================================================