syzbot


INFO: rcu detected stall in raw_ioctl

Status: upstream: reported on 2023/10/31 09:02
Subsystems: usb
[Documentation on labels]
Reported-by: syzbot+5f996b83575ef4058638@syzkaller.appspotmail.com
First crash: 320d, last: 26d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [usb?] INFO: rcu detected stall in raw_ioctl 0 (1) 2023/10/31 09:02
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: soft lockup in raw_ioctl serial kvm net 3 422d 525d 0/26 auto-obsoleted due to no activity on 2023/05/31 06:54
android-5-15 BUG: soft lockup in raw_ioctl 5 1d11h 12d 0/2 premoderation: reported on 2024/04/15 10:08

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 1-.... } 2664 jiffies s: 56621 root: 0x2/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 7555 Comm: syz-executor.2 Not tainted 6.8.0-syzkaller-08073-g480e035fc4c7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:__list_add_valid_or_report+0x3d/0xf0 lib/list_debug.c:29
Code: 00 00 00 49 89 d6 48 85 d2 0f 84 92 00 00 00 49 89 f4 49 89 ff 49 bd 00 00 00 00 00 fc ff df 49 8d 5e 08 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 34 d4 4a fd 48 8b 13 4c 39 e2 75
RSP: 0018:ffffc90000a07a30 EFLAGS: 00000a02
RAX: 1ffff1100b7e857f RBX: ffff88805bf42bf8 RCX: ffff88802ed4bc00
RDX: ffff88805bf42bf0 RSI: ffff88805bf42bf0 RDI: ffff88806095ea90
RBP: ffffc90000a07dd0 R08: ffffffff8aefdfb7 R09: 1ffff1100b7e85a8
R10: dffffc0000000000 R11: ffffed100b7e85a9 R12: ffff88805bf42bf0
R13: dffffc0000000000 R14: ffff88805bf42bf0 R15: ffff88806095ea90
FS:  00007fbe503a36c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200020c0 CR3: 000000002168c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000043 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 __list_add_valid include/linux/list.h:88 [inline]
 __list_add include/linux/list.h:150 [inline]
 list_add_tail include/linux/list.h:183 [inline]
 list_move_tail include/linux/list.h:311 [inline]
 fq_tin_dequeue include/net/fq_impl.h:112 [inline]
 ieee80211_tx_dequeue+0xa46/0x4a60 net/mac80211/tx.c:3849
 wake_tx_push_queue net/mac80211/util.c:294 [inline]
 ieee80211_handle_wake_tx_queue+0x155/0x2d0 net/mac80211/util.c:315
 drv_wake_tx_queue net/mac80211/driver-ops.h:1350 [inline]
 schedule_and_wake_txq net/mac80211/driver-ops.h:1357 [inline]
 ieee80211_queue_skb+0x1ada/0x24a0 net/mac80211/tx.c:1659
 ieee80211_tx+0x2c4/0x470 net/mac80211/tx.c:1961
 __ieee80211_subif_start_xmit+0xe91/0x1600 net/mac80211/tx.c:4333
 ieee80211_subif_start_xmit+0xde/0x4d0 net/mac80211/tx.c:4527
 __netdev_start_xmit include/linux/netdevice.h:4903 [inline]
 netdev_start_xmit include/linux/netdevice.h:4917 [inline]
 xmit_one net/core/dev.c:3531 [inline]
 dev_hard_start_xmit+0x26a/0x790 net/core/dev.c:3547
 __dev_queue_xmit+0x19f4/0x3b10 net/core/dev.c:4335
 neigh_output include/net/neighbour.h:542 [inline]
 ip6_finish_output2+0xff8/0x1670 net/ipv6/ip6_output.c:137
 ip6_finish_output+0x41e/0x810 net/ipv6/ip6_output.c:222
 NF_HOOK include/linux/netfilter.h:314 [inline]
 ndisc_send_skb+0xab0/0x1380 net/ipv6/ndisc.c:509
 addrconf_rs_timer+0x36e/0x660 net/ipv6/addrconf.c:4037
 call_timer_fn+0x17e/0x600 kernel/time/timer.c:1792
 expire_timers kernel/time/timer.c:1843 [inline]
 __run_timers kernel/time/timer.c:2408 [inline]
 __run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2419
 run_timer_base kernel/time/timer.c:2428 [inline]
 run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2438
 __do_softirq+0x2bc/0x943 kernel/softirq.c:554
 invoke_softirq kernel/softirq.c:428 [inline]
 __irq_exit_rcu+0xf2/0x1c0 kernel/softirq.c:633
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:645
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
 sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194
Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 fe 49 79 f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> a3 f1 e5 f5 65 8b 05 f4 d5 84 74 85 c0 74 43 48 c7 04 24 0e 36
RSP: 0018:ffffc900099f7b40 EFLAGS: 00000206
RAX: cae3b00d713f1400 RBX: 1ffff9200133ef6c RCX: ffffffff944d9603
RDX: dffffc0000000000 RSI: ffffffff8baac1e0 RDI: 0000000000000001
RBP: ffffc900099f7bd0 R08: ffffffff8f872cef R09: 1ffffffff1f0e59d
R10: dffffc0000000000 R11: fffffbfff1f0e59e R12: dffffc0000000000
R13: 1ffff9200133ef68 R14: ffffc900099f7b60 R15: 0000000000000246
 raw_ioctl+0x1a06/0x3ce0
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:904 [inline]
 __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:890
 do_syscall_64+0xfb/0x240
 entry_SYSCALL_64_after_hwframe+0x6d/0x75
