Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.395860][ T6469] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.415522][ T6469] RSP: 002b:00007f2493ee7038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.423944][ T6469] RAX: ffffffffffffffda RBX: 00007f2495425f80 RCX: 0[ 76.703549][ T6505] ================================================================== 0007f249526dff9[ 76.712214][ T6505] BUG: KCSAN: data-race in mas_wr_store_entry / mtree_range_walk Oct 3 07:52:57[ 76.721362][ T6505] syzkaller kern.[ 76.725102][ T6505] write to 0xffff888104449910 of 8 bytes by task 6502 on cpu 1: warn kernel: [ [ 76.734165][ T6505] mas_wr_slot_store lib/maple_tree.c:3889 [inline] warn kernel: [ [ 76.734165][ T6505] mas_wr_store_entry+0x146b/0x2d00 lib/maple_tree.c:4075 76.431930][ T64[ 76.740734][ T6505] mas_store_prealloc+0x6bf/0x960 lib/maple_tree.c:5520 69] RDX: 0000000[ 76.751664][ T6505] vma_expand+0x211/0x360 mm/vma.c:1024 000000000 RSI: 0[ 76.757366][ T6505] vma_merge_new_range+0x2cf/0x3e0 mm/vma.c:963 000000020000040 [ 76.763955][ T6505] mmap_region+0x887/0x16e0 mm/mmap.c:1416 RDI: 00000000000[ 76.769856][ T6505] do_mmap+0x718/0xb60 mm/mmap.c:496 00003 Oct 3 07[ 76.775497][ T6505] vm_mmap_pgoff+0x133/0x290 mm/util.c:588 :52:57 syzkaller[ 76.781488][ T6505] ksys_mmap_pgoff+0xd0/0x330 mm/mmap.c:542 kern.warn kerne[ 76.787676][ T6505] x64_sys_call+0x1884/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:10 l: [ 76.439944[ 76.793747][ T6505] do_syscall_x64 arch/x86/entry/common.c:52 [inline] l: [ 76.439944[ 76.793747][ T6505] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 ][ T6469] RBP: 0[ 76.799742][ T6505] entry_SYSCALL_64_after_hwframe+0x77/0x7f 0007f2493ee7090 [ 76.807093][ T6505] R08: 00000000000[ 76.810819][ T6505] read to 0xffff888104449910 of 8 bytes by task 6505 on cpu 0: 00000 R09: 00000[ 76.819743][ T6505] mtree_range_walk+0x1b4/0x460 lib/maple_tree.c:2779 00000000000 Oct[ 76.825976][ T6505] mas_state_walk lib/maple_tree.c:3601 [inline] Oct[ 76.825976][ T6505] mas_walk+0x16e/0x320 lib/maple_tree.c:4948 3 07:52:57 syz[ 76.831520][ T6505] lock_vma_under_rcu+0x95/0x260 mm/memory.c:6224 kaller kern.warn[ 76.837884][ T6505] do_user_addr_fault arch/x86/mm/fault.c:1329 [inline] kaller kern.warn[ 76.837884][ T6505] handle_page_fault arch/x86/mm/fault.c:1481 [inline] kaller kern.warn[ 76.837884][ T6505] exc_page_fault+0x150/0x650 arch/x86/mm/fault.c:1539 kernel: [ 76.[ 76.843963][ T6505] asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 447961][ T6469] [ 76.850205][ T6505] R10: 00000000000[ 76.853945][ T6505] value changed: 0x00007facbe23efff -> 0x00007facbe21dfff 00000 R11: 00000[ 76.862459][ T6505] 00000000246 R12:[ 76.866158][ T6505] Reported by Kernel Concurrency Sanitizer on: 000000000000000[ 76.873705][ T6505] CPU: 0 UID: 0 PID: 6505 Comm: syz.4.1096 Not tainted 6.12.0-rc1-syzkaller-00042-gf23aa4c0761a #0 1 Oct 3 07:52:[ 76.885747][ T6505] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 57 syzkaller ker[ 76.897194][ T6505] ================================================================== n.warn kernel: [ 76.456024][ T6469] R13: 0000000000000000 R14: 00007f2495425f80 R15: 00007fffe3694678 Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.464004][ T6469] Oct 3 07:52:57 syzkaller kern.err kernel: [ 76.703549][ T6505] ================================================================== Oct 3 07:52:57 syzkaller kern.err kernel: [ 76.712214][ T6505] BUG: KCSAN: data-race in mas_wr_store_entry / mtree_range_walk Oct 3 07:52:57 syzkaller kern.err kernel: [ 76.721362][ T6505] Oct 3 07:52:57 syzkaller kern.err kernel: [ 76.725102][ T6505] write to 0xffff888104449910 of 8 bytes by task 6502 on cpu 1: Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.734165][ T6505] mas_wr_slot_store lib/maple_tree.c:3889 [inline] Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.734165][ T6505] mas_wr_store_entry+0x146b/0x2d00 lib/maple_tree.c:4075 Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.740734][ T6505] mas_store_prealloc+0x6bf/0x960 lib/maple_tree.c:5520 Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.747127][ T6505] vma_iter_store mm/vma.h:470 [inline] Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.747127][ T6505] commit_merge+0x441/0x740 mm/vma.c:609 Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.751664][ T6505] vma_expand+0x211/0x360 mm/vma.c:1024 Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.757366][ T6505] vma_merge_new_range+0x2cf/0x3e0 mm/vma.c:963 Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.763955][ T6505] mmap_region+0x887/0x16e0 mm/mmap.c:1416 Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.769856][ T6505] do_mmap+0x718/0xb60 mm/mmap.c:496 Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.775497][ T6505] vm_mmap_pgoff+0x133/0x290 mm/util.c:588 Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.781488][ T6505] ksys_mmap_pgoff+0xd0/0x330 mm/mmap.c:542 Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.787676][ T6505] x64_sys_call+0x1884/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:10 Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.793747][ T6505] do_syscall_x64 arch/x86/entry/common.c:52 [inline] Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.793747][ T6505] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.799742][ T6505] entry_SYSCALL_64_after_hwframe+0x77/0x7f Oct 3 07:52:57 syzkaller kern.err kernel: [ 76.807093][ T6505] Oct 3 07:52:57 syzkaller kern.err kernel: [ 76.810819][ T6505] read to 0xffff888104449910 of 8 bytes by task 6505 on cpu 0: Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.819743][ T6505] mtree_range_walk+0x1b4/0x460 lib/maple_tree.c:2779 Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.825976][ T6505] mas_state_walk lib/maple_tree.c:3601 [inline] Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.825976][ T6505] mas_walk+0x16e/0x320 lib/maple_tree.c:4948 Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.831520][ T6505] lock_vma_under_rcu+0x95/0x260 mm/memory.c:6224 Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.837884][ T6505] do_user_addr_fault arch/x86/mm/fault.c:1329 [inline] Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.837884][ T6505] handle_page_fault arch/x86/mm/fault.c:1481 [inline] Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.837884][ T6505] exc_page_fault+0x150/0x650 arch/x86/mm/fault.c:1539 Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.843963][ T6505] asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 Oct 3 07:52:57 syzkaller kern.err kernel: [ 76.850205][ T6505] Oct 3 07:52:57 syzkaller kern.err kernel: [ 76.853945][ T6505] value changed: 0x00007facbe23efff -> 0x00007facbe21dfff Oct 3 07:52:57 syzkaller kern.err kernel: [ 76.862459][ T6505] Oct 3 07:52:57 syzkaller kern.err kernel: [ 76.866158][ T6505] Reported by Kernel Concurrency Sanitizer on: Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.873705][ T6505] CPU: 0 UID: 0 PID: 6505 Comm: syz.4.1096 Not tainted 6.12.0-rc1-syzkaller-00042-gf23aa4c0761a #0 Oct 3 07:52:57 syzkaller kern.warn kernel: [ 76.885747][ T6505] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Oct 3 07:52:57 syzkaller kern.err kernel: [ 76.897194][ T6505] ==================================================================