BUG: KCSAN: data-race in call_rcu / mtree_range_walk write to 0xffff888110306110 of 8 bytes by task 32416 on cpu 1: __call_rcu_common kernel/rcu/tree.c:3084 [inline] call_rcu+0x3b/0x430 kernel/rcu/tree.c:3190 ma_free_rcu lib/maple_tree.c:211 [inline] mas_free lib/maple_tree.c:1317 [inline] mas_replace_node+0x2fa/0x430 lib/maple_tree.c:1754 mas_wr_node_store lib/maple_tree.c:3878 [inline] mas_wr_store_entry+0x1fbf/0x2d10 lib/maple_tree.c:4098 mas_store_prealloc+0x6bf/0x960 lib/maple_tree.c:5519 vma_iter_store mm/vma.h:387 [inline] __mmap_new_vma mm/vma.c:2371 [inline] __mmap_region+0xdca/0x13f0 mm/vma.c:2456 mmap_region+0x164/0x1e0 mm/mmap.c:1347 do_mmap+0x718/0xb60 mm/mmap.c:496 vm_mmap_pgoff+0x133/0x290 mm/util.c:580 ksys_mmap_pgoff+0xd0/0x330 mm/mmap.c:542 x64_sys_call+0x1940/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:10 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 0xffff888110306110 of 8 bytes by task 32412 on cpu 0: mtree_range_walk+0x1b4/0x460 lib/maple_tree.c:2792 mas_state_walk lib/maple_tree.c:3620 [inline] mas_walk+0x16e/0x320 lib/maple_tree.c:4946 lock_vma_under_rcu+0x95/0x260 mm/memory.c:6274 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: 0x000000001fffffff -> 0xffffffff852d89d0 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 32412 Comm: syz.4.9934 Not tainted 6.13.0-rc1-syzkaller-00337-g7503345ac5f5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================