syzbot


INFO: task hung in usb_bulk_msg

Status: upstream: reported C repro on 2019/06/20 04:21
Reported-by: syzbot+bf202cb877bfb7f2f886@syzkaller.appspotmail.com
First crash: 1831d, last: 479d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in usb_bulk_msg usb C error unreliable 557 962d 2118d 0/27 auto-obsoleted due to no activity on 2022/10/02 23:39
linux-4.19 INFO: task hung in usb_bulk_msg C error 213 483d 1897d 0/1 upstream: reported C repro on 2019/04/15 07:30
Fix bisection attempts (12)
Created Duration User Patch Repo Result
2023/03/03 18:27 29m bisect fix linux-4.14.y job log (0) log
2023/02/01 13:28 31m bisect fix linux-4.14.y job log (0) log
2022/08/30 10:00 27m bisect fix linux-4.14.y job log (0) log
2022/07/02 17:45 22m bisect fix linux-4.14.y job log (0) log
2022/01/28 14:55 33m bisect fix linux-4.14.y job log (0) log
2021/11/20 00:38 34m bisect fix linux-4.14.y job log (0) log
2021/10/21 00:08 30m bisect fix linux-4.14.y job log (0) log
2021/09/20 23:34 33m bisect fix linux-4.14.y job log (0) log
2021/08/21 22:59 35m bisect fix linux-4.14.y job log (0) log
2021/07/22 22:25 33m bisect fix linux-4.14.y job log (0) log
2021/06/22 16:03 33m bisect fix linux-4.14.y job log (0) log
2021/05/23 08:25 32m bisect fix linux-4.14.y job log (0) log

Sample crash report:
INFO: task syz-executor160:8002 blocked for more than 140 seconds.
      Not tainted 4.14.279-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor160 D26560  8002   8001 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2811 [inline]
 __schedule+0x88b/0x1de0 kernel/sched/core.c:3387
 schedule+0x8d/0x1b0 kernel/sched/core.c:3431
 schedule_timeout+0x80a/0xe90 kernel/time/timer.c:1724
 do_wait_for_common kernel/sched/completion.c:91 [inline]
 __wait_for_common kernel/sched/completion.c:112 [inline]
 wait_for_common+0x272/0x430 kernel/sched/completion.c:123
 usb_start_wait_urb+0x125/0x440 drivers/usb/core/message.c:61
 usb_bulk_msg+0x1f6/0x500 drivers/usb/core/message.c:252
 proc_bulk+0x331/0x6d0 drivers/usb/core/devio.c:1223
 usbdev_do_ioctl+0x5b0/0x2b70 drivers/usb/core/devio.c:2449
 usbdev_ioctl+0x21/0x30 drivers/usb/core/devio.c:2599
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:500 [inline]
 do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684
 SYSC_ioctl fs/ioctl.c:701 [inline]
 SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7fb8321aa3b9
RSP: 002b:00007ffd26dbd498 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb8321aa3b9
RDX: 0000000020000200 RSI: 00000000c0185502 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffd26dbd638 R09: 00007ffd26dbd638
R10: 00007ffd26dbcf10 R11: 0000000000000246 R12: 00007fb8321696d0
R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000

Showing all locks held in the system:
1 lock held by khungtaskd/1534:
 #0:  (tasklist_lock){.+.+}, at: [<ffffffff8702681c>] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4548

=============================================

