INFO: task syz-executor.0:19468 blocked for more than 143 seconds. Not tainted 5.19.0-syzkaller-13930-g7ebfc85e2cd7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28560 pid:19468 ppid: 3642 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:0x7efe41689279 RSP: 002b:00007efe4273f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007efe4179bf80 RCX: 00007efe41689279 RDX: 0000000000040001 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007efe416e3189 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000006000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe2316a81f R14: 00007efe4273f300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8bf85bf0 (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: ffffffff8bf858f0 (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: ffffffff8bf86740 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6492 2 locks held by kworker/u4:2/41: #0: ffff8880b9b3a018 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:544 #1: ffffc90000d2fda8 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 2 locks held by getty/3288: #0: ffff88814ad84098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90001c182f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef0/0x13e0 drivers/tty/n_tty.c:2177 2 locks held by syz-executor.5/19462: #0: ffffffff8d6bf7e8 (register_mutex#4){+.+.}-{3:3}, at: odev_release+0x47/0x70 sound/core/seq/oss/seq_oss.c:143 #1: ffff88807aed41f0 (&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.4/19470: #0: ffffffff8d6bf7e8 (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/19468: #0: ffffffff8d6bf7e8 (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/19584: #0: ffffffff8d6bf7e8 (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/19586: #0: ffffffff8d6bf7e8 (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/19614: #0: ffffffff8d6bf7e8 (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/19616: #0: ffffffff8d6bf7e8 (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/19687: #0: ffffffff8d6bf7e8 (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/19736: #0: ffffffff8d6bf7e8 (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/19739: #0: ffffffff8d6bf7e8 (register_mutex#4){+.+.}-{3:3}, at: odev_open+0x5b/0x90 sound/core/seq/oss/seq_oss.c:127 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.19.0-syzkaller-13930-g7ebfc85e2cd7 #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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 18529 Comm: kworker/0:3 Not tainted 5.19.0-syzkaller-13930-g7ebfc85e2cd7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 Workqueue: wg-kex-wg1 wg_packet_handshake_receive_worker RIP: 0010:fmul2+0x3b9/0x480 arch/x86/crypto/curve25519-x86_64.c:296 Code: 66 4d 0f 38 f6 dd f3 4c 0f 38 f6 5e 18 66 48 0f 38 f6 c1 f3 48 0f 38 f6 c1 48 0f af c2 49 01 c0 66 4c 0f 38 f6 c9 4c 89 4f 08 <66> 4c 0f 38 f6 d1 4c 89 57 10 66 4c 0f 38 f6 d9 4c 89 5f 18 48 c7 RSP: 0018:ffffc900030673f0 EFLAGS: 00000296 RAX: 00000000000000be RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000026 RSI: ffffc900030674c8 RDI: ffffc90003067628 RBP: ffffc90003067628 R08: 966ebd068d135714 R09: 66ffdfe2c0f9c417 R10: 70f9b530fa92f551 R11: b8bfbd0eaa3f740e R12: ffffc900030675e8 R13: 0000000000000018 R14: 39469bbfcc34aa53 R15: ffffc900030674c8 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d88a42a600 CR3: 000000000bc8e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: point_add_and_double+0x205/0x610 arch/x86/crypto/curve25519-x86_64.c:1006 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_consume_initiation+0x161/0x780 drivers/net/wireguard/noise.c:608 wg_receive_handshake_packet+0x6a3/0xad0 drivers/net/wireguard/receive.c:144 wg_packet_handshake_receive_worker+0x16f/0x390 drivers/net/wireguard/receive.c:213 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