================================================================== BUG: KCSAN: data-race in mas_spanning_rebalance / mas_state_walk write to 0xffff888104e94b00 of 8 bytes by task 3090 on cpu 0: mte_set_node_dead lib/maple_tree.c:303 [inline] mat_add lib/maple_tree.c:994 [inline] mas_spanning_rebalance+0x281d/0x3040 lib/maple_tree.c:3123 mas_wr_spanning_store+0x19ad/0x1db0 lib/maple_tree.c:4067 mas_wr_store_entry+0x748/0x810 lib/maple_tree.c:4382 mas_store_prealloc+0xe9/0x250 lib/maple_tree.c:5537 vma_iter_store mm/internal.h:1090 [inline] vma_expand+0x326/0x400 mm/mmap.c:679 mmap_region+0xc34/0x14d0 mm/mmap.c:2716 do_mmap+0x69c/0xaa0 mm/mmap.c:1363 vm_mmap_pgoff+0x12f/0x240 mm/util.c:543 ksys_mmap_pgoff+0xc5/0x330 mm/mmap.c:1409 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff888104e94b00 of 8 bytes by task 3287 on cpu 1: ma_dead_node lib/maple_tree.c:538 [inline] mtree_range_walk lib/maple_tree.c:2954 [inline] mas_state_walk+0x267/0x5d0 lib/maple_tree.c:3869 mas_walk+0x7e/0x160 lib/maple_tree.c:4988 lock_vma_under_rcu+0x8d/0x2d0 mm/memory.c:5385 do_user_addr_fault arch/x86/mm/fault.c:1335 [inline] handle_page_fault arch/x86/mm/fault.c:1486 [inline] exc_page_fault+0x160/0x650 arch/x86/mm/fault.c:1542 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 value changed: 0xffff88810004ef81 -> 0xffff888104e94b00 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3287 Comm: syz-fuzzer Tainted: G W 6.5.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 ==================================================================