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: 362d, last: 3d12h
▶ ▼ Similar bugs (7)
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 671d 746d 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 624d 624d 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 339d 363d 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 (2) 1 3 60d 141d 0/2 upstream: reported on 2026/07/02 11:58
linux-6.6 INFO: rcu detected stall in __tun_chr_ioctl 1 1 242d 242d 0/2 auto-obsoleted due to no activity on 2026/07/01 00:03
linux-6.1 INFO: rcu detected stall in __tun_chr_ioctl (2) 1 8 65d 236d 0/3 upstream: reported on 2026/03/28 18:58
upstream INFO: rcu detected stall in __tun_chr_ioctl (2) prio:normal mm 1 34 54d 83d 0/29 closed as invalid on 2026/10/06 02:14

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-....: (1 GPs behind) idle=e21/1/0x4000000000000002 softirq=103178/103179 fqs=2100 
	(detected by 1, t=10506 jiffies, g=154573, q=1504)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 3977 Comm: syz.8.9409 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:331 [inline]
RIP: 0010:rcu_is_watching+0x36/0xa0 kernel/rcu/tree.c:1123
Code: e8 4f d2 64 08 89 c3 83 f8 08 73 5c 49 bf 00 00 00 00 00 fc ff df 4c 8d 34 dd 20 48 e6 8b 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 <74> 08 4c 89 f7 e8 10 ac 59 00 48 c7 c3 08 b3 03 00 49 03 1e 48 89
RSP: 0018:ffffc90000007368 EFLAGS: 00000046
RAX: 1ffffffff17cc904 RBX: 0000000000000000 RCX: 743c7e7f09d0f800
RDX: 0000000000000100 RSI: ffffffff8a7a50e0 RDI: ffffffff8a7a50a0
RBP: 0000000000000001 R08: ffffc90000007537 R09: ffffc90000007500
R10: dffffc0000000000 R11: fffff52000000ea7 R12: dffffc0000000000
R13: ffffc90000007566 R14: ffffffff8be64820 R15: dffffc0000000000
FS:  00007fdf8fa6e6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f19d08423ec CR3: 0000000066452000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000200000000300 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 rcu_read_lock_held_common kernel/rcu/update.c:108 [inline]
 rcu_read_lock_held+0x11/0x40 kernel/rcu/update.c:309
 perf_get_guest_cbs include/linux/perf_event.h:1274 [inline]
 perf_misc_flags+0x56/0x1b0 arch/x86/events/core.c:2961
 perf_prepare_sample+0x132/0x1cb0 kernel/events/core.c:7634
 __perf_event_output kernel/events/core.c:7814 [inline]
 perf_event_output_forward+0x185/0x2e0 kernel/events/core.c:7834
 __perf_event_overflow+0x35f/0x550 kernel/events/core.c:9527
 perf_tp_event+0x324/0xbe0 kernel/events/core.c:10059
 perf_trace_run_bpf_submit+0xf3/0x1c0 kernel/events/core.c:10033
 perf_trace_preemptirq_template+0x2aa/0x360 include/trace/events/preemptirq.h:14
 trace_irq_enable_rcuidle+0x108/0x180 include/trace/events/preemptirq.h:40
 trace_hardirqs_on+0x57/0x80 kernel/trace/trace_preemptirq.c:44
 asm_sysvec_irq_work+0x16/0x20 arch/x86/include/asm/idtentry.h:713
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 d2 f6 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:ffffc90000007b00 EFLAGS: 00000206
RAX: 743c7e7f09d0f800 RBX: 1ffff92000000f64 RCX: 743c7e7f09d0f800
RDX: dffffc0000000000 RSI: ffffffff8a2b2b60 RDI: ffffffff8a7a5100
RBP: ffffc90000007bd8 R08: ffffffff910470cf R09: 1ffffffff2208e19
R10: dffffc0000000000 R11: fffffbfff2208e1a R12: ffffffff8d123400
R13: dffffc0000000000 R14: 0000000000000246 R15: 0000000000000001
 __rcu_read_unlock+0x78/0xd0 kernel/rcu/tree_plugin.h:422
 rcu_read_unlock include/linux/rcupdate.h:772 [inline]
 ieee80211_iterate_active_interfaces_atomic+0x132/0x140 net/mac80211/util.c:831
 mac80211_hwsim_beacon+0x9b/0x180 drivers/net/wireless/mac80211_hwsim.c:1865
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x4ea/0xb60 kernel/time/hrtimer.c:1749
 hrtimer_run_softirq+0x176/0x240 kernel/time/hrtimer.c:1766
 handle_softirqs+0x336/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:put_cpu_partial+0x15e/0x190 mm/slub.c:2591
