================================================================== BUG: KCSAN: data-race in __anon_vma_prepare / handle_mm_fault write to 0xffff88810438f268 of 8 bytes by task 18090 on cpu 1: __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 __put_user_4+0x11/0x20 arch/x86/lib/putuser.S:86 sock_ioctl_out net/core/sock.c:4200 [inline] sk_ioctl+0x250/0x3a0 net/core/sock.c:4224 inet6_ioctl+0x13f/0x180 net/ipv6/af_inet6.c:591 sock_do_ioctl+0x7d/0x250 net/socket.c:1222 sock_ioctl+0x460/0x630 net/socket.c:1341 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl+0xcf/0x140 fs/ioctl.c:857 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:857 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 0xffff88810438f268 of 8 bytes by task 18089 on cpu 0: 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 __put_user_4+0x11/0x20 arch/x86/lib/putuser.S:86 sock_ioctl_out net/core/sock.c:4200 [inline] sk_ioctl+0x250/0x3a0 net/core/sock.c:4224 inet6_ioctl+0x13f/0x180 net/ipv6/af_inet6.c:591 sock_do_ioctl+0x7d/0x250 net/socket.c:1222 sock_ioctl+0x460/0x630 net/socket.c:1341 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl+0xcf/0x140 fs/ioctl.c:857 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:857 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 -> 0xffff888103dbb478 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 18089 Comm: syz-executor.4 Not tainted 6.8.0-rc1-syzkaller-00311-g3a5879d495b2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ==================================================================