syzbot


INFO: task hung in odev_release

Status: closed as invalid on 2019/05/08 13:05
Subsystems: sound
[Documentation on labels]
First crash: 1842d, last: 1840d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-44 INFO: task hung in odev_release 1478 2251d 2273d 0/2 auto-closed as invalid on 2019/02/22 12:59
linux-5.15 INFO: task hung in odev_release 1 32d 32d 0/3 upstream: reported on 2024/03/24 14:50
upstream INFO: task hung in odev_release (2) sound 3 558d 627d 0/26 auto-obsoleted due to no activity on 2023/01/17 10:27

Sample crash report:
INFO: task syz-executor.4:9145 blocked for more than 143 seconds.
      Not tainted 5.1.0-rc4-next-20190411 #23
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.4  D28520  9145   8966 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2877 [inline]
 __schedule+0x817/0x1cc0 kernel/sched/core.c:3518
 schedule+0x92/0x180 kernel/sched/core.c:3562
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3620
 __mutex_lock_common kernel/locking/mutex.c:1002 [inline]
 __mutex_lock+0x726/0x1310 kernel/locking/mutex.c:1072
 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087
 odev_release+0x4c/0x80 sound/core/seq/oss/seq_oss.c:152
 __fput+0x2e5/0x8d0 fs/file_table.c:278
 ____fput+0x16/0x20 fs/file_table.c:309
 task_work_run+0x14a/0x1c0 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:188 [inline]
 exit_to_usermode_loop+0x273/0x2c0 arch/x86/entry/common.c:166
 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:268 [inline]
 do_syscall_64+0x52d/0x610 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4129e1
Code: e8 34 99 01 00 e9 45 fe ff ff 4c 8b 86 80 00 00 00 4c 39 c3 72 08 48 85 f6 e9 32 fd ff ff 44 0f b6 46 64 41 80 f8 01 74 08 48 <85> f6 e9 1f fd ff ff 0f b7 56 5e 66 85 d2 74 6a 48 29 fb 0f b7 d2
RSP: 002b:00007ffeee79f450 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00000000004129e1
RDX: 0000001b2c120000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 0000000000741048 R08: 00000000adf569bf R09: 00000000adf569c3
R10: 00007ffeee79f520 R11: 0000000000000293 R12: 0000000000000001
R13: 0000000000023593 R14: 00000000000235c0 R15: 000000000073bf0c
INFO: task syz-executor.1:9146 blocked for more than 143 seconds.
      Not tainted 5.1.0-rc4-next-20190411 #23
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.1  D28520  9146   8958 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2877 [inline]
 __schedule+0x817/0x1cc0 kernel/sched/core.c:3518
 schedule+0x92/0x180 kernel/sched/core.c:3562
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3620
 __mutex_lock_common kernel/locking/mutex.c:1002 [inline]
 __mutex_lock+0x726/0x1310 kernel/locking/mutex.c:1072
 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087
 snd_seq_kernel_client_ctl+0xe5/0x170 sound/core/seq/seq_clientmgr.c:2345
 snd_seq_oss_control sound/core/seq/oss/seq_oss_device.h:157 [inline]
 snd_seq_oss_writeq_clear+0xe0/0x140 sound/core/seq/oss/seq_oss_writeq.c:85
 snd_seq_oss_writeq_delete+0x20/0x40 sound/core/seq/oss/seq_oss_writeq.c:69
 free_devinfo+0x66/0xc0 sound/core/seq/oss/seq_oss_init.c:406
 port_delete+0xe8/0x1c0 sound/core/seq/seq_ports.c:272
 snd_seq_delete_port+0x266/0x330 sound/core/seq/seq_ports.c:301
 snd_seq_ioctl_delete_port+0xba/0x190 sound/core/seq/seq_clientmgr.c:1321
 snd_seq_kernel_client_ctl+0x112/0x170 sound/core/seq/seq_clientmgr.c:2346
 snd_seq_event_port_detach+0xba/0x100 sound/core/seq/seq_ports.c:705
 delete_port+0x87/0xd0 sound/core/seq/oss/seq_oss_init.c:354
 snd_seq_oss_release+0xf5/0x150 sound/core/seq/oss/seq_oss_init.c:433
 odev_release+0x54/0x80 sound/core/seq/oss/seq_oss.c:153
 __fput+0x2e5/0x8d0 fs/file_table.c:278
 ____fput+0x16/0x20 fs/file_table.c:309
 task_work_run+0x14a/0x1c0 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:188 [inline]
 exit_to_usermode_loop+0x273/0x2c0 arch/x86/entry/common.c:166
 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:268 [inline]
 do_syscall_64+0x52d/0x610 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4129e1
Code: e8 34 99 01 00 e9 45 fe ff ff 4c 8b 86 80 00 00 00 4c 39 c3 72 08 48 85 f6 e9 32 fd ff ff 44 0f b6 46 64 41 80 f8 01 74 08 48 <85> f6 e9 1f fd ff ff 0f b7 56 5e 66 85 d2 74 6a 48 29 fb 0f b7 d2
RSP: 002b:00007fff0d51cb50 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00000000004129e1
RDX: 0000001b33920000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00000000007412d8 R08: 00000000adf569bf R09: 00000000adf569c3
R10: 00007fff0d51cc20 R11: 0000000000000293 R12: 0000000000000001
R13: 0000000000023589 R14: 00000000000235b6 R15: 000000000073bf0c
INFO: lockdep is turned off.
NMI backtrace for cpu 1
CPU: 1 PID: 1042 Comm: khungtaskd Not tainted 5.1.0-rc4-next-20190411 #23
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x172/0x1f0 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1be/0x236 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:204 [inline]
 watchdog+0x9b7/0xec0 kernel/hung_task.c:288
 kthread+0x357/0x430 kernel/kthread.c:254
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352
Sending NMI from CPU 1 to CPUs 0:

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/04/12 11:14 linux-next 2f4c4d833153 8916f5e1 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/04/11 20:17 linux-next 2f4c4d833153 13030ef8 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/04/11 14:39 linux-next 2f4c4d833153 e955ac50 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/04/11 14:21 linux-next 2f4c4d833153 e955ac50 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/04/11 08:28 linux-next 2f4c4d833153 e955ac50 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.