================================================================== BUG: KCSAN: data-race in do_sync_mmap_readahead / do_sync_mmap_readahead write to 0xffff8881368d7880 of 4 bytes by task 16526 on cpu 1: do_sync_mmap_readahead+0x335/0x3b0 mm/filemap.c:3202 filemap_fault+0x3d6/0xb70 mm/filemap.c:3297 __do_fault mm/memory.c:4198 [inline] do_read_fault mm/memory.c:4547 [inline] do_fault mm/memory.c:4670 [inline] do_pte_missing mm/memory.c:3664 [inline] handle_pte_fault mm/memory.c:4939 [inline] __handle_mm_fault mm/memory.c:5079 [inline] handle_mm_fault+0x1224/0x2c10 mm/memory.c:5233 do_user_addr_fault arch/x86/mm/fault.c:1392 [inline] handle_page_fault arch/x86/mm/fault.c:1486 [inline] exc_page_fault+0x24d/0x650 arch/x86/mm/fault.c:1542 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 strncpy_from_user+0xe5/0x270 lib/strncpy_from_user.c:139 getname_flags+0xb3/0x360 fs/namei.c:151 getname+0x19/0x20 fs/namei.c:219 do_sys_openat2+0x67/0x110 fs/open.c:1401 do_sys_open fs/open.c:1422 [inline] __do_sys_open fs/open.c:1430 [inline] __se_sys_open fs/open.c:1426 [inline] __x64_sys_open+0xe6/0x110 fs/open.c:1426 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd write to 0xffff8881368d7880 of 4 bytes by task 16519 on cpu 0: do_sync_mmap_readahead+0x335/0x3b0 mm/filemap.c:3202 filemap_fault+0x3d6/0xb70 mm/filemap.c:3297 __do_fault mm/memory.c:4198 [inline] do_shared_fault mm/memory.c:4602 [inline] do_fault mm/memory.c:4674 [inline] do_pte_missing mm/memory.c:3664 [inline] handle_pte_fault mm/memory.c:4939 [inline] __handle_mm_fault mm/memory.c:5079 [inline] handle_mm_fault+0x131b/0x2c10 mm/memory.c:5233 do_user_addr_fault arch/x86/mm/fault.c:1392 [inline] handle_page_fault arch/x86/mm/fault.c:1486 [inline] exc_page_fault+0x24d/0x650 arch/x86/mm/fault.c:1542 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 value changed: 0x00000000 -> 0x00000020 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 16519 Comm: syz-executor.0 Not tainted 6.5.0-rc3-syzkaller-00016-g20ea1e7d13c1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 ==================================================================