syzbot


INFO: task hung in usbdev_release (2)

Status: upstream: reported C repro on 2023/08/09 15:47
Subsystems: usb
[Documentation on labels]
Reported-by: syzbot+bfa320b67fcbe2583c6f@syzkaller.appspotmail.com
First crash: 738d, last: 3d14h
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [usb?] INFO: task hung in usbdev_release (2) 0 (1) 2023/08/09 15:47
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in usbdev_release usb 20 804d 1211d 0/26 closed as invalid on 2022/02/07 19:19
linux-5.15 INFO: task hung in usbdev_release 1 5d00h 5d00h 0/3 upstream: reported on 2024/02/26 22:03
linux-4.19 INFO: task hung in usbdev_release 1 1225d 1225d 0/1 auto-closed as invalid on 2021/02/21 22:17
linux-6.1 INFO: task hung in usbdev_release 1 352d 352d 0/3 auto-obsoleted due to no activity on 2023/07/13 23:24
linux-4.19 INFO: task hung in usbdev_release (2) 10 480d 945d 0/1 auto-obsoleted due to no activity on 2023/03/08 04:55
linux-4.14 INFO: task hung in usbdev_release 2 1160d 1223d 0/1 auto-closed as invalid on 2021/04/27 06:36
linux-6.1 INFO: task hung in usbdev_release (2) origin:upstream C 1 36d 168d 0/3 upstream: reported C repro on 2023/09/16 19:39
Last patch testing requests (7)
Created Duration User Patch Repo Result
2024/02/28 07:33 18m retest repro upstream report log
2024/02/07 05:35 18m retest repro upstream report log
2024/01/09 16:11 22m retest repro upstream report log
2024/01/09 16:11 16m retest repro upstream report log
2024/01/09 16:11 16m retest repro upstream report log
2023/09/17 19:47 16m retest repro upstream report log
2023/09/17 19:47 1h05m retest repro upstream report log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/10/11 17:48 3h02m bisect fix upstream job log (0) log

Sample crash report:
INFO: task syz-executor428:5079 blocked for more than 143 seconds.
      Not tainted 6.7.0-syzkaller-09928-g052d534373b7 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor428 state:D stack:27256 pid:5079  tgid:5079  ppid:5076   flags:0x00000006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5400 [inline]
 __schedule+0xf12/0x5c00 kernel/sched/core.c:6727
 __schedule_loop kernel/sched/core.c:6802 [inline]
 schedule+0xe9/0x270 kernel/sched/core.c:6817
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6874
 __mutex_lock_common kernel/locking/mutex.c:684 [inline]
 __mutex_lock+0x5b9/0x9d0 kernel/locking/mutex.c:752
 device_lock include/linux/device.h:992 [inline]
 usbdev_release+0x87/0x470 drivers/usb/core/devio.c:1096
 __fput+0x270/0xb70 fs/file_table.c:376
 __fput_sync+0x47/0x50 fs/file_table.c:461
 __do_sys_close fs/open.c:1554 [inline]
 __se_sys_close fs/open.c:1539 [inline]
 __x64_sys_close+0x87/0xf0 fs/open.c:1539
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xd3/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f480bc470e0
RSP: 002b:00007ffe82546058 EFLAGS: 00000202 ORIG_RAX: 0000000000000003
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f480bc470e0
RDX: 0000000000000007 RSI: 00007ffe82545b90 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00000000000f4240
R13: 00007ffe82546308 R14: 0000000000000001 R15: 00007ffe825460a0
 </TASK>
INFO: lockdep is turned off.
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.7.0-syzkaller-09928-g052d534373b7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x277/0x390 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x299/0x300 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
 watchdog+0xf87/0x1210 kernel/hung_task.c:379
 kthread+0x2c6/0x3a0 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 2450 Comm: kworker/u4:7 Not tainted 6.7.0-syzkaller-09928-g052d534373b7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:preempt_count_sub+0x29/0x160 kernel/sched/core.c:5889
