syzbot


INFO: task hung in usb_get_descriptor

Status: upstream: reported C repro on 2023/04/04 12:58
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+2d5fbfa88b7ba0fce676@syzkaller.appspotmail.com
First crash: 387d, last: 289d
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2023/05/16 upstream (ToT) f1fcbaa18b28 C [report] INFO: task hung in usb_get_descriptor
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in usb_get_descriptor (2) usb C inconclusive 862 43d 490d 0/26 upstream: reported C repro on 2022/12/22 05:53
upstream INFO: task hung in usb_get_descriptor C done done 4149 775d 1297d 20/26 fixed on 2022/05/13 11:13
linux-4.14 INFO: task hung in usb_get_descriptor C error 1317 761d 1299d 0/1 upstream: reported C repro on 2020/10/03 17:33
linux-4.19 INFO: task hung in usb_get_descriptor C error 1055 419d 1300d 0/1 upstream: reported C repro on 2020/10/03 12:49
linux-6.1 INFO: task hung in usb_get_descriptor origin:upstream C 6 15h11m 391d 0/3 upstream: reported C repro on 2023/03/31 13:11

Sample crash report:
INFO: task kworker/1:3:1953 blocked for more than 143 seconds.
      Not tainted 5.15.110-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:3     state:D stack:    0 pid: 1953 ppid:     2 flags:0x00000008
Workqueue: usb_hub_wq hub_event
Call trace:
 __switch_to+0x308/0x5e8 arch/arm64/kernel/process.c:518
 context_switch kernel/sched/core.c:5026 [inline]
 __schedule+0xf10/0x1e38 kernel/sched/core.c:6372
 schedule+0x11c/0x1c8 kernel/sched/core.c:6455
 usb_kill_urb+0x1c0/0x358 drivers/usb/core/urb.c:726
 usb_start_wait_urb+0x16c/0x414 drivers/usb/core/message.c:64
 usb_internal_control_msg drivers/usb/core/message.c:102 [inline]
 usb_control_msg+0x228/0x3f8 drivers/usb/core/message.c:153
 usb_get_descriptor+0xb4/0x3bc drivers/usb/core/message.c:793
 usb_get_device_descriptor+0x9c/0xfc drivers/usb/core/message.c:1071
 hub_port_init+0xdc4/0x1e80 drivers/usb/core/hub.c:4927
 hub_port_connect drivers/usb/core/hub.c:5287 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5502 [inline]
 port_event drivers/usb/core/hub.c:5648 [inline]
 hub_event+0x1f9c/0x48c4 drivers/usb/core/hub.c:5730
 process_one_work+0x790/0x11b8 kernel/workqueue.c:2306
 worker_thread+0x910/0x1034 kernel/workqueue.c:2453
 kthread+0x37c/0x45c kernel/kthread.c:319
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870

Showing all locks held in the system:
1 lock held by khungtaskd/27:
 #0: ffff800014aa1960 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:268
5 locks held by kworker/1:3/1953:
 #0: ffff0000c280ad38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2279
 #1: ffff800021557c00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2281
 #2: ffff0000ced85220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #2: ffff0000ced85220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c8/0x48c4 drivers/usb/core/hub.c:5676
 #3: ffff0000cede05d8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3091 [inline]
 #3: ffff0000cede05d8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5254 [inline]
 #3: ffff0000cede05d8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline]
 #3: ffff0000cede05d8 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5648 [inline]
 #3: ffff0000cede05d8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x1a34/0x48c4 drivers/usb/core/hub.c:5730
 #4: ffff0000ce7bb468 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5255 [inline]
 #4: ffff0000ce7bb468 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline]
 #4: ffff0000ce7bb468 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5648 [inline]
 #4: ffff0000ce7bb468 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x1a5c/0x48c4 drivers/usb/core/hub.c:5730
2 locks held by getty/3725:
 #0: ffff0000d2ec3098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340
 #1: ffff80001a35b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1200 drivers/tty/n_tty.c:2147
