BUG: KCSAN: data-race in mas_wr_store_entry / mtree_range_walk write to 0xffff8881045f4a10 of 8 bytes by task 7363 on cpu 0: mas_wr_slot_store lib/maple_tree.c:3889 [inline] mas_wr_store_entry+0x146b/0x2d00 lib/maple_tree.c:4075 mas_store_prealloc+0x6bf/0x960 lib/maple_tree.c:5520 vma_iter_store mm/vma.h:476 [inline] commit_merge+0x441/0x740 mm/vma.c:608 vma_expand+0x211/0x360 mm/vma.c:1030 vma_merge_new_range+0x364/0x480 mm/vma.c:967 __mmap_region mm/mmap.c:1427 [inline] mmap_region+0x95d/0x14a0 mm/mmap.c:1603 do_mmap+0x718/0xb60 mm/mmap.c:496 vm_mmap_pgoff+0x133/0x290 mm/util.c:588 ksys_mmap_pgoff+0xd0/0x330 mm/mmap.c:542 x64_sys_call+0x1884/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:10 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff8881045f4a10 of 8 bytes by task 7365 on cpu 1: mtree_range_walk+0x1b4/0x460 lib/maple_tree.c:2781 mas_state_walk lib/maple_tree.c:3601 [inline] mas_walk+0x16e/0x320 lib/maple_tree.c:4948 lock_vma_under_rcu+0x95/0x260 mm/memory.c:6239 do_user_addr_fault arch/x86/mm/fault.c:1329 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x150/0x650 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 value changed: 0x00007f4d75dfffff -> 0xffffffff852aa690 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 7365 Comm: syz.9.1262 Not tainted 6.12.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================