INFO: task syz-executor207:3645 can't die for more than 143 seconds.
task:syz-executor207 state:D stack:23712 pid: 3645 ppid: 3624 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5106 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6415
schedule+0xd2/0x1f0 kernel/sched/core.c:6487
schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common+0x373/0x530 kernel/sched/completion.c:106
__flush_work+0x56c/0xb10 kernel/workqueue.c:3075
__cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3162
tls_sk_proto_close+0x4a7/0xaf0 net/tls/tls_main.c:307
inet_release+0x12e/0x280 net/ipv4/af_inet.c:428
inet6_release+0x4c/0x70 net/ipv6/af_inet6.c:481
__sock_release+0xcd/0x280 net/socket.c:650
sock_close+0x18/0x20 net/socket.c:1318
__fput+0x286/0x9f0 fs/file_table.c:317
task_work_run+0xdd/0x1a0 kernel/task_work.c:164
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop kernel/entry/common.c:183 [inline]
exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:215
__syscall_exit_to_user_mode_work kernel/entry/common.c:297 [inline]
syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:308
do_syscall_64+0x42/0x80 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fb517232753
RSP: 002b:00007ffd5aec8f98 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007fb517232753
RDX: fffffffffffffe60 RSI: 00000000200005c0 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000000 R09: fffffffffffffe60
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd5aec8fb0
R13: 00000000000f4240 R14: 0000000000000000 R15: 0000000000000000
INFO: task syz-executor207:3645 blocked for more than 143 seconds.
Not tainted 5.17.0-next-20220324-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor207 state:D stack:23712 pid: 3645 ppid: 3624 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5106 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6415
schedule+0xd2/0x1f0 kernel/sched/core.c:6487
schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common+0x373/0x530 kernel/sched/completion.c:106
__flush_work+0x56c/0xb10 kernel/workqueue.c:3075
__cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3162
tls_sk_proto_close+0x4a7/0xaf0 net/tls/tls_main.c:307
inet_release+0x12e/0x280 net/ipv4/af_inet.c:428
inet6_release+0x4c/0x70 net/ipv6/af_inet6.c:481
__sock_release+0xcd/0x280 net/socket.c:650
sock_close+0x18/0x20 net/socket.c:1318
__fput+0x286/0x9f0 fs/file_table.c:317
task_work_run+0xdd/0x1a0 kernel/task_work.c:164
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop kernel/entry/common.c:183 [inline]
exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:215
__syscall_exit_to_user_mode_work kernel/entry/common.c:297 [inline]
syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:308
do_syscall_64+0x42/0x80 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fb517232753
RSP: 002b:00007ffd5aec8f98 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007fb517232753
RDX: fffffffffffffe60 RSI: 00000000200005c0 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000000 R09: fffffffffffffe60
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd5aec8fb0
R13: 00000000000f4240 R14: 0000000000000000 R15: 0000000000000000
Showing all locks held in the system:
1 lock held by khungtaskd/28:
#0: ffffffff8bd821a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6498
2 locks held by getty/3275:
#0: ffff88801da23098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc90002e732e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2075
3 locks held by kworker/0:1/3632:
#0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
#1: ffffc90003a1fda8 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2: ffff8880775250d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x127/0x190 net/tls/tls_sw.c:2300
1 lock held by syz-executor207/3645:
#0: ffff888072703810 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:778 [inline]
#0: ffff888072703810 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:649
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.17.0-next-20220324-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:256 [inline]
watchdog+0xcb7/0xed0 kernel/hung_task.c:413
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 3630 Comm: kworker/u4:2 Not tainted 5.17.0-next-20220324-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:__text_poke+0x490/0x8c0 arch/x86/kernel/alternative.c:1063
Code: f8 0f 23 c0 0f 23 c8 0f 23 d0 0f 23 d8 e8 d8 d7 98 00 48 8b 34 24 4c 89 ea 48 8b 7c 24 10 48 03 3d 4d 81 4e 0a e8 a0 fd 98 00 9b d7 98 00 48 b8 00 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03
RSP: 0018:ffffc900039ff9e0 EFLAGS: 00000002
RAX: 00002aaaaaaab7ba RBX: ffffffff8db6e16c RCX: 0000000000000000
RDX: 0000000000000004 RSI: ffffffff8f20852f RDI: 00002aaaaaaab7be
RBP: ffff88814012e558 R08: 0000000000000001 R09: 00002aaaaaaab7be
R10: fffffbfff1e410a5 R11: 000000000000003f R12: ffffffff81c3e7ba
R13: 0000000000000004 R14: 00000000000007be R15: ffffffff8beb8700
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d1b4b77ba8 CR3: 0000000010ea4000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
text_poke arch/x86/kernel/alternative.c:1121 [inline]
text_poke_bp_batch+0x375/0x6b0 arch/x86/kernel/alternative.c:1385
text_poke_flush arch/x86/kernel/alternative.c:1542 [inline]
text_poke_flush arch/x86/kernel/alternative.c:1539 [inline]
text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1549
arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
jump_label_update+0x32f/0x410 kernel/jump_label.c:830
static_key_disable_cpuslocked+0x152/0x1b0 kernel/jump_label.c:207
static_key_disable+0x16/0x20 kernel/jump_label.c:215
toggle_allocation_gate mm/kfence/core.c:793 [inline]
toggle_allocation_gate+0x183/0x390 mm/kfence/core.c:771
process_one_work+0x996/0x1610 kernel/workqueue.c:2289
worker_thread+0x665/0x1080 kernel/workqueue.c:2436
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.233 msecs
----------------
Code disassembly (best guess):
0: f8 clc
1: 0f 23 c0 mov %rax,%db0
4: 0f 23 c8 mov %rax,%db1
7: 0f 23 d0 mov %rax,%db2
a: 0f 23 d8 mov %rax,%db3
d: e8 d8 d7 98 00 callq 0x98d7ea
12: 48 8b 34 24 mov (%rsp),%rsi
16: 4c 89 ea mov %r13,%rdx
19: 48 8b 7c 24 10 mov 0x10(%rsp),%rdi
1e: 48 03 3d 4d 81 4e 0a add 0xa4e814d(%rip),%rdi # 0xa4e8172
25: e8 a0 fd 98 00 callq 0x98fdca
* 2a: e8 9b d7 98 00 callq 0x98d7ca <-- trapping instruction
2f: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
36: fc ff df
39: 48 89 ea mov %rbp,%rdx
3c: 48 c1 ea 03 shr $0x3,%rdx