1 lock held by sshd/4002:
 #0: ffff0001b4810d18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:475 [inline]
 #0: ffff0001b4810d18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1326 [inline]
 #0: ffff0001b4810d18 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1621 [inline]
 #0: ffff0001b4810d18 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x328/0x1e38 kernel/sched/core.c:6286
7 locks held by syz-executor194/31811:

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


Crashes (41):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/05 11:36 linux-5.15.y 8a7f2a5c5aa1 518a39a6 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/06/22 15:15 linux-5.15.y f67653019430 79782afc .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in usb_get_descriptor
2023/05/29 13:17 linux-5.15.y 1fe619a7d252 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in usb_get_descriptor
2023/06/17 01:23 linux-5.15.y 471e639e59d1 f3921d4d .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/06/01 16:47 linux-5.15.y 0ab06468cbd1 babc4389 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in usb_get_descriptor
2023/05/22 18:40 linux-5.15.y 9d6bde853685 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in usb_get_descriptor
2023/07/11 09:47 linux-5.15.y d54cfc420586 f8780940 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/06/24 08:59 linux-5.15.y f67653019430 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/06/11 18:23 linux-5.15.y 7349e40704a0 49519f06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/05/22 18:36 linux-5.15.y 9d6bde853685 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/05/19 22:36 linux-5.15.y 9d6bde853685 96689200 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/05/18 02:08 linux-5.15.y 9d6bde853685 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/05/17 23:06 linux-5.15.y 9d6bde853685 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/05/17 09:09 linux-5.15.y b0ece631f84a eaac4681 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/05/15 11:36 linux-5.15.y b0ece631f84a c4d362e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/05/11 22:13 linux-5.15.y b0ece631f84a adb9a3cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/05/06 16:41 linux-5.15.y 8a7f2a5c5aa1 90c93c40 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/05/05 17:55 linux-5.15.y 8a7f2a5c5aa1 de870ca5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/05/04 18:45 linux-5.15.y 8a7f2a5c5aa1 518a39a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/05/04 06:17 linux-5.15.y 8a7f2a5c5aa1 5b7ff9dd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/05/03 15:22 linux-5.15.y 8a7f2a5c5aa1 b5918830 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/04/27 15:35 linux-5.15.y f48aeeaaa64c 6f3d6fa7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/04/26 03:25 linux-5.15.y 3299fb36854f 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/04/25 03:55 linux-5.15.y 3299fb36854f 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/04/24 23:06 linux-5.15.y 3299fb36854f fdc18293 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/04/22 21:27 linux-5.15.y 3299fb36854f 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/04/22 15:47 linux-5.15.y 3299fb36854f 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/04/20 20:28 linux-5.15.y 3299fb36854f a219f34e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/04/18 19:33 linux-5.15.y 4fdad925aa1a d931e9f0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/04/18 12:58 linux-5.15.y 4fdad925aa1a 436577a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/04/18 11:55 linux-5.15.y 4fdad925aa1a 436577a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/04/17 21:18 linux-5.15.y 4fdad925aa1a 436577a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/04/14 15:16 linux-5.15.y 4fdad925aa1a ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/04/13 12:53 linux-5.15.y d86dfc4d95cd 3cfcaa1b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/04/12 17:04 linux-5.15.y d86dfc4d95cd 1a1596b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/04/11 22:25 linux-5.15.y d86dfc4d95cd 49faf98d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/04/10 12:44 linux-5.15.y d86dfc4d95cd 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/04/10 11:15 linux-5.15.y d86dfc4d95cd 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/04/09 20:32 linux-5.15.y d86dfc4d95cd 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/04/05 14:29 linux-5.15.y d86dfc4d95cd 8b834965 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
2023/04/04 12:58 linux-5.15.y c957cbb87315 928dd177 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in usb_get_descriptor
* Struck through repros no longer work on HEAD.