================================================================== BUG: KCSAN: data-race in mas_replace_node / mas_state_walk write to 0xffff88814d222e00 of 8 bytes by task 24625 on cpu 0: mte_set_node_dead lib/maple_tree.c:320 [inline] mas_put_in_tree lib/maple_tree.c:1746 [inline] mas_replace_node+0x1b5/0x430 lib/maple_tree.c:1760 mas_wr_node_store lib/maple_tree.c:3995 [inline] mas_wr_modify+0x287c/0x37d0 lib/maple_tree.c:4229 mas_wr_store_entry+0x235/0x350 lib/maple_tree.c:4269 mas_store_prealloc+0x155/0x2b0 lib/maple_tree.c:5460 vma_iter_store mm/internal.h:1198 [inline] vma_complete+0x2a0/0x650 mm/mmap.c:532 __split_vma+0x550/0x5d0 mm/mmap.c:2411 do_vmi_align_munmap+0x1bf/0x970 mm/mmap.c:2566 do_vmi_munmap+0x1ea/0x230 mm/mmap.c:2725 mmap_region+0x595/0x16e0 mm/mmap.c:2776 do_mmap+0x67e/0xa90 mm/mmap.c:1379 do_shmat+0x5b1/0x7b0 ipc/shm.c:1660 __do_sys_shmat ipc/shm.c:1696 [inline] __se_sys_shmat ipc/shm.c:1691 [inline] __x64_sys_shmat+0x64/0xb0 ipc/shm.c:1691 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff88814d222e00 of 8 bytes by task 24611 on cpu 1: ma_dead_node lib/maple_tree.c:555 [inline] mtree_range_walk lib/maple_tree.c:2805 [inline] mas_state_walk+0x267/0x5d0 lib/maple_tree.c:3712 mas_walk+0x31/0x120 lib/maple_tree.c:4888 lock_vma_under_rcu+0x8d/0x2a0 mm/memory.c:5497 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: 0xffff888140a7a206 -> 0xffff88814d222e00 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 24611 Comm: syz-executor.3 Not tainted 6.7.0-rc8-syzkaller-00024-gac865f00af29 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ==================================================================