============================= WARNING: suspicious RCU usage 6.2.0-rc8-syzkaller-00021-ge1c04510f521 #0 Not tainted ----------------------------- lib/maple_tree.c:852 suspicious rcu_dereference_check() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 6 locks held by syz-executor.5/22017: #0: ffff888063987268 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x254/0x2f0 fs/file.c:1046 #1: ffff888027832460 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x26d/0xbb0 fs/read_write.c:580 #2: ffff888077586088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x4f0 fs/kernfs/file.c:325 #3: ffff88801755b2c0 (kn->active#64){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x4f0 fs/kernfs/file.c:326 #4: ffffffff8d0112e8 (ksm_thread_mutex){+.+.}-{3:3}, at: run_store+0x122/0xb10 mm/ksm.c:2954 #5: ffff88802c2f5018 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline] #5: ffff88802c2f5018 (&mm->mmap_lock){++++}-{3:3}, at: unmerge_and_remove_all_rmap_items mm/ksm.c:990 [inline] #5: ffff88802c2f5018 (&mm->mmap_lock){++++}-{3:3}, at: run_store+0x2db/0xb10 mm/ksm.c:2960 stack backtrace: CPU: 0 PID: 22017 Comm: syz-executor.5 Not tainted 6.2.0-rc8-syzkaller-00021-ge1c04510f521 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 mas_root lib/maple_tree.c:852 [inline] mas_start lib/maple_tree.c:1357 [inline] mas_state_walk+0x308/0x480 lib/maple_tree.c:3838 mas_walk+0x34/0x130 lib/maple_tree.c:5046 mas_find+0x1bf/0x210 lib/maple_tree.c:6012 vma_find include/linux/mm.h:674 [inline] vma_next include/linux/mm.h:683 [inline] unmerge_and_remove_all_rmap_items mm/ksm.c:991 [inline] run_store+0x2f9/0xb10 mm/ksm.c:2960 kernfs_fop_write_iter+0x3a6/0x4f0 fs/kernfs/file.c:334 call_write_iter include/linux/fs.h:2189 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7b2/0xbb0 fs/read_write.c:584 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 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 RIP: 0033:0x7efffa28c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efffafe8168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007efffa3abf80 RCX: 00007efffa28c0f9 RDX: 0000000000000002 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00007efffa2e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffee1858d6f R14: 00007efffafe8300 R15: 0000000000022000