================================================================== BUG: KCSAN: data-race in mas_replace_node / mtree_range_walk write to 0xffff888109e0ba00 of 8 bytes by task 22360 on cpu 0: mte_set_node_dead lib/maple_tree.c:337 [inline] mas_put_in_tree lib/maple_tree.c:1739 [inline] mas_replace_node+0x1b8/0x430 lib/maple_tree.c:1753 mas_wr_node_store lib/maple_tree.c:3878 [inline] mas_wr_store_entry+0x1fbf/0x2d10 lib/maple_tree.c:4098 mas_store_prealloc+0x6bf/0x960 lib/maple_tree.c:5519 vma_iter_store mm/vma.h:387 [inline] vma_complete+0x3a7/0x760 mm/vma.c:277 __split_vma+0x5d6/0x6a0 mm/vma.c:480 vms_gather_munmap_vmas+0x171/0x7a0 mm/vma.c:1267 do_vmi_align_munmap+0x1a4/0x390 mm/vma.c:1435 do_vmi_munmap+0x1eb/0x230 mm/vma.c:1492 __do_sys_mremap mm/mremap.c:1124 [inline] __se_sys_mremap+0x62c/0xf10 mm/mremap.c:1015 __x64_sys_mremap+0x67/0x80 mm/mremap.c:1015 x64_sys_call+0x27e8/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:26 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 0xffff888109e0ba00 of 8 bytes by task 22363 on cpu 1: ma_dead_node lib/maple_tree.c:575 [inline] mtree_range_walk+0x33d/0x460 lib/maple_tree.c:2803 mas_state_walk lib/maple_tree.c:3620 [inline] mas_walk+0x16e/0x320 lib/maple_tree.c:4946 lock_vma_under_rcu+0x95/0x260 mm/memory.c:6274 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: 0xffff888109e0b406 -> 0xffff888109e0ba00 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 22363 Comm: syz.7.5737 Not tainted 6.13.0-rc2-syzkaller-00333-ga0e3919a2df2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================