================================================================== BUG: KCSAN: data-race in __anon_vma_prepare / handle_mm_fault write to 0xffff88813400fd90 of 8 bytes by task 21299 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 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] tiocgwinsz+0x36/0x60 drivers/tty/tty_io.c:2320 tty_ioctl+0x42b/0xbc0 drivers/tty/tty_io.c:2719 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 0xffff88813400fd90 of 8 bytes by task 21294 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 value changed: 0x0000000000000000 -> 0xffff88814bed9b60 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 21294 Comm: syz-executor.4 Not tainted 6.8.0-rc1-syzkaller-00049-g6098d87eaf31 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ==================================================================