================================================================== BUG: KCSAN: data-race in call_rcu / mtree_range_walk write to 0xffff88812e1f0908 of 8 bytes by task 18001 on cpu 0: __call_rcu_common kernel/rcu/tree.c:3085 [inline] call_rcu+0x47/0x430 kernel/rcu/tree.c:3190 ma_free_rcu lib/maple_tree.c:211 [inline] mas_topiary_node lib/maple_tree.c:2534 [inline] mas_topiary_replace lib/maple_tree.c:2640 [inline] mas_wmb_replace+0xfbd/0x14d0 lib/maple_tree.c:2656 mas_split lib/maple_tree.c:3383 [inline] mas_commit_b_node lib/maple_tree.c:3403 [inline] mas_wr_bnode lib/maple_tree.c:4064 [inline] mas_wr_store_entry+0x1681/0x2d10 lib/maple_tree.c:4105 mas_store_prealloc+0x6bf/0x960 lib/maple_tree.c:5519 vma_iter_store mm/vma.h:387 [inline] vma_complete+0x3a7/0x760 mm/vma.c:277 __split_vma+0x5d6/0x6a0 mm/vma.c:480 split_vma mm/vma.c:510 [inline] vma_modify+0xd3/0x1e0 mm/vma.c:1520 vma_modify_flags+0xf1/0x120 mm/vma.c:1546 mprotect_fixup+0x31a/0x5e0 mm/mprotect.c:666 do_mprotect_pkey+0x653/0x960 mm/mprotect.c:840 __do_sys_mprotect mm/mprotect.c:861 [inline] __se_sys_mprotect mm/mprotect.c:858 [inline] __x64_sys_mprotect+0x48/0x60 mm/mprotect.c:858 x64_sys_call+0x2770/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:11 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 0xffff88812e1f0908 of 8 bytes by task 18003 on cpu 1: mtree_range_walk+0x140/0x460 lib/maple_tree.c:2784 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: 0x0000555570e1afff -> 0xffff888107b52008 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 18003 Comm: syz.2.3291 Not tainted 6.13.0-rc3-syzkaller-00193-ge9b8ffafd20a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 ==================================================================