================================================ WARNING: lock held when returning to user space! 6.10.0-rc1-syzkaller #0 Not tainted ------------------------------------------------ syz.0.15/2819 is leaving the kernel with locks still held! 1 lock held by syz.0.15/2819: #0: ffffffff84665200 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff84665200 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff84665200 (rcu_read_lock){....}-{1:2}, at: ns_ioctl+0x127/0x630 fs/nsfs.c:163 ------------[ cut here ]------------ Voluntary context switch within RCU read-side critical section! WARNING: CPU: 0 PID: 2819 at kernel/rcu/tree_plugin.h:320 rcu_note_context_switch+0xc35/0xed0 kernel/rcu/tree_plugin.h:320 Modules linked in: CPU: 0 PID: 2819 Comm: syz.0.15 Not tainted 6.10.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:rcu_note_context_switch+0xc35/0xed0 kernel/rcu/tree_plugin.h:320 Code: 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc c6 05 e0 bc 8a 03 01 90 48 c7 c7 c0 a1 a7 83 e8 8c 54 e2 ff 90 <0f> 0b 90 90 e9 01 f5 ff ff 90 0f 0b 90 45 84 e4 0f 84 c7 f4 ff ff RSP: 0000:ffffc900029efc00 EFLAGS: 00010046 RAX: 8c1f981257135d00 RBX: ffff88811bfe3d7c RCX: 0000000000000003 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffffc900029efd50 R08: ffff8881f7028a93 R09: 1ffff1103ee05152 R10: dffffc0000000000 R11: ffffed103ee05153 R12: 0000000000000000 R13: ffffc900029efe50 R14: dffffc0000000000 R15: ffff88811bfe3980 FS: 00007f47277fd6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f85ffff CR3: 000000011cf2c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __schedule+0x306/0x24d0 kernel/sched/core.c:6634 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 exit_to_user_mode_loop kernel/entry/common.c:102 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] irqentry_exit_to_user_mode+0xd3/0x220 kernel/entry/common.c:231 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0033:0x7f4727d73bd9 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 RSP: 002b:00007f47277fd048 EFLAGS: 00000246 RAX: fffffffffffffffd RBX: 00007f4727f01f60 RCX: 00007f4727d73bd9 RDX: 0000000000000000 RSI: 000000008004b706 RDI: 0000000000000003 RBP: 00007f4727de2e60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f4727f01f60 R15: 00007ffe9d90a538