INFO: task syz-executor.0:3714 blocked for more than 143 seconds. Not tainted 6.0.0-rc7-syzkaller-00180-g70575e77839f #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26544 pid: 3714 ppid: 3681 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5182 [inline] __schedule+0x957/0xe20 kernel/sched/core.c:6494 schedule+0xcb/0x190 kernel/sched/core.c:6570 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+0x124/0x1a0 kernel/workqueue.c:3073 __cancel_work_timer+0x517/0x6a0 kernel/workqueue.c:3160 tls_sk_proto_close+0x120/0x970 net/tls/tls_main.c:309 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:320 task_work_run+0x146/0x1c0 kernel/task_work.c:177 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x134/0x160 kernel/entry/common.c:169 exit_to_user_mode_prepare+0xad/0x110 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x2e/0x60 kernel/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x4181ab RSP: 002b:00007fffe0fcfe00 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 00000000004181ab RDX: 0000000000000000 RSI: 0000001b31c20110 RDI: 0000000000000004 RBP: 0000000000000005 R08: 0000000000000000 R09: 0000001b31c20118 R10: 0000000000000000 R11: 0000000000000293 R12: 000000000055d900 R13: 000000000055d900 R14: 000000000055cf00 R15: 000000000055cf00 Showing all locks held in the system: 3 locks held by kworker/0:0/7: #0: ffff888012064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc900000c7d00 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 #2: ffff888022bcf4d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x111/0x150 net/tls/tls_sw.c:2417 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8cd20a70 (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/14: #0: ffffffff8cd21270 (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/29: #0: ffffffff8cd208a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3284: #0: ffff8880275ad098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.0/3714: #0: ffff8880758c1410 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #0: ffff8880758c1410 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: __sock_release net/socket.c:649 [inline] #0: ffff8880758c1410 (&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: 29 Comm: khungtaskd Not tainted 6.0.0-rc7-syzkaller-00180-g70575e77839f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/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+0x47c/0x4b0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x169/0x280 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+0xcd5/0xd20 kernel/hung_task.c:369 kthread+0x266/0x300 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: 1091 Comm: kworker/u4:5 Not tainted 6.0.0-rc7-syzkaller-00180-g70575e77839f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:smap_save arch/x86/include/asm/smap.h:44 [inline] RIP: 0010:kasan_report+0x16/0x130 mm/kasan/report.c:477 Code: e8 db 6d 5a 08 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 41 57 41 56 41 55 41 54 53 48 83 ec 40 48 c7 04 24 00 00 00 00 <9c> 8f 04 24 0f 01 ca 4c 8b 24 24 48 c7 44 24 28 00 00 00 00 48 c7 RSP: 0018:ffffc90004c3f6d0 EFLAGS: 00000082 RAX: ffff88802038bb01 RBX: ffffffff81320625 RCX: ffffffff81320625 RDX: 0000000000000001 RSI: 0000000000000001 RDI: 00002aaaaaaab4af RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1f311b4 R10: fffffbfff1f311b4 R11: 1ffffffff1f311b3 R12: 0000000000000001 R13: ffffc90004c3f860 R14: ffffffff8f988d9a R15: 00002aaaaaaab4af FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005620317dc058 CR3: 0000000012307000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kasan_check_range+0x2a7/0x2e0 mm/kasan/generic.c:189 memcpy+0x3c/0x60 mm/kasan/shadow.c:66 text_poke_memcpy+0x5/0x10 arch/x86/kernel/alternative.c:1070 __text_poke+0x609/0x9d0 arch/x86/kernel/alternative.c:1147 text_poke arch/x86/kernel/alternative.c:1208 [inline] text_poke_bp_batch+0x6bc/0x970 arch/x86/kernel/alternative.c:1554 text_poke_flush arch/x86/kernel/alternative.c:1660 [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 static_key_enable_cpuslocked+0x129/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x470 mm/kfence/core.c:811 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 arch/x86/entry/entry_64.S:306