syzbot


INFO: rcu detected stall in dev_ioctl

Status: upstream: reported on 2025/08/24 20:33
Reported-by: syzbot+1f40fa117f9d0d9cbab4@syzkaller.appspotmail.com
First crash: 4d02h, last: 4d02h
Similar bugs (10)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: rcu detected stall in dev_ioctl 1 1 1822d 1822d 0/1 auto-closed as invalid on 2020/12/30 14:33
linux-4.19 INFO: rcu detected stall in dev_ioctl (2) 1 1 1460d 1460d 0/1 auto-closed as invalid on 2021/12/27 14:21
upstream INFO: rcu detected stall in dev_ioctl batman 1 18 1235d 2103d 0/29 auto-closed as invalid on 2022/08/09 13:29
linux-4.19 INFO: rcu detected stall in dev_ioctl (3) 1 1 1337d 1337d 0/1 auto-closed as invalid on 2022/04/29 15:27
linux-5.15 INFO: rcu detected stall in dev_ioctl 1 1 270d 270d 0/3 auto-obsoleted due to no activity on 2025/03/11 17:46
upstream INFO: rcu detected stall in dev_ioctl (2) mm 1 3 235d 319d 0/29 auto-obsoleted due to no activity on 2025/04/05 21:09
upstream BUG: soft lockup in dev_ioctl (2) mm 1 5 6d09h 6d09h 0/29 upstream: reported on 2025/08/22 13:27
upstream BUG: soft lockup in dev_ioctl batman 1 2 470d 535d 0/29 auto-obsoleted due to no activity on 2024/08/13 06:45
linux-6.1 BUG: soft lockup in dev_ioctl 1 3 13d 39d 0/3 upstream: reported on 2025/07/20 19:44
android-5-15 BUG: soft lockup in dev_ioctl 1 7 398d 488d 0/2 auto-obsoleted due to no activity on 2024/10/24 08:58

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	1-....: (1 ticks this GP) idle=006c/1/0x4000000000000000 softirq=17603/17603 fqs=2095
rcu: 	         hardirqs   softirqs   csw/system
rcu: 	 number: 11622320          0            0
rcu: 	cputime:     6281      46236            0   ==> 52500(ms)
rcu: 	(detected by 0, t=10505 jiffies, g=16937, q=1397 ncpus=2)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 6418 Comm: syz.6.100 Not tainted 6.6.102-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:irq_work_single+0x71/0x230 kernel/irq_work.c:220
Code: 2e 44 89 ed 83 e5 fe 4c 89 f7 be 04 00 00 00 e8 c5 5f 4a 00 43 0f b6 04 27 84 c0 0f 85 5a 01 00 00 41 89 2e f0 83 44 24 fc 00 <44> 89 ee 83 e6 08 31 ff e8 42 1a f3 ff 44 89 e8 83 e0 08 75 7a e8
RSP: 0000:ffffc900001f0928 EFLAGS: 00000086
RAX: 0000000000000000 RBX: ffff8880b8f3d370 RCX: ffffffff8192746b
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff8880b8f3d378
RBP: 0000000000000022 R08: ffff8880b8f3d37b R09: 1ffff110171e7a6f
R10: dffffc0000000000 R11: ffffed10171e7a70 R12: dffffc0000000000
R13: 0000000000000023 R14: ffff8880b8f3d378 R15: 1ffff110171e7a6f
FS:  00007f0ae26796c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2db8123000 CR3: 00000000740f2000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 irq_work_run_list kernel/irq_work.c:252 [inline]
 irq_work_run+0x156/0x2e0 kernel/irq_work.c:261
 __sysvec_irq_work+0x98/0x380 arch/x86/kernel/irq_work.c:22
 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline]
 sysvec_irq_work+0x4e/0xc0 arch/x86/kernel/irq_work.c:17
 asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:723
