================================================================== BUG: KCSAN: data-race in mas_state_walk / mas_wmb_replace write to 0xffff888102b93a00 of 8 bytes by task 13100 on cpu 0: mte_set_node_dead lib/maple_tree.c:320 [inline] mas_put_in_tree lib/maple_tree.c:1746 [inline] mas_topiary_replace lib/maple_tree.c:2587 [inline] mas_wmb_replace+0x214/0x14a0 lib/maple_tree.c:2678 mas_split lib/maple_tree.c:3429 [inline] mas_commit_b_node lib/maple_tree.c:3482 [inline] mas_wr_bnode lib/maple_tree.c:4198 [inline] mas_wr_modify+0x17c6/0x37d0 lib/maple_tree.c:4236 mas_wr_store_entry+0x235/0x350 lib/maple_tree.c:4269 mas_store_prealloc+0x155/0x2b0 lib/maple_tree.c:5460 vma_iter_store+0xcb/0xe0 mm/internal.h:1198 mmap_region+0xff9/0x16e0 mm/mmap.c:2922 do_mmap+0x67e/0xa90 mm/mmap.c:1379 vm_mmap_pgoff+0x12e/0x240 mm/util.c:556 ksys_mmap_pgoff+0xc5/0x330 mm/mmap.c:1425 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff888102b93a00 of 8 bytes by task 13101 on cpu 1: mte_parent lib/maple_tree.c:540 [inline] mte_dead_node lib/maple_tree.c:572 [inline] mas_start lib/maple_tree.c:1391 [inline] mas_state_walk+0xf9/0x5d0 lib/maple_tree.c:3705 mas_walk+0x31/0x120 lib/maple_tree.c:4888 lock_vma_under_rcu+0x8d/0x2a0 mm/memory.c:5496 do_user_addr_fault arch/x86/mm/fault.c:1356 [inline] handle_page_fault arch/x86/mm/fault.c:1505 [inline] exc_page_fault+0x164/0x6c0 arch/x86/mm/fault.c:1561 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 value changed: 0xffff8881525aaf81 -> 0xffff888102b93a00 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 13101 Comm: syz-executor.4 Not tainted 6.7.0-rc3-syzkaller-00024-g18d46e76d7c2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 ================================================================== loop4: detected capacity change from 0 to 2048