Code: 00 f3 0f 1e fa 48 c7 c0 a0 96 a2 92 53 89 fb 48 ba 00 00 00 00 00 fc ff df 48 89 c1 83 e0 07 48 c1 e9 03 83 c0 03 0f b6 14 11 <38> d0 7c 08 84 d2 0f 85 d3 00 00 00 8b 0d b5 18 48 11 85 c9 75 1b
RSP: 0018:ffffc9000a027988 EFLAGS: 00000206
RAX: 0000000000000003 RBX: 0000000000000001 RCX: 1ffffffff25452d4
RDX: 0000000000000004 RSI: 0000000000000004 RDI: 0000000000000001
RBP: ffffffff81d5e323 R08: 0000000000000000 R09: ffffed100260ee12
R10: ffff888013077093 R11: 0000000000000000 R12: 0000000000000327
R13: 0000000000000003 R14: ffffffff8d326f00 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000560493577680 CR3: 000000000cf79000 CR4: 0000000000350ef0
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline]
 _raw_spin_unlock+0x28/0x40 kernel/locking/spinlock.c:186
 spin_unlock include/linux/spinlock.h:391 [inline]
 __text_poke+0x617/0xca0 arch/x86/kernel/alternative.c:1962
 text_poke_bp_batch+0x3e0/0x750 arch/x86/kernel/alternative.c:2319
 text_poke_flush arch/x86/kernel/alternative.c:2488 [inline]
 text_poke_flush arch/x86/kernel/alternative.c:2485 [inline]
 text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2495
 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
 jump_label_update+0x1d7/0x400 kernel/jump_label.c:829
 static_key_disable_cpuslocked+0x154/0x1c0 kernel/jump_label.c:235
 static_key_disable+0x1a/0x20 kernel/jump_label.c:243
 toggle_allocation_gate mm/kfence/core.c:831 [inline]
 toggle_allocation_gate+0x13f/0x250 mm/kfence/core.c:818
 process_one_work+0x886/0x15d0 kernel/workqueue.c:2633
 process_scheduled_works kernel/workqueue.c:2706 [inline]
 worker_thread+0x8b9/0x1290 kernel/workqueue.c:2787
 kthread+0x2c6/0x3a0 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
 </TASK>