NMI backtrace for cpu 1
CPU: 1 PID: 1534 Comm: khungtaskd Not tainted 4.14.279-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 nmi_cpu_backtrace.cold+0x57/0x93 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x13a/0x180 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:140 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:195 [inline]
 watchdog+0x5b9/0xb40 kernel/hung_task.c:274
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 3 Comm: kworker/0:0 Not tainted 4.14.279-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_long gc_worker
task: ffff8880b5fe80c0 task.stack: ffff8880b5ff0000
RIP: 0010:lock_release+0x139/0x870 kernel/locking/lockdep.c:4015
RSP: 0018:ffff8880b5ff7c48 EFLAGS: 00000046
RAX: 0000000000000007 RBX: 1ffff11016bfef8c RCX: 0000000000006449
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8880b5fe8944
RBP: ffffffff8a09e348 R08: ffffffff8b9d7d08 R09: 00000000000e036f
R10: 0000000000000000 R11: ffff8880b5fe80c0 R12: ffffffff81365063
R13: ffff8880b5fe80c0 R14: 0000000000010000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc45c6ad000 CR3: 00000000a1ff0000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 seqcount_lockdep_reader_access include/linux/seqlock.h:82 [inline]
 read_seqcount_begin include/linux/seqlock.h:164 [inline]
 nf_conntrack_get_ht include/net/netfilter/nf_conntrack.h:304 [inline]
 gc_worker+0x201/0xb50 net/netfilter/nf_conntrack_core.c:1086
 process_one_work+0x793/0x14a0 kernel/workqueue.c:2117
 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2251
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Code: 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 fa 04 00 00 <41> c7 85 84 08 00 00 01 00 00 00 0f 1f 44 00 00 65 8b 05 00 52 
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
   7:	fc ff df
   a:	48 89 fa             	mov    %rdi,%rdx
   d:	48 c1 ea 03          	shr    $0x3,%rdx
  11:	0f b6 14 02          	movzbl (%rdx,%rax,1),%edx
  15:	48 89 f8             	mov    %rdi,%rax
  18:	83 e0 07             	and    $0x7,%eax
  1b:	83 c0 03             	add    $0x3,%eax
  1e:	38 d0                	cmp    %dl,%al
  20:	7c 08                	jl     0x2a
  22:	84 d2                	test   %dl,%dl
  24:	0f 85 fa 04 00 00    	jne    0x524
* 2a:	41 c7 85 84 08 00 00 	movl   $0x1,0x884(%r13) <-- trapping instruction
  31:	01 00 00 00
  35:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)
  3a:	65                   	gs
  3b:	8b                   	.byte 0x8b
  3c:	05                   	.byte 0x5
  3d:	00                   	.byte 0x0
  3e:	52                   	push   %rdx

