INFO: task syz-executor.4:16833 blocked for more than 143 seconds.
Not tainted 6.0.0-rc2-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:28456 pid:16833 ppid: 3666 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:0x7fda5ee89279
RSP: 002b:00007fda5ff8b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fda5ef9bf80 RCX: 00007fda5ee89279
RDX: 0000000000000201 RSI: 0000000020000000 RDI: ffffffffffffff9c
RBP: 00007fda5eee3189 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000006000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fda5f4cfb1f R14: 00007fda5ff8b300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8bf88770 (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: ffffffff8bf88470 (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: ffffffff8bf892c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6492
2 locks held by getty/3282:
#0: ffff88802648c098 (&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/u4:9/26070:
1 lock held by syz-executor.2/16773:
#0: ffffffff8d6c8b68 (register_mutex#4){+.+.}-{3:3}, at: odev_open+0x5b/0x90 sound/core/seq/oss/seq_oss.c:127
2 locks held by syz-executor.3/16813:
#0: ffffffff8d6c8b68 (register_mutex#4){+.+.}-{3:3}, at: odev_release+0x47/0x70 sound/core/seq/oss/seq_oss.c:143
#1: ffff8880774951f0 (&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/16833:
#0: ffffffff8d6c8b68 (register_mutex#4){+.+.}-{3:3}, at: odev_open+0x5b/0x90 sound/core/seq/oss/seq_oss.c:127
1 lock held by syz-executor.3/17084:
#0: ffffffff8d6c8b68 (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/17093:
#0: ffffffff8d6c8b68 (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/17398:
#0: ffffffff8d6c8b68 (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 6.0.0-rc2-syzkaller #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: 26070 Comm: kworker/u4:9 Not tainted 6.0.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:match_held_lock+0x0/0xc0 kernel/locking/lockdep.c:5111
Code: 89 ee 48 c7 c7 00 a9 ec 89 e8 3e ad bb ff 48 c7 c7 60 a9 ec 89 e8 32 ad bb ff e8 aa f2 cb ff 31 c0 5d c3 0f 1f 80 00 00 00 00 <53> 48 89 fb 48 83 ec 08 48 39 77 10 74 6a 66 f7 47 22 f0 ff 74 5a
RSP: 0018:ffffc900032df908 EFLAGS: 00000093
RAX: 000000000000000f RBX: 0000000000000003 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff8bf89200 RDI: ffff888075448af0
RBP: ffffffff8bf89200 R08: 0000000000000000 R09: ffffffff8dde9617
R10: fffffbfff1bbd2c2 R11: 0000000000000000 R12: ffff888075448000
R13: ffff888075448a78 R14: 00000000ffffffff R15: ffff888075448af0
FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c00dca77d0 CR3: 000000013fe1d000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__lock_is_held kernel/locking/lockdep.c:5407 [inline]
lock_is_held_type+0xa7/0x140 kernel/locking/lockdep.c:5709
lock_is_held include/linux/lockdep.h:283 [inline]
rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125
trace_tlb_flush include/trace/events/tlb.h:38 [inline]
trace_tlb_flush+0x126/0x1b0 include/trace/events/tlb.h:38
switch_mm_irqs_off+0x570/0xa20 arch/x86/mm/tlb.c:630
use_temporary_mm arch/x86/kernel/alternative.c:1033 [inline]
__text_poke+0x2f7/0x8e0 arch/x86/kernel/alternative.c:1144
text_poke arch/x86/kernel/alternative.c:1208 [inline]
text_poke_bp_batch+0x44a/0x6c0 arch/x86/kernel/alternative.c:1554
text_poke_flush arch/x86/kernel/alternative.c:1660 [inline]
text_poke_flush arch/x86/kernel/alternative.c:1657 [inline]
text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1667
arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
jump_label_update+0x32f/0x410 kernel/jump_label.c:801
static_key_enable_cpuslocked+0x1b1/0x260 kernel/jump_label.c:177
static_key_enable+0x16/0x20 kernel/jump_label.c:190
toggle_allocation_gate mm/kfence/core.c:811 [inline]
toggle_allocation_gate+0x100/0x390 mm/kfence/core.c:803
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