Crashes (50):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/16 04:04 upstream 052d534373b7 2a7bcc7f .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in usbdev_release
2023/11/02 16:52 upstream babe393974de b5f07fd3 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in usbdev_release
2023/10/14 20:40 upstream 727fb8376504 6388bc36 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in usbdev_release
2023/09/01 05:05 upstream b97d64c72259 696ea0d2 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in usbdev_release
2023/08/05 15:40 upstream 024ff300db33 4ffcc9ef .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in usbdev_release
2024/02/13 20:07 upstream c664e16bb1ba e66542d7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in usbdev_release
2024/02/09 00:57 upstream 047371968ffc 7f07e9b0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in usbdev_release
2023/12/19 15:27 upstream 2cf4f94d8e86 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in usbdev_release
2023/11/28 09:02 upstream 2cc14f52aeb7 9fe51b7c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in usbdev_release
2023/11/26 02:40 upstream b46ae77f6787 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in usbdev_release
2023/11/19 20:05 upstream 037266a5f723 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in usbdev_release
2023/10/24 12:30 upstream 84186fcb834e af8d2e46 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in usbdev_release
2023/10/20 17:07 upstream ce55c22ec8b2 a42250d2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in usbdev_release
2023/11/28 11:45 upstream df60cee26a2e 9fe51b7c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: task hung in usbdev_release
2023/11/26 02:14 upstream b46ae77f6787 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: task hung in usbdev_release
2023/08/22 05:11 upstream f7757129e3de 6b415825 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in usbdev_release
2023/08/05 12:09 upstream 024ff300db33 4ffcc9ef .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in usbdev_release
2023/07/19 16:22 upstream ccff6d117d8d 022df2bb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in usbdev_release
2023/06/11 21:43 upstream 4c605260bc60 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in usbdev_release
2023/06/09 14:58 upstream 33f2b5785a2b 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in usbdev_release
2023/03/01 18:48 upstream c0927a7a5391 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in usbdev_release
2023/01/31 00:31 upstream 6d796c50f84c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in usbdev_release
2022/12/04 21:07 upstream c2bf05db6c78 e080de16 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in usbdev_release
2022/10/20 10:13 upstream 55be6084c8e0 b31320fc .config console log report info [disk image] [vmlinux] ci-upstream-kasan-gce-smack-root INFO: task hung in usbdev_release
2022/07/29 09:21 upstream 33ea1340bafe fb95c74d .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in usbdev_release
2022/05/23 07:39 upstream 4b0986a3613c 7268fa62 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in usbdev_release
2022/03/12 02:01 upstream 79b00034e9dc 9e8eaa75 .config console log report info ci-upstream-kasan-gce-root INFO: task hung in usbdev_release
2022/03/10 07:58 upstream e7e19defa575 9e8eaa75 .config console log report info ci-upstream-kasan-gce-root INFO: task hung in usbdev_release
2022/03/09 20:13 upstream 330f4c53d3c2 9e8eaa75 .config console log report info ci-upstream-kasan-gce-root INFO: task hung in usbdev_release
2022/02/23 18:17 upstream 5c1ee569660d 6e821dbf .config console log report info ci-upstream-kasan-gce INFO: task hung in usbdev_release
2022/02/23 12:43 upstream 5c1ee569660d 6e821dbf .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in usbdev_release
2023/06/24 13:32 upstream 61dabacdad4e 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: task hung in usbdev_release
2022/10/12 09:02 upstream 55be6084c8e0 16a9c9e0 .config console log report info [disk image] [vmlinux] ci-upstream-kasan-gce-386 INFO: task hung in usbdev_release
2022/08/18 15:24 upstream 274a2eebf80c d58e263f .config console log report info ci-upstream-kasan-gce-386 INFO: task hung in usbdev_release
2022/03/22 12:59 upstream eaa54b1458ca e2d91b1d .config console log report info ci-upstream-kasan-gce-386 INFO: task hung in usbdev_release
2023/12/26 15:38 linux-next 39676dfe5233 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in usbdev_release
2024/01/23 18:32 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 0802e17d9aca 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in usbdev_release
2023/11/13 04:29 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in usbdev_release
2023/09/03 19:32 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe4469582053 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in usbdev_release
2023/12/09 13:23 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 3fec323339a4 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in usbdev_release
2023/12/07 23:19 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 3fec323339a4 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in usbdev_release
2023/10/17 02:13 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 3fec323339a4 342b9c55 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in usbdev_release
2023/10/14 15:32 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 3fec323339a4 f757a323 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in usbdev_release
2022/07/03 16:47 linux-next cb71b93c2dc3 1434eec0 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task hung in usbdev_release
2023/08/17 18:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ac9847efd629 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in usbdev_release
2023/04/25 04:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a fdc18293 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in usbdev_release
2022/11/04 12:05 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 6d752409 .config console log report info [disk image] [vmlinux] ci-upstream-gce-arm64 INFO: task hung in usbdev_release
2022/10/25 18:13 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 45645420 .config console log report info [disk image] [vmlinux] ci-upstream-gce-arm64 INFO: task hung in usbdev_release
2022/10/03 23:57 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 feb56351 .config console log report info [disk image] [vmlinux] ci-upstream-gce-arm64 INFO: task hung in usbdev_release
2022/10/01 23:28 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 feb56351 .config console log report info [disk image] [vmlinux] ci-upstream-gce-arm64 INFO: task hung in usbdev_release
* Struck through repros no longer work on HEAD.