INFO: task hung in usbdev_ioctl (2)

Status: upstream: reported on 2026/08/03 16:39
Reported-by: syzbot+0fcf460d99a95cfbb136@syzkaller.appspotmail.com
First crash: 32d, last: 8d14h
Similar bugs (11)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in usbdev_ioctl (6) usb 1 1 677d 677d 0/29 auto-obsoleted due to no activity on 2025/01/26 07:16
linux-6.1 INFO: task hung in usbdev_ioctl 1 1 886d 886d 0/3 auto-obsoleted due to no activity on 2024/07/10 11:29
upstream INFO: task hung in usbdev_ioctl (5) usb 1 4 866d 911d 0/29 auto-obsoleted due to no activity on 2024/07/21 02:28
upstream INFO: task hung in usbdev_ioctl (4) usb 1 1 1168d 1168d 0/29 auto-obsoleted due to no activity on 2023/09/22 21:55
android-6-12 INFO: task hung in usbdev_ioctl (2) origin:upstream 1 syz 4 15d 55d 0/1 premoderation: reported syz repro on 2026/07/11 15:35
android-6-12 INFO: task hung in usbdev_ioctl 1 1 352d 352d 0/1 auto-obsoleted due to no activity on 2025/12/16 11:45
upstream INFO: task hung in usbdev_ioctl (7) usb 1 11 240d 555d 0/29 auto-obsoleted due to no activity on 2026/04/07 22:15
upstream INFO: task hung in usbdev_ioctl (2) usb 1 1 1658d 1658d 0/29 auto-closed as invalid on 2022/05/21 06:20
upstream INFO: task hung in usbdev_ioctl (3) usb 1 4 1287d 1447d 0/29 auto-obsoleted due to no activity on 2023/05/26 15:30
linux-5.15 INFO: task hung in usbdev_ioctl 1 2 12d 12d 0/3 upstream: reported on 2026/08/24 07:30
upstream INFO: task hung in usbdev_ioctl usb 1 3 1744d 1750d 0/29 closed as invalid on 2022/02/08 09:40

Sample crash report:
INFO: task syz.7.1976:14224 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.7.1976      state:D stack:29136 pid:14224 ppid:9253   flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5246 [inline]
 __schedule+0x107f/0x4030 kernel/sched/core.c:6563
 schedule+0xb9/0x180 kernel/sched/core.c:6639
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6698
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x548/0xae0 kernel/locking/mutex.c:747
 device_lock include/linux/device.h:885 [inline]
 usbdev_do_ioctl drivers/usb/core/devio.c:2609 [inline]
 usbdev_ioctl+0x143/0x1f20 drivers/usb/core/devio.c:2817
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f7791b9e0d9
RSP: 002b:00007f7792a16028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f7791e26360 RCX: 00007f7791b9e0d9
RDX: 0000000000000000 RSI: 0000000080045505 RDI: 0000000000000008
RBP: 00007f7791c35024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f7791e263f8 R14: 00007f7791e26360 R15: 00007ffcd452b318
 </TASK>

Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
 #0: ffffffff8cb2e4f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xef0 kernel/rcu/tasks.h:517
1 lock held by rcu_tasks_trace/13:
 #0: ffffffff8cb2ed10 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xef0 kernel/rcu/tasks.h:517
3 locks held by kworker/1:1/26:
1 lock held by khungtaskd/28:
 #0: ffffffff8cb2db60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
 #0: ffffffff8cb2db60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline]
 #0: ffffffff8cb2db60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6527
2 locks held by getty/4027:
 #0: ffff88814d971098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
 #1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41e/0x1360 drivers/tty/n_tty.c:2198
2 locks held by kworker/0:5/12231:
 #0: ffff888017470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7b4/0x1160 kernel/workqueue.c:2267
 #1: ffffc9000df97d00 (free_ipc_work){+.+.}-{0:0}, at: process_one_work+0x7b4/0x1160 kernel/workqueue.c:2267
2 locks held by kworker/0:12/12238:
 #0: ffff888017472138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7b4/0x1160 kernel/workqueue.c:2267
 #1: ffffc9000dfdfd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7b4/0x1160 kernel/workqueue.c:2267
7 locks held by syz.7.1976/14222:
 #0: ffff8880280d7190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:885 [inline]
 #0: ffff8880280d7190 (&dev->mutex){....}-{3:3}, at: usbdev_do_ioctl drivers/usb/core/devio.c:2609 [inline]
 #0: ffff8880280d7190 (&dev->mutex){....}-{3:3}, at: usbdev_ioctl+0x143/0x1f20 drivers/usb/core/devio.c:2817
 #1: ffff888146358118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:885 [inline]
 #1: ffff888146358118 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1099 [inline]
 #1: ffff888146358118 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xb1/0x7c0 drivers/base/dd.c:1302
 #2: ffff888054b9f190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:885 [inline]
 #2: ffff888054b9f190 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0xf8/0x8a0 drivers/usb/core/hub.c:2305
 #3: ffff8880542dc118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:885 [inline]
 #3: ffff8880542dc118 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1099 [inline]
 #3: ffff8880542dc118 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xb1/0x7c0 drivers/base/dd.c:1302
 #4: ffffffff8dd01288 (register_mutex#6){+.+.}-{3:3}, at: usb_audio_disconnect+0xd0/0x6f0 sound/usb/card.c:960
 #5: ffff88807de4c170 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:885 [inline]
 #5: ffff88807de4c170 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1099 [inline]
 #5: ffff88807de4c170 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xb1/0x7c0 drivers/base/dd.c:1302
 #6: ffffffff8dcc6f48 (register_mutex#7){+.+.}-{3:3}, at: snd_seq_midisynth_remove+0x68/0x4f0 sound/core/seq/seq_midi.c:459
