syzbot


INFO: task hung in usb_bulk_msg

Status: upstream: reported C repro on 2019/04/15 07:30
Reported-by: syzbot+e716aef347d472a5333a@syzkaller.appspotmail.com
First crash: 1926d, last: 512d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 INFO: task hung in usb_bulk_msg C 88 508d 1860d 0/1 upstream: reported C repro on 2019/06/20 04:21
upstream INFO: task hung in usb_bulk_msg usb C error unreliable 557 991d 2147d 0/27 auto-obsoleted due to no activity on 2022/10/02 23:39
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2022/07/23 04:01 11m bisect fix linux-4.19.y error job log
2021/08/02 08:07 44m bisect fix linux-4.19.y OK (0) job log log
2020/12/30 08:06 40m bisect fix linux-4.19.y OK (0) job log log
2020/11/28 17:34 38m bisect fix linux-4.19.y OK (0) job log log
2020/10/27 20:37 40m bisect fix linux-4.19.y OK (0) job log log

Sample crash report:
INFO: task syz-executor057:8093 blocked for more than 140 seconds.
      Not tainted 4.19.172-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor057 D26880  8093   8092 0x00000004
Call Trace:
 context_switch syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3561
 schedule_timeout+0x92d/0xfe0 syzkaller/managers/linux-4-19/kernel/kernel/time/timer.c:1794
 do_wait_for_common syzkaller/managers/linux-4-19/kernel/kernel/sched/completion.c:83 [inline]
 __wait_for_common syzkaller/managers/linux-4-19/kernel/kernel/sched/completion.c:104 [inline]
 wait_for_common+0x29c/0x470 syzkaller/managers/linux-4-19/kernel/kernel/sched/completion.c:115
 usb_start_wait_urb+0x14b/0x4c0 syzkaller/managers/linux-4-19/kernel/drivers/usb/core/message.c:62
 usb_bulk_msg+0x226/0x550 syzkaller/managers/linux-4-19/kernel/drivers/usb/core/message.c:253
 proc_bulk+0x3de/0x860 syzkaller/managers/linux-4-19/kernel/drivers/usb/core/devio.c:1206
 usbdev_do_ioctl+0x696/0x3030 syzkaller/managers/linux-4-19/kernel/drivers/usb/core/devio.c:2430
 usbdev_ioctl+0x21/0x30 syzkaller/managers/linux-4-19/kernel/drivers/usb/core/devio.c:2580
 vfs_ioctl syzkaller/managers/linux-4-19/kernel/fs/ioctl.c:46 [inline]
 file_ioctl syzkaller/managers/linux-4-19/kernel/fs/ioctl.c:501 [inline]
 do_vfs_ioctl+0xcdb/0x12e0 syzkaller/managers/linux-4-19/kernel/fs/ioctl.c:688
 ksys_ioctl+0x9b/0xc0 syzkaller/managers/linux-4-19/kernel/fs/ioctl.c:705
 __do_sys_ioctl syzkaller/managers/linux-4-19/kernel/fs/ioctl.c:712 [inline]
 __se_sys_ioctl syzkaller/managers/linux-4-19/kernel/fs/ioctl.c:710 [inline]
 __x64_sys_ioctl+0x6f/0xb0 syzkaller/managers/linux-4-19/kernel/fs/ioctl.c:710
 do_syscall_64+0xf9/0x620 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x444209
Code: Bad RIP value.
RSP: 002b:00007fff0bb91248 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000004004a0 RCX: 0000000000444209
RDX: 00000000200002c0 RSI: 00000000c0185502 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007fff0bb913e8 R09: 00007fff0bb913e8
R10: 00007fff0bb90cc0 R11: 0000000000000246 R12: 0000000000403520
R13: 431bde82d7b634db R14: 00000000004b2018 R15: 00000000004004a0

Showing all locks held in the system:
1 lock held by khungtaskd/1566:
 #0: 00000000ddfb48e3 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 syzkaller/managers/linux-4-19/kernel/kernel/locking/lockdep.c:4440
