INFO: task syz-executor.4:9278 blocked for more than 143 seconds. Not tainted 6.0.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28456 pid: 9278 ppid: 3655 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:0x7f02d8289279 RSP: 002b:00007f02d936a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f02d839c120 RCX: 00007f02d8289279 RDX: 0000000000064000 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007f02d82e32e9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f02d88cfb1f R14: 00007f02d936a300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8bf888b0 (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: ffffffff8bf885b0 (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: ffffffff8bf89400 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6492 3 locks held by kworker/u4:4/91: 2 locks held by getty/3285: #0: ffff8881470ac098 (&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 syz-executor.1/9236: #0: ffffffff8d6c8be8 (register_mutex#4){+.+.}-{3:3}, at: odev_release+0x47/0x70 sound/core/seq/oss/seq_oss.c:143 #1: ffff888074dd09f0 (&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/9247: #0: ffffffff8d6c8be8 (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/9278: #0: ffffffff8d6c8be8 (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/9575: #0: ffffffff8d6c8be8 (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/9581: #0: ffffffff8d6c8be8 (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/9778: #0: ffffffff8d6c8be8 (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/9779: #0: ffffffff8d6c8be8 (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-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/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: 91 Comm: kworker/u4:4 Not tainted 6.0.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 Workqueue: wg-kex-wg2 wg_packet_handshake_send_worker RIP: 0010:fsqr2+0x35f/0x370 arch/x86/crypto/curve25519-x86_64.c:973 Code: 4c 89 4f 28 66 4c 0f 38 f6 d1 4c 89 57 30 66 4c 0f 38 f6 d9 4c 89 5f 38 48 c7 c0 00 00 00 00 48 0f 42 c2 49 01 c0 4c 89 47 20 <5b> 5d 41 5c 41 5d 41 5e 41 5f c3 66 0f 1f 44 00 00 e8 cb e4 36 00 RSP: 0018:ffffc900015d7768 EFLAGS: 00000286 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000000000 RDX: 0000000000000026 RSI: ffffc900015d7938 RDI: ffffc900015d78b8 RBP: ffffc900015d78b8 R08: 8093abd9f5cfe236 R09: 4600dab8b20c6a25 R10: ab37d8d38095f271 R11: 9a70662b2e25eaf6 R12: ffffc900015d7938 R13: 0000000000000015 R14: e277388a47bc27cf R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0040c7ee0 CR3: 00000000239f9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: curve25519_ever64_base+0x5ce/0x790 arch/x86/crypto/curve25519-x86_64.c:1577 curve25519_base_arch+0x20/0x50 arch/x86/crypto/curve25519-x86_64.c:1609 curve25519_generate_public include/crypto/curve25519.h:55 [inline] wg_noise_handshake_create_initiation+0x239/0x5f0 drivers/net/wireguard/noise.c:542 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