================================================================== BUG: KCSAN: data-race in call_rcu / mas_state_walk write to 0xffff8881049cec10 of 8 bytes by task 3049 on cpu 1: __call_rcu_common kernel/rcu/tree.c:2625 [inline] call_rcu+0x3c/0x410 kernel/rcu/tree.c:2741 ma_free_rcu lib/maple_tree.c:189 [inline] mas_free lib/maple_tree.c:1349 [inline] mas_replace+0x6fb/0x890 lib/maple_tree.c:1788 mas_wr_node_store lib/maple_tree.c:4200 [inline] mas_wr_modify+0x2548/0x39e0 lib/maple_tree.c:4394 mas_wr_store_entry+0x701/0x840 lib/maple_tree.c:4439 mas_store_prealloc+0xe9/0x250 lib/maple_tree.c:5764 vma_iter_store+0xcb/0xe0 mm/internal.h:1070 mmap_region+0xcd2/0x1490 mm/mmap.c:2717 do_mmap+0x67c/0xaa0 mm/mmap.c:1394 vm_mmap_pgoff+0x12f/0x240 mm/util.c:543 ksys_mmap_pgoff+0xc5/0x320 mm/mmap.c:1440 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 0xffff8881049cec10 of 8 bytes by task 3043 on cpu 0: mtree_range_walk lib/maple_tree.c:2967 [inline] mas_state_walk+0x2f3/0x5d0 lib/maple_tree.c:3881 mas_walk+0x1f/0xd0 lib/maple_tree.c:5109 lock_vma_under_rcu+0x89/0x2b0 mm/memory.c:5279 do_user_addr_fault arch/x86/mm/fault.c:1341 [inline] handle_page_fault arch/x86/mm/fault.c:1534 [inline] exc_page_fault+0x16e/0x790 arch/x86/mm/fault.c:1590 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 value changed: 0x000000000090bfff -> 0xffffffff84a7eeb0 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 3043 Comm: syz-fuzzer Not tainted 6.3.0-syzkaller-11025-g89d77f71f493 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 ==================================================================