================================================================== BUG: KCSAN: data-race in mas_walk / mas_wmb_replace write to 0xffff8881030b5d00 of 8 bytes by task 21041 on cpu 1: mte_set_node_dead lib/maple_tree.c:323 [inline] mas_put_in_tree lib/maple_tree.c:1726 [inline] mas_topiary_replace lib/maple_tree.c:2557 [inline] mas_wmb_replace+0x20f/0x14e0 lib/maple_tree.c:2648 mas_split lib/maple_tree.c:3395 [inline] mas_commit_b_node lib/maple_tree.c:3448 [inline] mas_wr_bnode lib/maple_tree.c:4160 [inline] mas_wr_modify+0x183d/0x3c80 lib/maple_tree.c:4198 mas_wr_store_entry+0x250/0x390 lib/maple_tree.c:4231 mas_store_prealloc+0x151/0x2a0 lib/maple_tree.c:5437 vma_iter_store mm/internal.h:1185 [inline] vma_complete+0x3a7/0x760 mm/mmap.c:532 __split_vma+0x580/0x610 mm/mmap.c:2381 split_vma mm/mmap.c:2407 [inline] vma_modify+0x152/0x240 mm/mmap.c:2442 vma_modify_flags include/linux/mm.h:3283 [inline] mprotect_fixup+0x324/0x5c0 mm/mprotect.c:635 do_mprotect_pkey+0x64c/0x930 mm/mprotect.c:809 __do_sys_mprotect mm/mprotect.c:830 [inline] __se_sys_mprotect mm/mprotect.c:827 [inline] __x64_sys_mprotect+0x48/0x50 mm/mprotect.c:827 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff8881030b5d00 of 8 bytes by task 21042 on cpu 0: mte_parent lib/maple_tree.c:545 [inline] mte_dead_node lib/maple_tree.c:577 [inline] mas_start lib/maple_tree.c:1369 [inline] mas_state_walk lib/maple_tree.c:3673 [inline] mas_walk+0x123/0x320 lib/maple_tree.c:4861 lock_vma_under_rcu+0x84/0x290 mm/memory.c:5602 do_user_addr_fault arch/x86/mm/fault.c:1356 [inline] handle_page_fault arch/x86/mm/fault.c:1507 [inline] exc_page_fault+0x165/0x6d0 arch/x86/mm/fault.c:1563 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 value changed: 0xffff888103c1dfc1 -> 0xffff8881030b5d00 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 21042 Comm: syz-executor.2 Tainted: G W 6.8.0-rc3-syzkaller-00047-g047371968ffc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 ==================================================================