RIP: 0033:0x7fbe4f67db0b
Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00
RSP: 002b:00007fbe503a0fa0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fbe4f67db0b
RDX: 0000000000000000 RSI: 0000000000005501 RDI: 0000000000000005
RBP: 00007fbe503a2070 R08: 0000000000000010 R09: 00322e6364755f79
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fbe503a1040 R14: 0000000020002180 R15: 00007fbe4f8d13f0
 </TASK>

Crashes (43):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/29 07:13 upstream 480e035fc4c7 120789fd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: rcu detected stall in raw_ioctl
2024/03/31 18:37 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a788e53c05ae 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2024/03/12 08:47 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d99e42ce6b83 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2024/03/05 20:30 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 12fc84e8c428 f39a7eed .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2024/02/21 08:07 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 3bf0514dc6f3 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/12/14 02:32 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 51920207674e 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/12/10 09:02 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 940704296f7e 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/11/05 11:17 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 90b0c2b2edd1 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/11/04 11:31 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 90b0c2b2edd1 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/11/04 00:17 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c70793fb7632 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/11/03 22:12 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c70793fb7632 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/11/01 22:54 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c70793fb7632 69904c9f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/10/27 14:41 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9b6db9a3a675 3c418d72 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/10/27 08:47 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ec0989703642 bf285f0c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/10/26 22:22 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ec0989703642 23afc60f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/10/26 07:12 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ec0989703642 72e794c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/10/26 01:30 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ec0989703642 72e794c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/10/25 21:52 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ec0989703642 72e794c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/10/25 21:45 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ec0989703642 72e794c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/10/25 18:58 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ec0989703642 72e794c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/10/25 13:12 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ec0989703642 17e6d526 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/10/24 18:34 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ec0989703642 17e6d526 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/10/22 08:39 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a04224da1f34 361b23dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/10/16 13:47 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 1053c4a4b8fc f757a323 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/10/15 07:36 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 1053c4a4b8fc f757a323 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/09/26 11:40 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 6465e260f487 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/09/26 06:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 6465e260f487 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/09/25 15:39 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 6465e260f487 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/09/22 00:11 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ce9ecca0238b 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/09/14 10:11 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 0bb80ecc33a8 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/09/14 08:19 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 0bb80ecc33a8 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/09/13 07:26 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 0bb80ecc33a8 59da8366 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/09/10 12:53 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 6b8bb5b8d9b3 6654cf89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/09/10 08:47 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 2a5a4326e583 6654cf89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/09/06 09:25 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 3f86ed6ec0b3 0b6286dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/09/03 10:24 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 0468be89b3fa 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/09/02 00:10 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b84acc11b1c9 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/08/23 23:25 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 78e0ea427754 b81ca3f6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/08/15 19:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing bbb9e06d2c64 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/08/14 11:30 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 55c3e571d2a0 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/08/14 04:07 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 55c3e571d2a0 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/08/12 11:40 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 55c3e571d2a0 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2023/06/11 23:32 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d37537a1f7cf 49519f06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
* Struck through repros no longer work on HEAD.