1 lock held by syz.7.1976/14224:
 #0: ffff8880280d7190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:885 [inline]
 #0: ffff8880280d7190 (&dev->mutex){....}-{3:3}, at: usbdev_do_ioctl drivers/usb/core/devio.c:2609 [inline]
 #0: ffff8880280d7190 (&dev->mutex){....}-{3:3}, at: usbdev_ioctl+0x143/0x1f20 drivers/usb/core/devio.c:2817
3 locks held by syz-executor/14323:
 #0: ffff88803c0591e0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:521 [inline]
 #0: ffff88803c0591e0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x20e/0x500 net/bluetooth/hci_core.c:2717
 #1: ffff88803c058428 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x506/0x1040 net/bluetooth/hci_sync.c:5292
 #2: ffffffff8deba928 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1810 [inline]
 #2: ffffffff8deba928 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xac/0x290 net/bluetooth/hci_conn.c:2548
1 lock held by syz.3.2087/14946:
 #0: ffff8880280d7190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:885 [inline]
 #0: ffff8880280d7190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x14e/0x7a0 drivers/usb/core/devio.c:1052
4 locks held by syz-executor/15113:
 #0: ffff888082aed1e0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:521 [inline]
 #0: ffff888082aed1e0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x20e/0x500 net/bluetooth/hci_core.c:2717
 #1: ffff888082aec428 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x506/0x1040 net/bluetooth/hci_sync.c:5292
 #2: ffffffff8deba928 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1810 [inline]
 #2: ffffffff8deba928 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xac/0x290 net/bluetooth/hci_conn.c:2548
 #3: ffffffff8cb33838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline]
 #3: ffffffff8cb33838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3c0/0x890 kernel/rcu/tree_exp.h:962
1 lock held by syz.8.2136/15244:
 #0: ffff8880280d7190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:885 [inline]
 #0: ffff8880280d7190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x14e/0x7a0 drivers/usb/core/devio.c:1052
3 locks held by syz-executor/15371:
 #0: ffff88805de1d1e0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:521 [inline]
 #0: ffff88805de1d1e0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x20e/0x500 net/bluetooth/hci_core.c:2717
 #1: ffff88805de1c428 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x506/0x1040 net/bluetooth/hci_sync.c:5292
 #2: ffffffff8deba928 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1810 [inline]
 #2: ffffffff8deba928 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xac/0x290 net/bluetooth/hci_conn.c:2548
1 lock held by syz.2.2169/15453:
 #0: ffffffff8cb33838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline]
 #0: ffffffff8cb33838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3c0/0x890 kernel/rcu/tree_exp.h:962
3 locks held by syz.5.2176/15510:
 #0: ffff88803c2811e0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:521 [inline]
 #0: ffff88803c2811e0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x20e/0x500 net/bluetooth/hci_core.c:2717
 #1: ffff88803c280428 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x506/0x1040 net/bluetooth/hci_sync.c:5292
 #2: ffffffff8deba928 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1810 [inline]
 #2: ffffffff8deba928 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xac/0x290 net/bluetooth/hci_conn.c:2548
1 lock held by dhcpcd-run-hook/15535:

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

NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106
 nmi_cpu_backtrace+0x3e6/0x460 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x1d4/0x450 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
 watchdog+0xf0e/0xf50 kernel/hung_task.c:377
 kthread+0x29d/0x330 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 7884 Comm: kworker/u4:15 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: bat_events batadv_nc_worker
RIP: 0010:check_preemption_disabled+0x1/0x110 lib/smp_processor_id.c:13
Code: c0 a3 bc 8c 4c 89 f6 e8 7d 9c 0c fa e9 6e ff ff ff 00 00 cc cc 00 00 cc cc 48 c7 c7 c0 61 df 8a 48 c7 c6 00 62 df 8a eb 00 55 <41> 57 41 56 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24
RSP: 0018:ffffc900038dfbb0 EFLAGS: 00000282
RAX: ffffffff89fa467f RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff8880541d5a00 RSI: ffffffff8adf6200 RDI: ffffffff8adf61c0
RBP: ffff888057a04a88 R08: dffffc0000000000 R09: 1ffffffff2162648
R10: dffffc0000000000 R11: fffffbfff2162649 R12: dffffc0000000000
R13: ffffffff89fa464e R14: ffff8880578dcc80 R15: 0000000000000151
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000562e232bb950 CR3: 000000007d2c8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline]
 rcu_is_watching+0x11/0xa0 kernel/rcu/tree.c:721
 rcu_read_lock include/linux/rcupdate.h:792 [inline]
 batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline]
 batadv_nc_worker+0x108/0x600 net/batman-adv/network-coding.c:719
 process_one_work+0x8ab/0x1160 kernel/workqueue.c:2292
 worker_thread+0xaf5/0x12a0 kernel/workqueue.c:2439
 kthread+0x29d/0x330 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/27 18:59 linux-6.1.y 79a9660d699e 69a01293 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in usbdev_ioctl
2026/08/21 01:48 linux-6.1.y 7e6e67054721 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in usbdev_ioctl
2026/08/10 23:45 linux-6.1.y e4f7d8be268e 508909ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in usbdev_ioctl
2026/08/10 23:45 linux-6.1.y e4f7d8be268e 508909ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in usbdev_ioctl
2026/08/04 03:58 linux-6.1.y fb28aa725e05 9451e17e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in usbdev_ioctl
2026/08/03 16:44 linux-6.1.y fb28aa725e05 6b7c9f71 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in usbdev_ioctl
2026/08/03 16:38 linux-6.1.y fb28aa725e05 6b7c9f71 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in usbdev_ioctl
* Struck through repros no longer work on HEAD.