============================= WARNING: suspicious RCU usage syzkaller #0 Not tainted ----------------------------- lib/maple_tree.c:720 suspicious rcu_dereference_check() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 locks held by syz.4.167/6428: 1, last CPU#2: #0: ffff88803487c0a0 (&ctx->uring_lock){+.+.}-{4:4}, at: tctx_task_work_run+0x1cd/0xbf0 io_uring/tw.c:92 stack backtrace: CPU: 2 UID: 0 PID: 6428 Comm: syz.4.167 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 lockdep_rcu_suspicious.cold+0x4f/0xb2 kernel/locking/lockdep.c:6972 mas_root lib/maple_tree.c:720 [inline] mas_start+0x621/0x7c0 lib/maple_tree.c:1250 mas_state_walk lib/maple_tree.c:3006 [inline] mas_walk+0x82/0x310 lib/maple_tree.c:4458 ublk_try_buf_match+0x469/0x7e0 drivers/block/ublk_drv.c:5639 ublk_init_iod+0x4a4/0x5b0 drivers/block/ublk_drv.c:521 ublk_setup_iod+0x145/0x2f0 drivers/block/ublk_drv.c:1536 ublk_dispatch_req+0x4e/0xb00 drivers/block/ublk_drv.c:1776 ublk_cmd_tw_cb+0xbe/0x110 drivers/block/ublk_drv.c:2067 tctx_task_work_run+0xabe/0xbf0 io_uring/tw.c:96 tctx_task_work+0x7a/0xa0 io_uring/tw.c:133 task_work_run+0x150/0x240 kernel/task_work.c:233 get_signal+0x1bd/0x21e0 kernel/signal.c:2823 arch_do_signal_or_restart+0x91/0x7e0 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop+0x139/0x700 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb3dfb9e159 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb3e0983028 EFLAGS: 00000246 ORIG_RAX: 0000000000000023 RAX: fffffffffffffdfc RBX: 00007fb3dfe25fa0 RCX: 00007fb3dfb9e159 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000001a00 RBP: 00007fb3dfc3506b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fb3dfe26038 R14: 00007fb3dfe25fa0 R15: 00007ffe247ff0f8