Crashes (88):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/05/16 17:57 linux-4.14.y 690285a9380d 744a39e2 .config console log report syz C ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2021/01/31 00:22 linux-4.14.y 2c8a3fceddf0 fc9fd31e .config console log report syz C ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2021/02/10 08:15 linux-4.14.y 2c8a3fceddf0 2bd9619f .config console log report syz ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/12/23 16:41 linux-4.14.y c4215ee4771b 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/11/10 00:54 linux-4.14.y a901bb6c7db7 bebca8b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/10/11 13:09 linux-4.14.y 9d5c0b3a8e1a 5bcf0c31 .config console log report info [disk image] [vmlinux] ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/10/07 22:25 linux-4.14.y 9d5c0b3a8e1a 79a59635 .config console log report info [disk image] [vmlinux] ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/09/24 01:59 linux-4.14.y 4edbf74132a4 0042f2b4 .config console log report info [disk image] [vmlinux] ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/09/14 23:56 linux-4.14.y 65640c873dcf b884348d .config console log report info [disk image] [vmlinux] ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/07/30 06:33 linux-4.14.y b641242202ed fef302b1 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/07/28 08:04 linux-4.14.y 9c3bf9cf362f fb95c74d .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/07/23 20:27 linux-4.14.y 9c3bf9cf362f 22343af4 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/06/02 17:45 linux-4.14.y 501eec4f9e13 6e12f05f .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/05/27 15:58 linux-4.14.y 501eec4f9e13 116e7a7b .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/05/25 18:04 linux-4.14.y 501eec4f9e13 3037caa9 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/05/21 21:37 linux-4.14.y dffb5c6ff09c 7268fa62 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/05/16 15:19 linux-4.14.y 690285a9380d 744a39e2 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/05/09 20:39 linux-4.14.y e3a56aaade89 8b277b8e .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/05/05 07:54 linux-4.14.y e3a56aaade89 dc9e5259 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/05/01 14:57 linux-4.14.y e3a56aaade89 2df221f6 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/04/29 15:00 linux-4.14.y e3a56aaade89 44a5ca63 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/04/11 08:32 linux-4.14.y 74766a973637 e22c3da3 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/04/11 06:40 linux-4.14.y 74766a973637 e22c3da3 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/04/11 04:22 linux-4.14.y 74766a973637 e22c3da3 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/04/03 13:39 linux-4.14.y 74766a973637 79a2a8fc .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/03/31 06:31 linux-4.14.y af1af6ebca0e 9d49f3a7 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/03/10 10:06 linux-4.14.y c9fcc1545c3b 9e8eaa75 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/03/01 02:44 linux-4.14.y fa33f9094f36 45a13a73 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/02/12 10:37 linux-4.14.y 8034e99d1a01 8b9ca619 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2022/02/10 03:22 linux-4.14.y 21ad423fe521 0b33604d .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2021/12/29 14:55 linux-4.14.y a6ca7c65b137 6cc879d4 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2021/12/29 05:05 linux-4.14.y 8ee0807eedf3 76c8cf06 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2021/12/12 03:17 linux-4.14.y c01d4d1b885d 49ca1f59 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2021/04/23 06:08 linux-4.14.y cf256fbcbe34 590921a5 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2021/04/22 05:22 linux-4.14.y cf256fbcbe34 2bc8999a .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2021/04/17 22:49 linux-4.14.y cf256fbcbe34 7e2b734b .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2021/04/09 05:56 linux-4.14.y 0cc244011f40 6a81331a .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2021/04/08 10:10 linux-4.14.y 0cc244011f40 6a81331a .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2021/04/06 06:52 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2021/04/04 10:59 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2021/03/19 16:28 linux-4.14.y cb83ddcd5332 2af9d324 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2021/03/10 05:56 linux-4.14.y 1d177c0872ab 26967e35 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2021/03/07 23:41 linux-4.14.y 1d177c0872ab 09fbf400 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2021/02/22 09:13 linux-4.14.y 29c52025152b a659b3f1 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2021/02/21 02:10 linux-4.14.y 29c52025152b 3e5ed8b4 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2021/02/11 09:29 linux-4.14.y 2c8a3fceddf0 a52ee10a .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2021/02/03 22:09 linux-4.14.y 2c8a3fceddf0 624dad51 .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2021/01/30 21:27 linux-4.14.y 2c8a3fceddf0 fc9fd31e .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2021/01/28 03:04 linux-4.14.y 2d2791fce891 a57db36f .config console log report info ci2-linux-4-14 INFO: task hung in usb_bulk_msg
2021/01/12 09:39 linux-4.14.y ec822b3e8bf4 2c1f2513 .config console log report info ci2-linux-4-14
2021/01/02 05:11 linux-4.14.y 1752938529c6 79264ae3 .config console log report info ci2-linux-4-14
2020/12/22 13:33 linux-4.14.y 3f2ecb86cb90 04201c06 .config console log report info ci2-linux-4-14
2020/11/23 14:13 linux-4.14.y 0df445b0f0da 0d27f508 .config console log report info ci2-linux-4-14
2020/03/01 00:46 linux-4.14.y 78d697fc93f9 c88c7b75 .config console log report ci2-linux-4-14
2020/02/29 19:08 linux-4.14.y 78d697fc93f9 c88c7b75 .config console log report ci2-linux-4-14
2020/02/29 10:56 linux-4.14.y 78d697fc93f9 c88c7b75 .config console log report ci2-linux-4-14
2020/02/29 01:42 linux-4.14.y 78d697fc93f9 c88c7b75 .config console log report ci2-linux-4-14
2020/02/16 20:36 linux-4.14.y 98db2bf27b9e cf914200 .config console log report ci2-linux-4-14
2020/02/08 21:24 linux-4.14.y e0f8b8a65a47 06150bf1 .config console log report ci2-linux-4-14
2020/01/30 20:12 linux-4.14.y 9fa690a2a016 5ed23f9a .config console log report ci2-linux-4-14
2020/01/24 03:17 linux-4.14.y 8bac50406cca 11ebf937 .config console log report ci2-linux-4-14
2020/01/11 14:19 linux-4.14.y b0cdffaa546e 4c04afaa .config console log report ci2-linux-4-14
2019/12/27 16:03 linux-4.14.y e1f7d50ae3a3 be5c2c81 .config console log report ci2-linux-4-14
2019/10/26 12:21 linux-4.14.y b98aebd29824 25bb509e .config console log report ci2-linux-4-14
2019/09/03 10:07 linux-4.14.y 01fd1694b93c 14544a56 .config console log report ci2-linux-4-14
2019/06/20 03:20 linux-4.14.y bb263a2a2d43 34bf9440 .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.