================================================================== BUG: KCSAN: data-race in __anon_vma_prepare / handle_mm_fault write to 0xffff88811b46b400 of 8 bytes by task 7649 on cpu 1: __anon_vma_prepare+0x172/0x2f0 mm/rmap.c:212 __vmf_anon_prepare mm/memory.c:3634 [inline] vmf_anon_prepare mm/internal.h:432 [inline] do_anonymous_page mm/memory.c:5179 [inline] do_pte_missing mm/memory.c:4360 [inline] handle_pte_fault mm/memory.c:6195 [inline] __handle_mm_fault mm/memory.c:6336 [inline] handle_mm_fault+0x1d1b/0x2be0 mm/memory.c:6505 do_user_addr_fault+0x3fe/0x1080 arch/x86/mm/fault.c:1387 handle_page_fault arch/x86/mm/fault.c:1476 [inline] exc_page_fault+0x62/0xa0 arch/x86/mm/fault.c:1532 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:618 rep_movs_alternative+0x4a/0x90 arch/x86/lib/copy_user_64.S:68 copy_user_generic arch/x86/include/asm/uaccess_64.h:126 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:147 [inline] copy_to_user_iter lib/iov_iter.c:25 [inline] iterate_ubuf include/linux/iov_iter.h:30 [inline] iterate_and_advance2 include/linux/iov_iter.h:302 [inline] iterate_and_advance include/linux/iov_iter.h:330 [inline] _copy_to_iter+0x141/0xe70 lib/iov_iter.c:185 copy_to_iter include/linux/uio.h:220 [inline] get_random_bytes_user+0x12d/0x290 drivers/char/random.c:473 __do_sys_getrandom drivers/char/random.c:1416 [inline] __se_sys_getrandom drivers/char/random.c:1390 [inline] __x64_sys_getrandom+0xcf/0x1a0 drivers/char/random.c:1390 x64_sys_call+0x1fa6/0x3000 arch/x86/include/generated/asm/syscalls_64.h:319 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff88811b46b400 of 8 bytes by task 7648 on cpu 0: __vmf_anon_prepare mm/memory.c:3628 [inline] vmf_anon_prepare mm/internal.h:432 [inline] do_anonymous_page mm/memory.c:5179 [inline] do_pte_missing mm/memory.c:4360 [inline] handle_pte_fault mm/memory.c:6195 [inline] __handle_mm_fault mm/memory.c:6336 [inline] handle_mm_fault+0xe8e/0x2be0 mm/memory.c:6505 do_user_addr_fault+0x630/0x1080 arch/x86/mm/fault.c:1336 handle_page_fault arch/x86/mm/fault.c:1476 [inline] exc_page_fault+0x62/0xa0 arch/x86/mm/fault.c:1532 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:618 value changed: 0x0000000000000000 -> 0xffff888104ac31a0 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 7648 Comm: syz.5.1394 Tainted: G W syzkaller #0 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 ==================================================================