================================================================== BUG: KCSAN: data-race in lock_vma_under_rcu / vma_prepare write to 0xffff888135afaf40 of 4 bytes by task 18613 on cpu 1: vma_start_write include/linux/mm.h:689 [inline] vma_prepare+0x11f/0x520 mm/mmap.c:511 vma_merge+0x539/0xc30 mm/mmap.c:1031 mprotect_fixup+0x2e0/0x650 mm/mprotect.c:674 do_mprotect_pkey+0x63d/0x920 mm/mprotect.c:860 __do_sys_mprotect mm/mprotect.c:881 [inline] __se_sys_mprotect mm/mprotect.c:878 [inline] __x64_sys_mprotect+0x48/0x50 mm/mprotect.c:878 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 read to 0xffff888135afaf40 of 4 bytes by task 18616 on cpu 0: vma_start_read include/linux/mm.h:643 [inline] lock_vma_under_rcu+0xcd/0x290 mm/memory.c:5291 do_user_addr_fault arch/x86/mm/fault.c:1341 [inline] handle_page_fault arch/x86/mm/fault.c:1534 [inline] exc_page_fault+0x16e/0x780 arch/x86/mm/fault.c:1590 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 value changed: 0x00000005 -> 0x00000008 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 18616 Comm: syz-executor.2 Not tainted 6.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 ================================================================== loop2: detected capacity change from 0 to 2048