INFO: task syz-executor.1:7819 blocked for more than 143 seconds.
Not tainted 5.16.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:29008 pid: 7819 ppid: 3646 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xa9a/0x4900 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326
rwsem_down_read_slowpath+0x589/0xa70 kernel/locking/rwsem.c:1041
__down_read_common kernel/locking/rwsem.c:1223 [inline]
__down_read kernel/locking/rwsem.c:1232 [inline]
down_read+0xe2/0x440 kernel/locking/rwsem.c:1472
mmap_read_lock include/linux/mmap_lock.h:117 [inline]
exit_mm kernel/exit.c:483 [inline]
do_exit+0xa0a/0x2b40 kernel/exit.c:819
do_group_exit+0x125/0x310 kernel/exit.c:929
get_signal+0x47d/0x2220 kernel/signal.c:2852
arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868
handle_signal_work kernel/entry/common.c:148 [inline]
exit_to_user_mode_loop kernel/entry/common.c:172 [inline]
exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f4f56648e99
RSP: 002b:00007f4f54fbe218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f4f5675bf68 RCX: 00007f4f56648e99
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4f5675bf68
RBP: 00007f4f5675bf60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4f5675bf6c
R13: 00007ffd80673dbf R14: 00007f4f54fbe300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8bb812a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
1 lock held by klogd/2961:
2 locks held by getty/3282:
#0: ffff88807ec50098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252
#1: ffffc90002b8e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113
1 lock held by syz-executor.1/7816:
#0: ffff88807acce828 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:87 [inline]
#0: ffff88807acce828 (&mm->mmap_lock#2){++++}-{3:3}, at: do_mprotect_pkey+0x1e0/0x980 mm/mprotect.c:551
1 lock held by syz-executor.1/7819:
#0: ffff88807acce828 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline]
#0: ffff88807acce828 (&mm->mmap_lock#2){++++}-{3:3}, at: exit_mm kernel/exit.c:483 [inline]
#0: ffff88807acce828 (&mm->mmap_lock#2){++++}-{3:3}, at: do_exit+0xa0a/0x2b40 kernel/exit.c:819
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc7-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+0x1b3/0x230 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
watchdog+0xc1d/0xf50 kernel/hung_task.c:295
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 7516 Comm: kworker/u4:13 Not tainted 5.16.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/irqflags.h:139 [inline]
RIP: 0010:lock_is_held_type+0xf0/0x140 kernel/locking/lockdep.c:5682
Code: f0 41 0f 94 c5 48 c7 c7 40 f9 ab 89 e8 89 0d 00 00 b8 ff ff ff ff 65 0f c1 05 dc 86 be 76 83 f8 01 75 29 9c 58 f6 c4 02 75 3d <48> f7 04 24 00 02 00 00 74 01 fb 48 83 c4 08 44 89 e8 5b 5d 41 5c
RSP: 0018:ffffc90010677a78 EFLAGS: 00000046
RAX: 0000000000000046 RBX: 0000000000000004 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffffff8ba4ade8 R08: 0000000000000000 R09: ffff888010dec543
R10: ffffed10021bd8a8 R11: 000000000000003f R12: ffff88807a608040
R13: 0000000000000001 R14: 00000000ffffffff R15: ffff88807a608b40
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c000b43000 CR3: 000000000b88e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_is_held include/linux/lockdep.h:283 [inline]
text_poke+0x68/0x90 arch/x86/kernel/alternative.c:1081
text_poke_bp_batch+0x3d7/0x560 arch/x86/kernel/alternative.c:1361
text_poke_flush arch/x86/kernel/alternative.c:1451 [inline]
text_poke_flush arch/x86/kernel/alternative.c:1448 [inline]
text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1458
arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
jump_label_update+0x1da/0x400 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:747 [inline]
toggle_allocation_gate+0x183/0x390 mm/kfence/core.c:725
process_one_work+0x9b2/0x1660 kernel/workqueue.c:2298
worker_thread+0x65d/0x1130 kernel/workqueue.c:2445
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
----------------
Code disassembly (best guess):
0: f0 41 0f 94 c5 lock sete %r13b
5: 48 c7 c7 40 f9 ab 89 mov $0xffffffff89abf940,%rdi
c: e8 89 0d 00 00 callq 0xd9a
11: b8 ff ff ff ff mov $0xffffffff,%eax
16: 65 0f c1 05 dc 86 be xadd %eax,%gs:0x76be86dc(%rip) # 0x76be86fa
1d: 76
1e: 83 f8 01 cmp $0x1,%eax
21: 75 29 jne 0x4c
23: 9c pushfq
24: 58 pop %rax
25: f6 c4 02 test $0x2,%ah
28: 75 3d jne 0x67
* 2a: 48 f7 04 24 00 02 00 testq $0x200,(%rsp) <-- trapping instruction
31: 00
32: 74 01 je 0x35
34: fb sti
35: 48 83 c4 08 add $0x8,%rsp
39: 44 89 e8 mov %r13d,%eax
3c: 5b pop %rbx
3d: 5d pop %rbp
3e: 41 5c pop %r12