syzbot


INFO: task hung in snd_rawmidi_open

Status: auto-closed as invalid on 2019/04/04 19:18
Subsystems: sound
[Documentation on labels]
Reported-by: syzbot+fa129708c51d6c78bc77@syzkaller.appspotmail.com
First crash: 2028d, last: 2028d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in snd_rawmidi_open (2) sound 1 373d 373d 0/26 auto-obsoleted due to no activity on 2023/07/17 21:10

Sample crash report:
INFO: task syz-executor5:12911 blocked for more than 140 seconds.
      Not tainted 4.19.0-rc6+ #49
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor5   D24376 12911   6053 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2825 [inline]
 __schedule+0x86c/0x1ed0 kernel/sched/core.c:3473
 schedule+0xfe/0x460 kernel/sched/core.c:3517
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3575
 __mutex_lock_common kernel/locking/mutex.c:1002 [inline]
 __mutex_lock+0xbe7/0x1700 kernel/locking/mutex.c:1072
 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087
 snd_rawmidi_open+0x288/0xbd0 sound/core/rawmidi.c:407
 snd_open+0x21a/0x430 sound/core/sound.c:175
 chrdev_open+0x25a/0x710 fs/char_dev.c:417
 do_dentry_open+0x499/0x1250 fs/open.c:771
 vfs_open+0xa0/0xd0 fs/open.c:880
 do_last fs/namei.c:3418 [inline]
 path_openat+0x12bf/0x5160 fs/namei.c:3534
 do_filp_open+0x255/0x380 fs/namei.c:3564
 do_sys_open+0x568/0x700 fs/open.c:1063
 __do_sys_open fs/open.c:1081 [inline]
 __se_sys_open fs/open.c:1076 [inline]
 __x64_sys_open+0x7e/0xc0 fs/open.c:1076
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4111d1
Code: cc cc cc cc cc cc cc cc cc 64 48 8b 0c 25 f8 ff ff ff 48 3b 61 10 76 3a 48 83 ec 20 48 89 6c 24 18 48 8d 6c 24 18 48 8b 44 24 <28> 48 89 04 24 48 8b 44 24 30 48 89 44 24 08 e8 0b ff ff ff 48 8b
RSP: 002b:00007fad860a17a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00000000004111d1
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00007fad860a1850
RBP: 000000000072bf00 R08: 000000000000000f R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 00007fad860a26d4
R13: 00000000004c4d5e R14: 00000000004d8148 R15: 00000000ffffffff
INFO: task syz-executor3:12921 blocked for more than 140 seconds.
      Not tainted 4.19.0-rc6+ #49
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor3   D21680 12921   5976 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2825 [inline]
 __schedule+0x86c/0x1ed0 kernel/sched/core.c:3473
 schedule+0xfe/0x460 kernel/sched/core.c:3517
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3575
 __mutex_lock_common kernel/locking/mutex.c:1002 [inline]
 __mutex_lock+0xbe7/0x1700 kernel/locking/mutex.c:1072
 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087
 snd_rawmidi_open+0x288/0xbd0 sound/core/rawmidi.c:407
 snd_open+0x21a/0x430 sound/core/sound.c:175
 chrdev_open+0x25a/0x710 fs/char_dev.c:417
 do_dentry_open+0x499/0x1250 fs/open.c:771
 vfs_open+0xa0/0xd0 fs/open.c:880
 do_last fs/namei.c:3418 [inline]
 path_openat+0x12bf/0x5160 fs/namei.c:3534
 do_filp_open+0x255/0x380 fs/namei.c:3564
 do_sys_open+0x568/0x700 fs/open.c:1063
 __do_sys_open fs/open.c:1081 [inline]
 __se_sys_open fs/open.c:1076 [inline]
 __x64_sys_open+0x7e/0xc0 fs/open.c:1076
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4111d1
Code: cc cc cc cc cc cc cc cc cc 64 48 8b 0c 25 f8 ff ff ff 48 3b 61 10 76 3a 48 83 ec 20 48 89 6c 24 18 48 8d 6c 24 18 48 8b 44 24 <28> 48 89 04 24 48 8b 44 24 30 48 89 44 24 08 e8 0b ff ff ff 48 8b
RSP: 002b:00007f451241e7a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00000000004111d1
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007f451241e850
RBP: 000000000072bf00 R08: 000000000000000f R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 00007f451241f6d4
R13: 00000000004c4d5e R14: 00000000004d8148 R15: 00000000ffffffff
INFO: lockdep is turned off.
NMI backtrace for cpu 0
CPU: 0 PID: 981 Comm: khungtaskd Not tainted 4.19.0-rc6+ #49
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+0x1c4/0x2b4 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold.3+0x63/0xa2 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1b3/0x1ed 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:144 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:204 [inline]
 watchdog+0xb3e/0x1050 kernel/hung_task.c:265
 kthread+0x35a/0x420 kernel/kthread.c:246
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:413
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1 skipped: idling at native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:57

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/10/06 19:17 upstream 091a1eaa0e30 8b311eaf .config console log report ci-upstream-kasan-gce-selinux-root
* Struck through repros no longer work on HEAD.