loop1: detected capacity change from 0 to 1764 ================================================================== BUG: KCSAN: data-race in call_rcu / mas_state_walk write to 0xffff888103fa1c10 of 8 bytes by task 7888 on cpu 0: __call_rcu_common kernel/rcu/tree.c:2679 [inline] call_rcu+0x3c/0x410 kernel/rcu/tree.c:2795 ma_free_rcu lib/maple_tree.c:190 [inline] mas_topiary_node lib/maple_tree.c:2556 [inline] mas_topiary_replace lib/maple_tree.c:2656 [inline] mas_wmb_replace+0xc99/0x14a0 lib/maple_tree.c:2678 mas_spanning_rebalance+0x275c/0x2d10 lib/maple_tree.c:2977 mas_wr_spanning_store+0x199f/0x1da0 lib/maple_tree.c:3909 mas_wr_store_entry+0x2b2/0x350 lib/maple_tree.c:4257 mas_store_prealloc+0x155/0x2b0 lib/maple_tree.c:5460 vma_iter_store+0xcb/0xe0 mm/internal.h:1198 vma_merge+0xc0f/0x12c0 mm/mmap.c:1028 vma_modify+0xb0/0x240 mm/mmap.c:2465 vma_modify_flags include/linux/mm.h:3271 [inline] mprotect_fixup+0x324/0x5c0 mm/mprotect.c:635 do_mprotect_pkey+0x641/0x920 mm/mprotect.c:809 __do_sys_mprotect mm/mprotect.c:830 [inline] __se_sys_mprotect mm/mprotect.c:827 [inline] __x64_sys_mprotect+0x48/0x50 mm/mprotect.c:827 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 0xffff888103fa1c10 of 8 bytes by task 7889 on cpu 1: mtree_range_walk lib/maple_tree.c:2817 [inline] mas_state_walk+0x2f3/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: 0x00007f2813a74fff -> 0xffffffff84b6f4c0 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 7889 Comm: syz-executor.1 Not tainted 6.7.0-rc6-syzkaller-00010-g2cf4f94d8e86 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ==================================================================