syzbot


INFO: task hung in odev_open

Status: closed as invalid on 2019/05/08 13:05
Subsystems: sound
[Documentation on labels]
First crash: 1925d, last: 1924d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in odev_open (2) sound 15 659d 827d 0/27 auto-obsoleted due to no activity on 2023/01/03 10:47
android-44 INFO: task hung in odev_open 1084 2335d 2357d 0/2 auto-closed as invalid on 2019/02/22 14:34
linux-6.1 INFO: task hung in odev_open 1 103d 103d 0/3 auto-obsoleted due to no activity on 2024/07/16 05:06
upstream INFO: task hung in odev_open (3) sound 3 107d 111d 0/27 auto-obsoleted due to no activity on 2024/07/01 13:17

Sample crash report:
INFO: task syz-executor.4:11908 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  D26472 11908   9166 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_open+0x5f/0x90 sound/core/seq/oss/seq_oss.c:137
 soundcore_open+0x456/0x610 sound/sound_core.c:597
 chrdev_open+0x247/0x6b0 fs/char_dev.c:413
 do_dentry_open+0x4e2/0x1250 fs/open.c:777
 vfs_open+0xa0/0xd0 fs/open.c:886
 do_last fs/namei.c:3416 [inline]
 path_openat+0x10e9/0x46e0 fs/namei.c:3533
 do_filp_open+0x1a1/0x280 fs/namei.c:3563
 do_sys_open+0x3fe/0x5d0 fs/open.c:1069
 __do_sys_openat fs/open.c:1096 [inline]
 __se_sys_openat fs/open.c:1090 [inline]
 __x64_sys_openat+0x9d/0x100 fs/open.c:1090
 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x458c29
Code: Bad RIP value.
RSP: 002b:00007f0869319c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000458c29
RDX: 0000000000000002 RSI: 0000000020000040 RDI: ffffffffffffff9c
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f086931a6d4
R13: 00000000004c5097 R14: 00000000004d8da0 R15: 00000000ffffffff
INFO: task syz-executor.4:11985 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  D29472 11985   9166 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_open+0x5f/0x90 sound/core/seq/oss/seq_oss.c:137
 soundcore_open+0x456/0x610 sound/sound_core.c:597
 chrdev_open+0x247/0x6b0 fs/char_dev.c:413
 do_dentry_open+0x4e2/0x1250 fs/open.c:777
 vfs_open+0xa0/0xd0 fs/open.c:886
 do_last fs/namei.c:3416 [inline]
 path_openat+0x10e9/0x46e0 fs/namei.c:3533
 do_filp_open+0x1a1/0x280 fs/namei.c:3563
 do_sys_open+0x3fe/0x5d0 fs/open.c:1069
 __do_sys_openat fs/open.c:1096 [inline]
 __se_sys_openat fs/open.c:1090 [inline]
 __x64_sys_openat+0x9d/0x100 fs/open.c:1090
 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x458c29
Code: Bad RIP value.
RSP: 002b:00007f08692f8c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000458c29
RDX: 0000000000000002 RSI: 0000000020000040 RDI: ffffffffffffff9c
RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f08692f96d4
R13: 00000000004c5097 R14: 00000000004d8da0 R15: 00000000ffffffff
INFO: task syz-executor.3:11930 blocked for more than 144 seconds.
      Not tainted 5.1.0-rc4-next-20190411 #23
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.3  D27960 11930   9160 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:0x458c29
Code: Bad RIP value.
RSP: 002b:00007fe62c84ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000021
RAX: 0000000000000005 RBX: 0000000000000002 RCX: 0000000000458c29
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe62c84f6d4
R13: 00000000004bf189 R14: 00000000004d00d0 R15: 00000000ffffffff
INFO: task syz-executor.3:12145 blocked for more than 145 seconds.
      Not tainted 5.1.0-rc4-next-20190411 #23
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.3  D29480 12145   9160 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_open+0x5f/0x90 sound/core/seq/oss/seq_oss.c:137
 soundcore_open+0x456/0x610 sound/sound_core.c:597
 chrdev_open+0x247/0x6b0 fs/char_dev.c:413
 do_dentry_open+0x4e2/0x1250 fs/open.c:777
 vfs_open+0xa0/0xd0 fs/open.c:886
 do_last fs/namei.c:3416 [inline]
 path_openat+0x10e9/0x46e0 fs/namei.c:3533
 do_filp_open+0x1a1/0x280 fs/namei.c:3563
 do_sys_open+0x3fe/0x5d0 fs/open.c:1069
 __do_sys_openat fs/open.c:1096 [inline]
 __se_sys_openat fs/open.c:1090 [inline]
 __x64_sys_openat+0x9d/0x100 fs/open.c:1090
 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x458c29
Code: Bad RIP value.
RSP: 002b:00007fe62c80cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000458c29
RDX: 0000000000000002 RSI: 0000000020000040 RDI: ffffffffffffff9c
RBP: 000000000073c040 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe62c80d6d4
R13: 00000000004c5097 R14: 00000000004d8da0 R15: 00000000ffffffff
INFO: task syz-executor.0:12021 blocked for more than 145 seconds.
      Not tainted 5.1.0-rc4-next-20190411 #23
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.0  D27112 12021   9153 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_open+0x5f/0x90 sound/core/seq/oss/seq_oss.c:137
 soundcore_open+0x456/0x610 sound/sound_core.c:597
 chrdev_open+0x247/0x6b0 fs/char_dev.c:413
 do_dentry_open+0x4e2/0x1250 fs/open.c:777
 vfs_open+0xa0/0xd0 fs/open.c:886
 do_last fs/namei.c:3416 [inline]
 path_openat+0x10e9/0x46e0 fs/namei.c:3533
 do_filp_open+0x1a1/0x280 fs/namei.c:3563
 do_sys_open+0x3fe/0x5d0 fs/open.c:1069
 __do_sys_openat fs/open.c:1096 [inline]
 __se_sys_openat fs/open.c:1090 [inline]
 __x64_sys_openat+0x9d/0x100 fs/open.c:1090
 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x458c29
Code: Bad RIP value.
RSP: 002b:00007f6fa5605c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000458c29
RDX: 0000000000000002 RSI: 0000000020000040 RDI: ffffffffffffff9c
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6fa56066d4
R13: 00000000004c5097 R14: 00000000004d8da0 R15: 00000000ffffffff
INFO: lockdep is turned off.
NMI backtrace for cpu 0
CPU: 0 PID: 1043 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 0 to CPUs 1:

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/04/12 10:55 linux-next 2f4c4d833153 8916f5e1 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/04/12 06:41 linux-next 2f4c4d833153 13030ef8 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/04/12 01:03 linux-next 2f4c4d833153 13030ef8 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/04/11 22:53 linux-next 2f4c4d833153 13030ef8 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/04/11 14:01 linux-next 2f4c4d833153 e955ac50 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/04/11 13:33 linux-next 2f4c4d833153 e955ac50 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/04/11 11:41 linux-next 2f4c4d833153 e955ac50 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.