INFO: task syz-executor106:3618 blocked for more than 143 seconds. Not tainted 5.19.0-syzkaller-02972-g200e340f2196 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor106 state:D stack:24472 pid: 3618 ppid: 3604 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5178 [inline] __schedule+0x957/0xe20 kernel/sched/core.c:6490 schedule+0xcb/0x190 kernel/sched/core.c:6566 schedule_timeout+0xac/0x300 kernel/time/timer.c:1911 do_wait_for_common+0x3ea/0x560 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x46/0x60 kernel/sched/completion.c:138 __flush_work kernel/workqueue.c:3075 [inline] __cancel_work_timer+0x585/0x740 kernel/workqueue.c:3162 tls_sk_proto_close+0x120/0x970 net/tls/tls_main.c:307 inet_release+0x184/0x1e0 net/ipv4/af_inet.c:428 __sock_release net/socket.c:650 [inline] sock_close+0xd7/0x260 net/socket.c:1365 __fput+0x3b9/0x820 fs/file_table.c:319 task_work_run+0x146/0x1c0 kernel/task_work.c:177 ptrace_notify+0x29a/0x340 kernel/signal.c:2353 ptrace_report_syscall include/linux/ptrace.h:420 [inline] ptrace_report_syscall_exit include/linux/ptrace.h:482 [inline] syscall_exit_work+0x8c/0xe0 kernel/entry/common.c:249 syscall_exit_to_user_mode_prepare+0x6b/0xc0 kernel/entry/common.c:276 __syscall_exit_to_user_mode_work kernel/entry/common.c:281 [inline] syscall_exit_to_user_mode+0xa/0x60 kernel/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb28f856743 RSP: 002b:00007fffba5491d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007fb28f856743 RDX: fffffffffffffe60 RSI: 00000000200005c0 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000000 R09: fffffffffffffe60 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffba5491f0 R13: 00000000000f4240 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cb1f030 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cb1f830 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8cb1ee60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3278: #0: ffff88814add1098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d162e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2124 3 locks held by kworker/0:4/3610: #0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc900030ffd00 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 #2: ffff88801ea898d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x111/0x150 net/tls/tls_sw.c:2223 1 lock held by syz-executor106/3618: #0: ffff888072fcc410 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:760 [inline] #0: ffff888072fcc410 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: __sock_release net/socket.c:649 [inline] #0: ffff888072fcc410 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: sock_close+0x93/0x260 net/socket.c:1365 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.19.0-syzkaller-02972-g200e340f2196 #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+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x473/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x168/0x280 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+0xcd5/0xd20 kernel/hung_task.c:369 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 41 Comm: kworker/u4:2 Not tainted 5.19.0-syzkaller-02972-g200e340f2196 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:insn_get_modrm+0x45f/0x760 arch/x86/lib/insn.c:363 Code: 85 fd 02 00 00 48 8b 04 24 c7 00 00 00 00 00 bd ea ff ff ff e9 a3 00 00 00 e8 6d 97 1f fd 4c 8b 6c 24 18 eb 05 e8 61 97 1f fd <49> 8d 6f 53 48 89 e8 48 c1 e8 03 42 8a 04 20 84 c0 0f 85 ea 00 00 RSP: 0018:ffffc90000b27780 EFLAGS: 00000293 RAX: ffffffff846885b8 RBX: ffffc90000b279ac RCX: ffff888012a00000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff846885a5 R09: ffffc90000b27960 R10: fffff52000164f37 R11: 1ffff92000164f2c R12: dffffc0000000000 R13: 1ffff92000164f30 R14: ffffc90000b27984 R15: ffffc90000b27960 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056470963f058 CR3: 000000000c88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: insn_get_sib arch/x86/lib/insn.c:421 [inline] insn_get_displacement+0x131/0x9a0 arch/x86/lib/insn.c:464 insn_get_immediate+0x427/0x12e0 arch/x86/lib/insn.c:632 insn_get_length arch/x86/lib/insn.c:707 [inline] insn_decode+0x378/0x510 arch/x86/lib/insn.c:747 arch_jump_entry_size arch/x86/kernel/jump_label.c:24 [inline] __jump_label_patch+0xe2/0x430 arch/x86/kernel/jump_label.c:45 arch_jump_label_transform_queue+0x49/0xd0 arch/x86/kernel/jump_label.c:137 __jump_label_update+0x19b/0x3b0 kernel/jump_label.c:447 static_key_disable_cpuslocked+0xc8/0x1b0 kernel/jump_label.c:207 static_key_disable+0x16/0x20 kernel/jump_label.c:215 toggle_allocation_gate+0x3d8/0x470 mm/kfence/core.c:825 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30