INFO: task syz-executor.0:7350 blocked for more than 143 seconds. Not tainted 5.18.0-rc3-syzkaller-00218-g13bc32bad705 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28408 pid: 7350 ppid: 3639 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0xa9a/0x4cc0 kernel/sched/core.c:6388 schedule+0xd2/0x1f0 kernel/sched/core.c:6460 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6519 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 odev_open+0x5b/0x90 sound/core/seq/oss/seq_oss.c:127 soundcore_open+0x44e/0x620 sound/sound_core.c:593 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4a1/0x11e0 fs/open.c:824 do_open fs/namei.c:3476 [inline] path_openat+0x1c71/0x2910 fs/namei.c:3609 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4c0 fs/open.c:1213 do_sys_open fs/open.c:1229 [inline] __do_sys_openat fs/open.c:1245 [inline] __se_sys_openat fs/open.c:1240 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1240 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f2399e890e9 RSP: 002b:00007f239b012168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f2399f9bf60 RCX: 00007f2399e890e9 RDX: 0000000000040001 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f2399ee308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000006000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f239a4cfb1f R14: 00007f239b012300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8bd820e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6467 2 locks held by kworker/u4:5/1029: 2 locks held by getty/3271: #0: ffff8881488e9098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b832e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcea/0x1230 drivers/tty/n_tty.c:2075 2 locks held by syz-executor.5/7315: #0: ffffffff8d480c48 (register_mutex#4){+.+.}-{3:3}, at: odev_release+0x47/0x70 sound/core/seq/oss/seq_oss.c:143 #1: ffff888073f391f0 (&grp->list_mutex#2){+.+.}-{3:3}, at: snd_seq_port_disconnect+0x4f/0x5d0 sound/core/seq/seq_ports.c:612 1 lock held by syz-executor.3/7344: #0: ffffffff8d480c48 (register_mutex#4){+.+.}-{3:3}, at: odev_release+0x47/0x70 sound/core/seq/oss/seq_oss.c:143 1 lock held by syz-executor.0/7350: #0: ffffffff8d480c48 (register_mutex#4){+.+.}-{3:3}, at: odev_open+0x5b/0x90 sound/core/seq/oss/seq_oss.c:127 1 lock held by syz-executor.5/7565: #0: ffffffff8d480c48 (register_mutex#4){+.+.}-{3:3}, at: odev_open+0x5b/0x90 sound/core/seq/oss/seq_oss.c:127 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 5.18.0-rc3-syzkaller-00218-g13bc32bad705 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:369 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 45 Comm: kworker/u4:2 Not tainted 5.18.0-rc3-syzkaller-00218-g13bc32bad705 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:validate_chain kernel/locking/lockdep.c:3810 [inline] RIP: 0010:__lock_acquire+0xcdc/0x56c0 kernel/locking/lockdep.c:5029 Code: 48 c7 c2 6c 9a b8 8d 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 14 02 48 c7 c0 6c 9a b8 8d 83 e0 07 83 c0 03 38 d0 7c 08 <84> d2 0f 85 7d 37 00 00 8b 35 82 52 5b 0c 85 f6 0f 84 3c 01 00 00 RSP: 0018:ffffc9000115f9c8 EFLAGS: 00000002 RAX: 0000000000000007 RBX: 0000000063a4321a RCX: b6229783707600fa RDX: 0000000000000000 RSI: 0000000093c2fddc RDI: ffffffff9005ac20 RBP: 0000000000000004 R08: 0000000000000000 R09: ffffffff90058907 R10: fffffbfff200b120 R11: 0000000000000001 R12: ffff888011a56330 R13: ffff888011a55880 R14: 0000000000000000 R15: b6229783707600fa FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0048ad060 CR3: 000000000ba8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5641 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5606 rcu_lock_acquire include/linux/rcupdate.h:268 [inline] rcu_read_lock include/linux/rcupdate.h:694 [inline] batadv_nc_process_nc_paths.part.0+0xec/0x3c0 net/batman-adv/network-coding.c:687 batadv_nc_process_nc_paths net/batman-adv/network-coding.c:679 [inline] batadv_nc_worker+0xc46/0xfa0 net/batman-adv/network-coding.c:728 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 ---------------- Code disassembly (best guess): 0: 48 c7 c2 6c 9a b8 8d mov $0xffffffff8db89a6c,%rdx 7: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax e: fc ff df 11: 48 c1 ea 03 shr $0x3,%rdx 15: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx 19: 48 c7 c0 6c 9a b8 8d mov $0xffffffff8db89a6c,%rax 20: 83 e0 07 and $0x7,%eax 23: 83 c0 03 add $0x3,%eax 26: 38 d0 cmp %dl,%al 28: 7c 08 jl 0x32 * 2a: 84 d2 test %dl,%dl <-- trapping instruction 2c: 0f 85 7d 37 00 00 jne 0x37af 32: 8b 35 82 52 5b 0c mov 0xc5b5282(%rip),%esi # 0xc5b52ba 38: 85 f6 test %esi,%esi 3a: 0f 84 3c 01 00 00 je 0x17c