INFO: rcu detected stall in uinput_write (3)

Status: auto-obsoleted due to no activity on 2026/10/19 07:10
Subsystems: input
Labels: prio:high
[Documentation on labels]
First crash: 102d, last: 102d
▶ ▼ ✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
afc79c9e assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ✅ VMHostTrigger: ❌ ❓ INFO: rcu detected stall in uinput_write (3) 2026/07/23 00:40 2026/07/23 00:40 2026/07/23 01:18 44995053
▶ ▼ Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in uinput_write input 1 1 1195d 1195d 23/29 fixed on 2023/10/12 12:47
upstream INFO: rcu detected stall in uinput_write (2) input 1 1 830d 830d 0/29 auto-obsoleted due to no activity on 2024/09/21 04:59
android-5-15 BUG: soft lockup in uinput_write 1 1 884d 884d 0/2 auto-obsoleted due to no activity on 2024/08/28 02:54

Sample crash report:
EXT4-fs (loop6): last error at time 1784617678: ext4_init_orphan_info:583: inode 15
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P15750/1:b..l
rcu: 	(detected by 1, t=10502 jiffies, g=107693, q=1084 ncpus=2)
task:syz.6.2264      state:R  running task     stack:28016 pid:15750 tgid:15747 ppid:8524   task_flags:0x400040 flags:0x00080000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5510 [inline]
 __schedule+0x17d9/0x56c0 kernel/sched/core.c:7234
 preempt_schedule_irq+0x4d/0xa0 kernel/sched/core.c:7556
 irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:539 [inline]
 irqentry_exit+0x14f/0x8f0 kernel/entry/common.c:167
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
RIP: 0010:unwind_next_frame+0x46e/0x2550 arch/x86/kernel/unwind_orc.c:520
Code: d1 48 89 15 a4 1b fc 11 48 85 d2 0f 84 2e 02 00 00 48 8d 5a 04 48 89 54 24 18 4c 8d 6a 05 48 89 d8 48 c1 e8 03 42 0f b6 04 20 <84> c0 0f 85 b4 19 00 00 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0
RSP: 0018:ffffc900056bf628 EFLAGS: 00000212
RAX: 0000000000000000 RBX: ffffffff90eda858 RCX: ffffffff90702630
RDX: ffffffff90eda854 RSI: ffffffff90eda854 RDI: ffffffff8c4bda20
RBP: ffffffff816d83c2 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: ffffffff8eb59c60 R12: dffffc0000000000
R13: ffffffff90eda859 R14: ffffc900056bf728 R15: ffffffff90702630
 __unwind_start+0x514/0x660 arch/x86/kernel/unwind_orc.c:787
 unwind_start arch/x86/include/asm/unwind.h:64 [inline]
 arch_stack_walk+0xe3/0x150 arch/x86/kernel/stacktrace.c:24
 stack_trace_save+0xa9/0x100 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:57 [inline]
 kasan_save_track+0x3e/0x80 mm/kasan/common.c:78
 poison_kmalloc_redzone mm/kasan/common.c:398 [inline]
 __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:415
 kasan_kmalloc include/linux/kasan.h:263 [inline]
 __kmalloc_cache_noprof+0x32d/0x660 mm/slub.c:5515
 _kmalloc_noprof include/linux/slab.h:969 [inline]
 _kzalloc_noprof include/linux/slab.h:1290 [inline]
 input_alloc_absinfo+0x7e/0x100 drivers/input/input.c:442
 input_abs_set_max include/linux/input.h:512 [inline]
 uinput_setup_device_legacy drivers/input/misc/uinput.c:590 [inline]
 uinput_write+0x71a/0xfe0 drivers/input/misc/uinput.c:683
 vfs_write+0x296/0xba0 fs/read_write.c:685
 ksys_write+0x150/0x270 fs/read_write.c:739
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f262bf9de99
RSP: 002b:00007f262a1f6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f262c225fa0 RCX: 00007f262bf9de99
RDX: 000000000000045c RSI: 0000200000000800 RDI: 0000000000000004
RBP: 00007f262c033eaf R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f262c226038 R14: 00007f262c225fa0 R15: 00007fff8ae57768
 </TASK>
rcu: rcu_preempt kthread starved for 10340 jiffies! g107693 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
rcu: 	Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt     state:R  running task     stack:27496 pid:16    tgid:16    ppid:2      task_flags:0x208040 flags:0x00080000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5510 [inline]
 __schedule+0x17d9/0x56c0 kernel/sched/core.c:7234
 __schedule_loop kernel/sched/core.c:7311 [inline]
 schedule+0x164/0x2b0 kernel/sched/core.c:7326
 schedule_timeout+0x152/0x2c0 kernel/time/sleep_timeout.c:99
 rcu_gp_fqs_loop+0x30c/0x11f0 kernel/rcu/tree.c:2123
 rcu_gp_kthread+0x9e/0x2b0 kernel/rcu/tree.c:2325
 kthread+0x388/0x470 kernel/kthread.c:436
 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 15751 Comm: vhost-15748 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/10/2026
RIP: 0010:hlock_class kernel/locking/lockdep.c:234 [inline]
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4854 [inline]
RIP: 0010:__lock_acquire+0x34d/0x2cf0 kernel/locking/lockdep.c:5187
Code: 09 cc 41 09 cc 41 09 dc 45 89 64 c7 20 41 89 7c c7 24 4c 89 7c 24 18 4d 8d 2c c7 41 81 e4 ff 1f 00 00 4c 0f a3 25 b3 5a d2 12 <73> 10 49 69 c4 c8 00 00 00 48 8d 80 10 85 15 94 eb 32 83 3d 7a ea
RSP: 0018:ffffc900064d7458 EFLAGS: 00000007
RAX: 0000000000000005 RBX: 0000000000050000 RCX: 00000000000001ca
RDX: 0000000000050000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffffff8217f12b R09: 0000000000000000
R10: 0000000000000000 R11: ffff888032ee1d38 R12: 00000000000001ca
R13: ffff888077f40bc8 R14: ffff888077f40000 R15: ffff888077f40ba0
FS:  00007f867da536c0(0000) GS:ffff888124f54000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000002 CR3: 000000007469d000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868
 down_read_killable+0x50/0x3b0 kernel/locking/rwsem.c:1599
 mmap_read_lock_killable include/linux/mmap_lock.h:601 [inline]
 __get_user_pages_locked mm/gup.c:1667 [inline]
 __gup_longterm_locked+0xc3b/0x15c0 mm/gup.c:2476
 gup_fast_fallback+0x1d8c/0x20e0 mm/gup.c:3209
 set_bit_to_user drivers/vhost/vhost.c:2423 [inline]
 log_write+0xc2/0x3c0 drivers/vhost/vhost.c:2449
 vhost_update_used_flags+0x1ed/0x2b0 drivers/vhost/vhost.c:2580
 vhost_enable_notify+0xb7/0x640 drivers/vhost/vhost.c:3225
 vhost_vsock_handle_tx_kick+0x2f0/0x10e0 drivers/vhost/vsock.c:560
 vhost_run_work_list+0x14d/0x1e0 drivers/vhost/vhost.c:454
 vhost_task_fn+0x2fc/0x4b0 kernel/vhost_task.c:49
 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/21 07:09 upstream b95f03f04d47 de6a700d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in uinput_write
* Struck through repros no longer work on HEAD.