syzbot


INFO: rcu detected stall in __tun_chr_ioctl (2)

Status: upstream: reported on 2025/11/23 13:35
Reported-by: syzbot+e51b463bd916f2ba7b55@syzkaller.appspotmail.com
First crash: 171d, last: 15d
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in __tun_chr_ioctl mm 1 4 480d 555d 0/29 auto-obsoleted due to no activity on 2025/04/18 05:25
linux-5.15 INFO: rcu detected stall in __tun_chr_ioctl 1 1 433d 433d 0/3 auto-obsoleted due to no activity on 2025/06/14 12:09
linux-6.1 INFO: rcu detected stall in __tun_chr_ioctl 1 3 148d 172d 0/3 auto-obsoleted due to no activity on 2026/03/26 13:49
linux-6.6 INFO: rcu detected stall in __tun_chr_ioctl 1 1 51d 51d 0/2 upstream: reported on 2026/03/23 00:03
linux-6.1 INFO: rcu detected stall in __tun_chr_ioctl (2) 1 3 7h13m 46d 0/3 upstream: reported on 2026/03/28 18:58

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-...!: (6 ticks this GP) idle=41f/1/0x4000000000000002 softirq=59867/59867 fqs=12 
	(detected by 1, t=10502 jiffies, g=79229, q=267)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 21014 Comm: syz.5.5294 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
RIP: 0010:asm_sysvec_irq_work+0x0/0x20 arch/x86/include/asm/idtentry.h:707
Code: e9 a5 03 00 00 90 90 90 90 90 0f 01 ca fc 6a ff e8 a5 02 00 00 48 89 c4 48 89 e7 e8 5a ad dc ff e9 85 03 00 00 90 90 90 90 90 <0f> 01 ca fc 6a ff e8 85 02 00 00 48 89 c4 48 89 e7 e8 2a b2 dc ff
RSP: 0018:ffffc90000007758 EFLAGS: 00000006
RAX: 4aae1b04624f0100 RBX: 1ffff92000000ef4 RCX: 4aae1b04624f0100
RDX: dffffc0000000000 RSI: ffffffff8a2b2800 RDI: ffffffff8a79fe40
RBP: ffffc90000007860 R08: ffffffff901d518f R09: 1ffffffff203aa31
R10: dffffc0000000000 R11: fffffbfff203aa32 R12: ffffffff8c323000
R13: dffffc0000000000 R14: 0000000000000246 R15: 0000000000000001
FS:  00007fd490e226c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000007ae0b000 CR4: 00000000003506f0
DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
RIP: 0010:rcu_read_unlock_special+0x7f/0x4a0 kernel/rcu/tree_plugin.h:674
Code: eb 03 48 b8 f1 f1 f1 f1 f8 f2 f2 f2 4a 89 04 2b 42 c7 44 2b 08 f8 f3 f3 f3 65 44 8b 35 32 e1 9c 7e 41 f7 c6 00 00 f0 00 74 40 <48> c7 44 24 20 0e 36 e0 45 4a c7 04 2b 00 00 00 00 42 c7 44 2b 08
RSP: 0018:ffffc90000007780 EFLAGS: 00000206
 __rcu_read_unlock+0x78/0xd0 kernel/rcu/tree_plugin.h:422
 rcu_read_unlock include/linux/rcupdate.h:772 [inline]
 __ip_queue_xmit+0x1242/0x1c00 net/ipv4/ip_output.c:539
 __tcp_transmit_skb+0x1d11/0x3200 net/ipv4/tcp_output.c:1404
 tcp_delack_timer_handler+0x32e/0x730 net/ipv4/tcp_timer.c:314
 tcp_delack_timer+0x188/0x2e0 net/ipv4/tcp_timer.c:341
 call_timer_fn+0x17b/0x540 kernel/time/timer.c:1648
 expire_timers kernel/time/timer.c:1699 [inline]
 __run_timers+0x53e/0x800 kernel/time/timer.c:1970
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1983
 handle_softirqs+0x339/0x830 kernel/softirq.c:576
 __do_softirq kernel/softirq.c:610 [inline]
 invoke_softirq kernel/softirq.c:450 [inline]
 __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
 sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:__rtnl_unlock+0x88/0xa0 net/core/rtnetlink.c:100
Code: 89 1f 8b be 68 00 00 00 31 d2 e8 83 55 6b f9 2e 2e 2e 31 c0 4d 85 ff 74 0a e8 b4 7e 90 f9 4c 89 fb eb b6 e8 aa 7e 90 f9 eb 05 <e8> a3 7e 90 f9 5b 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 0f
RSP: 0018:ffffc90002eafc40 EFLAGS: 00000246
RAX: 4aae1b04624f0100 RBX: 0000000000000000 RCX: ffffffff8152882c
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff88801b59bba8
RBP: ffffc90002eafd70 R08: ffff88801b59bbab R09: 1ffff110036b3775
R10: dffffc0000000000 R11: ffffed10036b3776 R12: 0000000000000000
R13: dffffc0000000000 R14: ffffc90002eafce0 R15: ffffc90002eafdf0
 netdev_run_todo+0x2e6/0xa70 net/core/dev.c:10683
 __tun_chr_ioctl+0xb0b/0x1ec0 drivers/net/tun.c:3340
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fd492bc8dd9
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:00007fd490e22028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fd492e41fa0 RCX: 00007fd492bc8dd9
RDX: 0000200000000000 RSI: 00000000400454ca RDI: 0000000000000008
RBP: 00007fd492c5ed69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd492e42038 R14: 00007fd492e41fa0 R15: 00007fff026aa838
 </TASK>
