INFO: task syz-executor.0:21945 blocked for more than 143 seconds. Not tainted 6.0.0-rc3-syzkaller-00007-gdcf8e5633e2e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28368 pid:21945 ppid: 18230 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5182 [inline] __schedule+0xadf/0x52b0 kernel/sched/core.c:6494 schedule+0xda/0x1b0 kernel/sched/core.c:6570 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6629 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa44/0x1350 kernel/locking/mutex.c:747 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+0x4a4/0x13a0 fs/open.c:878 do_open fs/namei.c:3557 [inline] path_openat+0x1c92/0x28f0 fs/namei.c:3691 do_filp_open+0x1b6/0x400 fs/namei.c:3718 do_sys_openat2+0x16d/0x4c0 fs/open.c:1311 do_sys_open fs/open.c:1327 [inline] __do_sys_openat fs/open.c:1343 [inline] __se_sys_openat fs/open.c:1338 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1338 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+0x63/0xcd RIP: 0033:0x7fcbfb889279 RSP: 002b:00007fcbfc94e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fcbfb99c050 RCX: 00007fcbfb889279 RDX: 0000000000064000 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007fcbfb8e3189 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fcbfbecfb1f R14: 00007fcbfc94e300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8bf88830 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8bf88530 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8bf89380 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6492 2 locks held by getty/3288: #0: ffff88814a5d8098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef0/0x13e0 drivers/tty/n_tty.c:2177 2 locks held by kworker/1:4/3692: #0: ffff8880b9b39f98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:544 #1: ffff8880b9b277c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3e7/0x4e0 kernel/sched/psi.c:885 2 locks held by kworker/u4:7/16164: 2 locks held by syz-executor.4/21938: #0: ffffffff8d6c8a68 (register_mutex#4){+.+.}-{3:3}, at: odev_release+0x47/0x70 sound/core/seq/oss/seq_oss.c:143 #1: ffff8880751a21f0 (&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.0/21908: #0: ffffffff8d6c8a68 (register_mutex#4){+.+.}-{3:3}, at: odev_open+0x5b/0x90 sound/core/seq/oss/seq_oss.c:127 1 lock held by syz-executor.0/21945: #0: ffffffff8d6c8a68 (register_mutex#4){+.+.}-{3:3}, at: odev_open+0x5b/0x90 sound/core/seq/oss/seq_oss.c:127 1 lock held by syz-executor.4/22039: #0: ffffffff8d6c8a68 (register_mutex#4){+.+.}-{3:3}, at: odev_open+0x5b/0x90 sound/core/seq/oss/seq_oss.c:127 1 lock held by syz-executor.4/22040: #0: ffffffff8d6c8a68 (register_mutex#4){+.+.}-{3:3}, at: odev_open+0x5b/0x90 sound/core/seq/oss/seq_oss.c:127 1 lock held by syz-executor.4/22113: #0: ffffffff8d6c8a68 (register_mutex#4){+.+.}-{3:3}, at: odev_open+0x5b/0x90 sound/core/seq/oss/seq_oss.c:127 1 lock held by syz-executor.4/22114: #0: ffffffff8d6c8a68 (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 6.0.0-rc3-syzkaller-00007-gdcf8e5633e2e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x46/0x14f lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x206/0x250 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xc18/0xf50 kernel/hung_task.c:369 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 16165 Comm: kworker/u4:8 Not tainted 6.0.0-rc3-syzkaller-00007-gdcf8e5633e2e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 Workqueue: wg-kex-wg0 wg_packet_handshake_send_worker RIP: 0010:fmul_scalar arch/x86/crypto/curve25519-x86_64.c:547 [inline] RIP: 0010:point_add_and_double+0x4a5/0x610 arch/x86/crypto/curve25519-x86_64.c:1022 Code: c0 00 00 00 00 48 0f 42 c1 49 29 c0 4d 89 06 4d 89 4e 08 4d 89 56 10 4d 89 5e 18 ba 41 db 01 00 48 8b 74 24 10 c4 c2 bb f6 0e c2 b3 f6 5e 08 49 01 c9 48 c7 c1 00 00 00 00 c4 42 ab f6 6e 10 RSP: 0018:ffffc90002eef5b8 EFLAGS: 00000282 RAX: 0000000000000000 RBX: ffffc90002eef780 RCX: 0000000000017fa7 RDX: 000000000001db41 RSI: ffffc90002eef7a0 RDI: ffffc90002eef798 RBP: ffffc90002eef700 R08: d62aa7692db698b2 R09: 38fded1046c946d3 R10: 483844aa2d66e995 R11: d78ccf276326cf12 R12: ffffc90002eef7c0 R13: 34838dd54502adfb R14: ffffc90002eef7e0 R15: ffffc90002eef660 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c008308850 CR3: 000000000bc8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: montgomery_ladder.constprop.0+0x385/0x560 arch/x86/crypto/curve25519-x86_64.c:1098 curve25519_ever64 arch/x86/crypto/curve25519-x86_64.c:1252 [inline] curve25519_arch+0x187/0x230 arch/x86/crypto/curve25519-x86_64.c:1599 curve25519 include/crypto/curve25519.h:39 [inline] mix_dh+0x7d/0x130 drivers/net/wireguard/noise.c:411 wg_noise_handshake_create_initiation+0x29d/0x5f0 drivers/net/wireguard/noise.c:550 wg_packet_send_handshake_initiation+0x182/0x340 drivers/net/wireguard/send.c:34 wg_packet_handshake_send_worker+0x18/0x30 drivers/net/wireguard/send.c:51 process_one_work+0x991/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306