================================================================== BUG: KCSAN: data-race in __anon_vma_prepare / lock_vma_under_rcu write to 0xffff888137c0d310 of 8 bytes by task 16186 on cpu 0: __anon_vma_prepare+0x147/0x2b0 mm/rmap.c:214 vmf_anon_prepare mm/memory.c:3071 [inline] wp_page_copy mm/memory.c:3109 [inline] do_wp_page+0x1593/0x1f40 mm/memory.c:3510 handle_pte_fault mm/memory.c:5054 [inline] __handle_mm_fault mm/memory.c:5179 [inline] handle_mm_fault+0xe5d/0x2dd0 mm/memory.c:5344 do_user_addr_fault arch/x86/mm/fault.c:1413 [inline] handle_page_fault arch/x86/mm/fault.c:1505 [inline] exc_page_fault+0x2f7/0x6c0 arch/x86/mm/fault.c:1561 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 __put_user_2+0x11/0x20 arch/x86/lib/putuser.S:67 vt_do_kdsk_ioctl+0x2f9/0x6f0 drivers/tty/vt/keyboard.c:2033 vt_k_ioctl drivers/tty/vt/vt_ioctl.c:425 [inline] vt_ioctl+0x8da/0x1830 drivers/tty/vt/vt_ioctl.c:752 tty_ioctl+0x816/0xbc0 drivers/tty/tty_io.c:2780 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:51 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff888137c0d310 of 8 bytes by task 16185 on cpu 1: lock_vma_under_rcu+0x16a/0x2a0 mm/memory.c:5509 do_user_addr_fault arch/x86/mm/fault.c:1356 [inline] handle_page_fault arch/x86/mm/fault.c:1505 [inline] exc_page_fault+0x164/0x6c0 arch/x86/mm/fault.c:1561 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 value changed: 0x0000000000000000 -> 0xffff888107540820 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 16185 Comm: syz-executor.0 Not tainted 6.7.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 ==================================================================