1 lock held by in:imklog/7742:
 #0: 00000000c2f8398a (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 syzkaller/managers/linux-4-19/kernel/fs/file.c:767

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

NMI backtrace for cpu 1
CPU: 1 PID: 1566 Comm: khungtaskd Not tainted 4.19.172-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack syzkaller/managers/linux-4-19/kernel/lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef syzkaller/managers/linux-4-19/kernel/lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x63/0xa2 syzkaller/managers/linux-4-19/kernel/lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 syzkaller/managers/linux-4-19/kernel/lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace syzkaller/managers/linux-4-19/kernel/./include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks syzkaller/managers/linux-4-19/kernel/kernel/hung_task.c:203 [inline]
 watchdog+0x991/0xe60 syzkaller/managers/linux-4-19/kernel/kernel/hung_task.c:287
 kthread+0x33f/0x460 syzkaller/managers/linux-4-19/kernel/kernel/kthread.c:259
 ret_from_fork+0x24/0x30 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/entry_64.S:415
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4691 Comm: systemd-journal Not tainted 4.19.172-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:get_current syzkaller/managers/linux-4-19/kernel/./arch/x86/include/asm/current.h:15 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x4/0x50 syzkaller/managers/linux-4-19/kernel/kernel/kcov.c:100
Code: e8 a1 b7 35 00 e9 ab fe ff ff 4c 89 ef e8 94 b7 35 00 e9 23 fe ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 48 8b 34 24 <65> 48 8b 04 25 80 df 01 00 65 8b 15 3c 85 9f 7e 81 e2 00 01 1f 00
RSP: 0018:ffff8880a0e1fb68 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 1ffff110141c3f98 RCX: ffffffff81a1b402
RDX: 0000000000000041 RSI: ffffffff81a6165a RDI: ffff8880a0e1fce0
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880a0e14540
R13: ffff8880a0e1fce0 R14: 0000000000000001 R15: ffff8880a0e1fe90
FS:  00007f87ace008c0(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f87aa1d2000 CR3: 00000000a0c2b000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 path_openat+0x8a/0x2df0 syzkaller/managers/linux-4-19/kernel/fs/namei.c:3526
 do_filp_open+0x18c/0x3f0 syzkaller/managers/linux-4-19/kernel/fs/namei.c:3567
 do_sys_open+0x3b3/0x520 syzkaller/managers/linux-4-19/kernel/fs/open.c:1085
 do_syscall_64+0xf9/0x620 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f87ac390840
Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24
RSP: 002b:00007ffe20bf28b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007ffe20bf2bc0 RCX: 00007f87ac390840
RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 000055aeb81c0680
RBP: 000000000000000d R08: 000000000000ffc0 R09: 00000000ffffffff
R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000055aeb81b3040 R14: 00007ffe20bf2b80 R15: 000055aeb81b9b20

Crashes (213):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/02/08 00:33 linux-4.19.y 811218eceeaa 2ce644fc .config console log report syz C ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2020/08/28 20:29 linux-4.19.y f6d5cb9e2c06 d5a3ae1f .config console log report syz C ci2-linux-4-19
2021/02/15 08:00 linux-4.19.y 811218eceeaa 98682e5e .config console log report syz ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2020/08/28 15:24 linux-4.19.y f6d5cb9e2c06 816e0689 .config console log report syz ci2-linux-4-19
2023/02/27 22:10 linux-4.19.y 3f8a27f9e27b 95aee97a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2023/02/20 07:24 linux-4.19.y 3f8a27f9e27b bcdf85f8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2023/02/12 22:43 linux-4.19.y 3f8a27f9e27b 93e26d60 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2023/02/12 05:00 linux-4.19.y 3f8a27f9e27b 93e26d60 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2023/02/10 01:16 linux-4.19.y 3f8a27f9e27b 07980f9d .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2023/02/09 22:46 linux-4.19.y 3f8a27f9e27b 07980f9d .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2023/02/04 19:27 linux-4.19.y 3f8a27f9e27b be607b78 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2023/02/03 02:07 linux-4.19.y 3f8a27f9e27b 16d19e30 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2023/01/22 12:15 linux-4.19.y 3f8a27f9e27b cc0f9968 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2023/01/09 05:03 linux-4.19.y 3f8a27f9e27b 1dac8c7a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/12/19 06:59 linux-4.19.y 3f8a27f9e27b 05494336 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/12/18 04:12 linux-4.19.y 3f8a27f9e27b 05494336 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/12/10 20:44 linux-4.19.y 3f8a27f9e27b 67be1ae7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/11/27 06:11 linux-4.19.y 3f8a27f9e27b f4470a7b .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/11/17 21:08 linux-4.19.y 3f8a27f9e27b 4ba8ab94 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/11/17 08:35 linux-4.19.y 3f8a27f9e27b 3a127a31 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/11/10 20:21 linux-4.19.y 3f8a27f9e27b 3ead01ad .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/11/06 09:03 linux-4.19.y 3f8a27f9e27b 6d752409 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/10/22 15:25 linux-4.19.y 3f8a27f9e27b c0b80a55 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/10/21 16:00 linux-4.19.y 3f8a27f9e27b 63e790dd .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/10/20 17:41 linux-4.19.y 3f8a27f9e27b b31320fc .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/10/16 11:12 linux-4.19.y 3f8a27f9e27b 67cb024c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/10/16 01:22 linux-4.19.y 3f8a27f9e27b 67cb024c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/10/08 16:42 linux-4.19.y 3f8a27f9e27b aea5da89 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/10/05 01:59 linux-4.19.y 3f8a27f9e27b eab8f949 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/09/07 15:47 linux-4.19.y 3f8a27f9e27b c5b7bc57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/09/05 18:41 linux-4.19.y 3f8a27f9e27b 922294ab .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/08/30 02:38 linux-4.19.y 3f8a27f9e27b d7593c58 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/08/29 13:54 linux-4.19.y 3f8a27f9e27b 94da0b6b .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/08/28 00:33 linux-4.19.y 3f8a27f9e27b 07177916 .config console log report info ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/08/24 03:56 linux-4.19.y 3f8a27f9e27b cea8b0f7 .config console log report info ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/08/23 07:28 linux-4.19.y 3f8a27f9e27b 26a13b38 .config console log report info ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/08/21 09:36 linux-4.19.y 3f8a27f9e27b 26a13b38 .config console log report info ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/08/17 16:41 linux-4.19.y 3f8a27f9e27b 4e72d229 .config console log report info ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/08/15 23:24 linux-4.19.y 3f8a27f9e27b 8dfcaa3d .config console log report info ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/08/12 23:13 linux-4.19.y 3f8a27f9e27b 8dfcaa3d .config console log report info ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/08/12 21:42 linux-4.19.y 3f8a27f9e27b 8dfcaa3d .config console log report info ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/08/11 22:37 linux-4.19.y 3f8a27f9e27b 21724cb2 .config console log report info ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/08/11 15:16 linux-4.19.y 3f8a27f9e27b 787ed7e0 .config console log report info ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/07/26 03:50 linux-4.19.y 3f8a27f9e27b 34795c51 .config console log report info ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/07/24 15:35 linux-4.19.y 3f8a27f9e27b 22343af4 .config console log report info ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/06/23 03:38 linux-4.19.y 3f8a27f9e27b 912f5df7 .config console log report info ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/06/15 09:10 linux-4.19.y 3f8a27f9e27b 127d1faf .config console log report info ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2022/06/15 05:14 linux-4.19.y 3f8a27f9e27b 127d1faf .config console log report info ci2-linux-4-19 INFO: task hung in usb_bulk_msg
2020/11/30 03:35 linux-4.19.y 0c88e405c97e a0092f9d .config console log report info ci2-linux-4-19
2019/04/15 06:29 linux-4.19.y 4d552acf3370 505ab413 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.