syzbot


INFO: rcu detected stall in raw_ioctl

Status: fixed on 2024/07/09 19:14
Subsystems: usb
[Documentation on labels]
Reported-by: syzbot+5f996b83575ef4058638@syzkaller.appspotmail.com
Fix commit: 22f008128625 USB: class: cdc-wdm: Fix CPU lockup caused by excessive log messages
First crash: 509d, last: 122d
Duplicate bugs (1)
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
INFO: rcu detected stall in NF_HOOK netfilter usb C error 13 120d 134d 0/28 closed as dup on 2024/06/20 17:29
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] USB: class: cdc-wdm: Fix CPU lockup caused by excessive log messages 2 (2) 2024/06/28 18:23
[syzbot] [usb?] INFO: rcu detected stall in raw_ioctl 7 (15) 2024/06/13 03:40
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 611d 714d 0/28 auto-obsoleted due to no activity on 2023/05/31 06:54
android-5-15 BUG: soft lockup in raw_ioctl 20 103d 200d 0/2 auto-obsoleted due to no activity on 2024/10/01 04:08
Last patch testing requests (6)
Created Duration User Patch Repo Result
2024/06/13 01:23 2h16m stern@rowland.harvard.edu patch git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git 8867bbd4a056 OK log
2024/06/11 17:26 34m stern@rowland.harvard.edu patch git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git 8867bbd4a056 OK log
2024/06/11 15:20 31m stern@rowland.harvard.edu patch git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git 8867bbd4a056 OK log
2024/06/10 19:42 26m stern@rowland.harvard.edu patch git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git 8867bbd4a056 OK log
2024/06/10 17:24 26m stern@rowland.harvard.edu patch git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git 8867bbd4a056 report log
2024/06/09 01:57 2h19m stern@rowland.harvard.edu patch git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git 8867bbd4a056 OK log

Sample crash report:
cdc_wdm 1-1:1.0: nonzero urb status received: -71
cdc_wdm 1-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 1-1:1.0: nonzero urb status received: -71
cdc_wdm 1-1:1.0: wdm_int_callback - 0 bytes
watchdog: BUG: soft lockup - CPU#0 stuck for 26s! [syz-executor782:6625]
CPU#0 Utilization every 4s during lockup:
	#1:  98% system,	  0% softirq,	  3% hardirq,	  0% idle
	#2:  98% system,	  0% softirq,	  3% hardirq,	  0% idle
	#3:  98% system,	  0% softirq,	  3% hardirq,	  0% idle
	#4:  98% system,	  0% softirq,	  3% hardirq,	  0% idle
	#5:  98% system,	  1% softirq,	  3% hardirq,	  0% idle
Modules linked in:
irq event stamp: 73096
hardirqs last  enabled at (73095): [<ffff80008037bc00>] console_emit_next_record kernel/printk/printk.c:2935 [inline]
hardirqs last  enabled at (73095): [<ffff80008037bc00>] console_flush_all+0x650/0xb74 kernel/printk/printk.c:2994
hardirqs last disabled at (73096): [<ffff80008af10b00>] __el1_irq arch/arm64/kernel/entry-common.c:533 [inline]
hardirqs last disabled at (73096): [<ffff80008af10b00>] el1_interrupt+0x24/0x68 arch/arm64/kernel/entry-common.c:551
softirqs last  enabled at (73048): [<ffff8000801ea530>] softirq_handle_end kernel/softirq.c:400 [inline]
softirqs last  enabled at (73048): [<ffff8000801ea530>] handle_softirqs+0xa60/0xc34 kernel/softirq.c:582
softirqs last disabled at (73043): [<ffff800080020de8>] __do_softirq+0x14/0x20 kernel/softirq.c:588
CPU: 0 PID: 6625 Comm: syz-executor782 Tainted: G        W          6.10.0-rc2-syzkaller-g8867bbd4a056 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __daif_local_irq_restore arch/arm64/include/asm/irqflags.h:176 [inline]
pc : arch_local_irq_restore arch/arm64/include/asm/irqflags.h:195 [inline]
pc : console_emit_next_record kernel/printk/printk.c:2935 [inline]
pc : console_flush_all+0x67c/0xb74 kernel/printk/printk.c:2994
lr : console_emit_next_record kernel/printk/printk.c:2935 [inline]
lr : console_flush_all+0x678/0xb74 kernel/printk/printk.c:2994
sp : ffff800097d67380
x29: ffff800097d67480 x28: ffff800097d67530 x27: 0000000000000001
x26: ffff80009090b530 x25: ffff80009090b520 x24: dfff800000000000
x23: 1ffff000121216af x22: dfff800000000000 x21: ffff80009090b578
x20: 0000000000000000 x19: 00000000000000c0 x18: ffff800097d672b8
x17: 6965636572207375 x16: ffff80008033878c x15: 0000000000000001
x14: 1ffff00011e379c8 x13: 0000000000000000 x12: 0000000000000003
x11: 0000000000000001 x10: 0000000000ff0100 x9 : 0000000000000000
x8 : ffff0000cdc05ac0 x7 : ffff800080381d44 x6 : 0000000000000000
x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000
x2 : 0000000000000006 x1 : 0000000000000080 x0 : 0000000000000000
Call trace:
 __daif_local_irq_restore arch/arm64/include/asm/irqflags.h:175 [inline]
 arch_local_irq_restore arch/arm64/include/asm/irqflags.h:195 [inline]
 console_emit_next_record kernel/printk/printk.c:2935 [inline]
 console_flush_all+0x67c/0xb74 kernel/printk/printk.c:2994
 console_unlock+0xec/0x3d4 kernel/printk/printk.c:3063
 vprintk_emit+0x1ec/0x350 kernel/printk/printk.c:2345
 vprintk_default+0xa0/0xe4 kernel/printk/printk.c:2360
 vprintk+0x200/0x2d4 kernel/printk/printk_safe.c:45
 _printk+0xdc/0x128 kernel/printk/printk.c:2370
 usb_gadget_register_driver_owner+0x1f0/0x224 drivers/usb/gadget/udc/core.c:1711
 raw_ioctl_run drivers/usb/gadget/legacy/raw_gadget.c:595 [inline]
 raw_ioctl+0x10c0/0x33bc drivers/usb/gadget/legacy/raw_gadget.c:1306
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:907 [inline]
 __se_sys_ioctl fs/ioctl.c:893 [inline]
 __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:893
 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152
 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712
 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598

Crashes (49):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/09 00:27 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 82c05ab8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: soft lockup in raw_ioctl
2024/05/06 17:27 upstream dd5a440a31fa c035c6de .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in raw_ioctl
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/07/03 05:33 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing f7697db8b1b3 1ecfa2d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2024/06/21 19:10 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 819984a0dd36 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2024/06/21 08:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 819984a0dd36 dac2aa43 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in raw_ioctl
2024/05/19 01:07 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 51474ab44abf c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb 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 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.