================================================================== BUG: KCSAN: data-race in mas_walk / mas_wmb_replace write to 0xffff8881045d7d00 of 8 bytes by task 9264 on cpu 1: mte_set_node_dead lib/maple_tree.c:323 [inline] mas_put_in_tree lib/maple_tree.c:1725 [inline] mas_topiary_replace lib/maple_tree.c:2552 [inline] mas_wmb_replace+0x222/0x14d0 lib/maple_tree.c:2643 mas_split lib/maple_tree.c:3373 [inline] mas_commit_b_node lib/maple_tree.c:3393 [inline] mas_wr_bnode lib/maple_tree.c:4044 [inline] mas_wr_store_entry+0x163c/0x2d00 lib/maple_tree.c:4085 mas_store_prealloc+0x6bf/0x960 lib/maple_tree.c:5520 vma_iter_store mm/vma.h:470 [inline] vma_complete+0x3a7/0x760 mm/vma.c:226 __split_vma+0x5d6/0x6a0 mm/vma.c:430 split_vma mm/vma.c:460 [inline] vma_modify+0x217/0xcd0 mm/vma.c:1425 vma_modify_flags+0xf2/0x120 mm/vma.c:1451 mprotect_fixup+0x31a/0x5e0 mm/mprotect.c:664 do_mprotect_pkey+0x655/0x970 mm/mprotect.c:838 __do_sys_mprotect mm/mprotect.c:859 [inline] __se_sys_mprotect mm/mprotect.c:856 [inline] __x64_sys_mprotect+0x48/0x60 mm/mprotect.c:856 x64_sys_call+0x26cf/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:11 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 0xffff8881045d7d00 of 8 bytes by task 9265 on cpu 0: mte_parent lib/maple_tree.c:546 [inline] mte_dead_node lib/maple_tree.c:578 [inline] mas_start lib/maple_tree.c:1368 [inline] mas_state_walk lib/maple_tree.c:3594 [inline] mas_walk+0x123/0x320 lib/maple_tree.c:4948 lock_vma_under_rcu+0x95/0x260 mm/memory.c:6224 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: 0xffff8881158f8ac1 -> 0xffff8881045d7d00 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 9265 Comm: syz.1.1852 Not tainted 6.12.0-rc1-syzkaller-00125-g0c559323bbaa #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================