RIP: 0010:rcu_read_unlock_special+0x88/0x4c0 kernel/rcu/tree_plugin.h:682
Code: f1 f1 f1 00 f2 f2 f2 4a 89 04 2b 66 42 c7 44 2b 09 f3 f3 42 c6 44 2b 0b f3 65 44 8b 35 39 58 93 7e 41 f7 c6 00 00 f0 00 74 45 <48> c7 44 24 40 0e 36 e0 45 4a c7 04 2b 00 00 00 00 66 42 c7 44 2b
RSP: 0000:ffffc900001f0b00 EFLAGS: 00000206
RAX: ac8955fafa2fad00 RBX: 1ffff9200003e168 RCX: ac8955fafa2fad00
RDX: dffffc0000000000 RSI: ffffffff8aaab9c0 RDI: ffffffff8afc66c0
RBP: ffffc900001f0bf0 R08: ffffffff90da350f R09: 1ffffffff21b46a1
R10: dffffc0000000000 R11: fffffbfff21b46a2 R12: ffffffff8cd35400
R13: dffffc0000000000 R14: 0000000000000246 R15: 0000000000000002
 __rcu_read_unlock+0x7c/0xd0 kernel/rcu/tree_plugin.h:426
 rcu_read_unlock include/linux/rcupdate.h:818 [inline]
 ieee80211_iterate_active_interfaces_atomic+0x15a/0x180 net/mac80211/util.c:804
 mac80211_hwsim_beacon+0xbb/0x1b0 drivers/net/wireless/virtual/mac80211_hwsim.c:2295
 __run_hrtimer kernel/time/hrtimer.c:1755 [inline]
 __hrtimer_run_queues+0x51e/0xc40 kernel/time/hrtimer.c:1819
 hrtimer_run_softirq+0x187/0x2b0 kernel/time/hrtimer.c:1836
 handle_softirqs+0x280/0x820 kernel/softirq.c:578
 __do_softirq kernel/softirq.c:612 [inline]
 invoke_softirq kernel/softirq.c:452 [inline]
 __irq_exit_rcu+0xc7/0x190 kernel/softirq.c:661
 irq_exit_rcu+0x9/0x20 kernel/softirq.c:673
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline]
 sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:stack_trace_consume_entry+0x0/0x270 kernel/stacktrace.c:83
Code: 00 00 00 65 48 8b 0c 25 28 00 00 00 48 3b 4c 24 78 75 09 48 8d 65 f0 5b 41 5e 5d c3 e8 99 e0 f8 08 66 0f 1f 84 00 00 00 00 00 <f3> 0f 1e fa 55 41 57 41 56 41 55 41 54 53 48 83 ec 18 48 ba 00 00
RSP: 0000:ffffc900033c7300 EFLAGS: 00000286
RAX: ffffffff8132104a RBX: ffffc900033c73c0 RCX: ffff88802b0ebc00
RDX: 0000000000000002 RSI: ffffffff8877e482 RDI: ffffc900033c73c0
RBP: ffffc900033c7390 R08: ffff88802b0ebc00 R09: 0000000000000003
R10: 0000000000000004 R11: 0000000000000002 R12: ffffffff8877e482
R13: 0000000000000000 R14: ffffffff817466a0 R15: ffffc900033c7308
 arch_stack_walk+0x138/0x190 arch/x86/kernel/stacktrace.c:27
 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:45 [inline]
 kasan_set_track+0x4e/0x70 mm/kasan/common.c:52
 ____kasan_kmalloc mm/kasan/common.c:374 [inline]
 __kasan_kmalloc+0x8f/0xa0 mm/kasan/common.c:383
 kasan_kmalloc include/linux/kasan.h:198 [inline]
 __do_kmalloc_node mm/slab_common.c:1007 [inline]
 __kmalloc_node+0xb4/0x230 mm/slab_common.c:1014
 kmalloc_node include/linux/slab.h:620 [inline]
 kzalloc_node include/linux/slab.h:732 [inline]
 qdisc_alloc+0x94/0xa50 net/sched/sch_generic.c:948
 qdisc_create_dflt+0x63/0x430 net/sched/sch_generic.c:1009
 mq_init+0x2e3/0x660 net/sched/sch_mq.c:90
 qdisc_create_dflt+0x11e/0x430 net/sched/sch_generic.c:1016
 attach_default_qdiscs net/sched/sch_generic.c:1196 [inline]
 dev_activate+0x1d0/0x11a0 net/sched/sch_generic.c:1250
 __dev_open+0x338/0x430 net/core/dev.c:1515
 __dev_change_flags+0x20e/0x6a0 net/core/dev.c:8673
 dev_change_flags+0x88/0x1a0 net/core/dev.c:8745
 dev_ifsioc+0x6a7/0xe20 net/core/dev_ioctl.c:529
 dev_ioctl+0x7e2/0x1170 net/core/dev_ioctl.c:786
 sock_do_ioctl+0x226/0x2f0 net/socket.c:1236
 sock_ioctl+0x623/0x7a0 net/socket.c:1341
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:871 [inline]
 __se_sys_ioctl+0xfd/0x170 fs/ioctl.c:857
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f0ae178ebe9
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:00007f0ae2679038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f0ae19b6090 RCX: 00007f0ae178ebe9
RDX: 0000200000000080 RSI: 0000000000008914 RDI: 000000000000000a
RBP: 00007f0ae1811e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f0ae19b6128 R14: 00007f0ae19b6090 R15: 00007ffc91fdd6e8
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/24 20:32 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in dev_ioctl
* Struck through repros no longer work on HEAD.