Code: 00 00 48 3b 44 24 08 75 4d 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 7f 82 0b 08 41 f7 c5 00 02 00 00 74 c3 fb 4d 85 ff <75> c2 eb cb 48 c7 c7 90 24 1f 8d 4c 89 e6 e8 6f 8f 4b 02 e9 e5 fe
RSP: 0018:ffffc9000367f3b8 EFLAGS: 00000246
RAX: 743c7e7f09d0f800 RBX: ffff888144bf0140 RCX: 743c7e7f09d0f800
RDX: dffffc0000000000 RSI: ffffffff8a2b2b60 RDI: ffffffff8a7a5100
RBP: 0000000000000001 R08: ffffffff910470cf R09: 1ffffffff2208e19
R10: dffffc0000000000 R11: fffffbfff2208e1a R12: 0000000000000000
R13: 0000000000000286 R14: ffff8880b8e43e70 R15: 0000000000000000
 qlist_free_all+0x35/0x90 mm/kasan/quarantine.c:176
 kasan_quarantine_reduce+0x150/0x160 mm/kasan/quarantine.c:283
 __kasan_slab_alloc+0x2f/0xc0 mm/kasan/common.c:444
 kasan_slab_alloc include/linux/kasan.h:254 [inline]
 slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519
 slab_alloc_node mm/slub.c:3225 [inline]
 slab_alloc mm/slub.c:3233 [inline]
 kmem_cache_alloc+0x15d/0x280 mm/slub.c:3238
 kmem_cache_zalloc include/linux/slab.h:728 [inline]
 __kernfs_new_node+0xe3/0x6b0 fs/kernfs/dir.c:593
 kernfs_new_node+0x148/0x250 fs/kernfs/dir.c:669
 __kernfs_create_file+0x47/0x2e0 fs/kernfs/file.c:985
 sysfs_add_file_mode_ns+0x2d2/0x390 fs/sysfs/file.c:321
 create_files fs/sysfs/group.c:64 [inline]
 internal_create_group+0x492/0xd00 fs/sysfs/group.c:149
 internal_create_groups fs/sysfs/group.c:189 [inline]
 sysfs_create_groups+0x55/0x120 fs/sysfs/group.c:215
 device_add_groups drivers/base/core.c:2491 [inline]
 device_add_attrs+0x12f/0x690 drivers/base/core.c:2650
 device_add+0x677/0x1050 drivers/base/core.c:3363
 netdev_register_kobject+0x184/0x320 net/core/net-sysfs.c:2014
 register_netdevice+0x10e8/0x1720 net/core/dev.c:10424
 tun_set_iff+0x847/0xdd0 drivers/net/tun.c:2816
 __tun_chr_ioctl+0x762/0x1f30 drivers/net/tun.c:3076
 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:0x7fdf918424d9
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:00007fdf8fa6e028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fdf91abf090 RCX: 00007fdf918424d9
RDX: 0000200000000040 RSI: 00000000400454ca RDI: 0000000000000003
RBP: 00007fdf918d1136 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fdf91abf128 R14: 00007fdf91abf090 R15: 00007ffd99b5c1c8
 </TASK>

Crashes (30):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/17 02:34 linux-5.15.y 29c6cdaac04a a3e64cfc .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/11/09 20:35 linux-5.15.y 29c6cdaac04a 5cecaf1f .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/10/30 05:56 linux-5.15.y 792fbe1537d8 b498adee .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/10/28 09:19 linux-5.15.y 792fbe1537d8 96923c60 .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/10/26 03:39 linux-5.15.y 792fbe1537d8 1d9ca40b .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/10/21 19:41 linux-5.15.y 792fbe1537d8 61c200c7 .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/10/07 03:05 linux-5.15.y a051a4bf909f f7710056 .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/10/04 13:39 linux-5.15.y a051a4bf909f 57bbd979 .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/10/04 05:36 linux-5.15.y a051a4bf909f 57bbd979 .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/09/29 16:59 linux-5.15.y 0248c33e835e 7bf4ea23 .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/09/24 08:40 linux-5.15.y 0248c33e835e 0281b448 .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/09/17 22:20 linux-5.15.y 0248c33e835e 8d7d05f1 .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/09/10 05:38 linux-5.15.y 0996e0926f6b 4e8b1cc6 .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/09/01 06:45 linux-5.15.y 28c35638ec51 316d9396 .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/08/04 01:42 linux-5.15.y 6e2fd6534337 9451e17e .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/07/28 15:57 linux-5.15.y 674f684f7c61 edc8a875 .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/07/21 18:03 linux-5.15.y c86c4726e7f0 7c5de9c3 .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/07/15 04:09 linux-5.15.y c86c4726e7f0 2130f682 .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/07/03 16:18 linux-5.15.y eceeec79dbc6 58bf2096 .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/06/08 02:32 linux-5.15.y dc027a595035 cc095639 .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/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.