rcu: rcu_preempt kthread timer wakeup didn't happen for 10477 jiffies! g79229 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=1 timer-softirq=57801
rcu: rcu_preempt kthread starved for 10478 jiffies! g79229 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=1
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:I stack:27184 pid:   15 ppid:     2 flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5049 [inline]
 __schedule+0x11ef/0x43c0 kernel/sched/core.c:6395
 schedule+0x11b/0x1e0 kernel/sched/core.c:6478
 schedule_timeout+0x184/0x2d0 kernel/time/timer.c:2117
 rcu_gp_fqs_loop+0x2be/0x11d0 kernel/rcu/tree.c:1972
 rcu_gp_kthread+0x9b/0x370 kernel/rcu/tree.c:2145
 kthread+0x436/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
NMI backtrace for cpu 1
CPU: 1 PID: 4171 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
Call Trace:
 <IRQ>
 dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x3a2/0x3d0 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline]
 rcu_check_gp_kthread_starvation+0x1cd/0x250 kernel/rcu/tree_stall.h:487
 print_other_cpu_stall+0x1110/0x1270 kernel/rcu/tree_stall.h:592
 check_cpu_stall kernel/rcu/tree_stall.h:745 [inline]
 rcu_pending kernel/rcu/tree.c:3936 [inline]
 rcu_sched_clock_irq+0x843/0x1120 kernel/rcu/tree.c:2619
 update_process_times+0x193/0x200 kernel/time/timer.c:2021
 tick_sched_handle kernel/time/tick-sched.c:254 [inline]
 tick_sched_timer+0x37d/0x560 kernel/time/tick-sched.c:1473
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x4b4/0xb70 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline]
 __sysvec_apic_timer_interrupt+0x137/0x4a0 arch/x86/kernel/apic/apic.c:1114
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
 sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
RIP: 0010:kvm_wait+0x159/0x1b0 arch/x86/kernel/kvm.c:918
Code: 89 df 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 75 4b 0f b6 1f e8 f7 b6 4a 00 44 38 e3 75 10 66 90 0f 00 2d 59 d3 f3 08 fb f4 <e9> 16 ff ff ff fb e9 10 ff ff ff e8 27 30 88 08 89 f9 80 e1 07 38
RSP: 0018:ffffc900030bf8c0 EFLAGS: 00000246
RAX: 87b6440326703800 RBX: 0000000000000003 RCX: 87b6440326703800
RDX: dffffc0000000000 RSI: ffffffff8a2b2800 RDI: ffffffff8a79fe40
RBP: ffffc900030bf970 R08: ffffffff901d518f R09: 1ffffffff203aa31
R10: dffffc0000000000 R11: fffffbfff203aa32 R12: 0000000000000003
R13: ffff8880b913b154 R14: dffffc0000000000 R15: 1ffff92000617f18
 pv_wait arch/x86/include/asm/paravirt.h:597 [inline]
 pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline]
 __pv_queued_spin_lock_slowpath+0x60f/0x9c0 kernel/locking/qspinlock.c:508
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline]
 queued_spin_lock_slowpath+0x43/0x50 arch/x86/include/asm/qspinlock.h:51
 queued_spin_lock include/asm-generic/qspinlock.h:85 [inline]
 do_raw_spin_lock+0x265/0x2f0 kernel/locking/spinlock_debug.c:115
 spin_lock_bh include/linux/spinlock.h:369 [inline]
 lock_sock_nested+0x68/0x100 net/core/sock.c:3262
 lock_sock include/net/sock.h:1744 [inline]
 tcp_sendmsg+0x1d/0x40 net/ipv4/tcp.c:1459
 sock_sendmsg_nosec net/socket.c:706 [inline]
 __sock_sendmsg net/socket.c:718 [inline]
 sock_write_iter+0x2a6/0x3a0 net/socket.c:1089
 call_write_iter include/linux/fs.h:2173 [inline]
 new_sync_write fs/read_write.c:507 [inline]
 vfs_write+0x745/0xd60 fs/read_write.c:594
 ksys_write+0x152/0x260 fs/read_write.c:647
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f4d0200df57
Code: 48 89 fa 4c 89 df e8 a8 56 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffe9c46d450 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000555593512500 RCX: 00007f4d0200df57
RDX: 00000000000001d0 RSI: 00007f4cfa8b5e30 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00000000000001d0
R13: 0000555593527110 R14: 00007ffe9c46d9f0 R15: 00007f4cfa8b5e30
 </TASK>

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/04/28 13:56 linux-5.15.y b9d57c40a767 ce741359 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __tun_chr_ioctl
2026/03/31 01:41 linux-5.15.y 91d48252ad4b d0af506e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __tun_chr_ioctl
2026/03/04 06:20 linux-5.15.y 3330a8d33e08 4180d919 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __tun_chr_ioctl
2026/02/27 03:15 linux-5.15.y 3330a8d33e08 a2f13f71 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __tun_chr_ioctl
2026/02/11 19:24 linux-5.15.y e45d5d41c134 75707236 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __tun_chr_ioctl
2026/01/14 18:27 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __tun_chr_ioctl
2026/01/08 05:24 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __tun_chr_ioctl
2026/01/03 01:26 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __tun_chr_ioctl
2025/12/30 15:16 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __tun_chr_ioctl
2025/11/23 13:35 linux-5.15.y cc5ec8769306 4fb8ef37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __tun_chr_ioctl
* Struck through repros no longer work on HEAD.