INFO: task syz.6.10102:7072 blocked for more than 143 seconds.
      Not tainted 6.16.0-syzkaller-11113-gf3af62b6cee8-dirty #0
      Blocked by coredump.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.6.10102     state:D stack:25896 pid:7072  tgid:7071  ppid:4437   task_flags:0x40054c flags:0x00004006
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 rwsem_down_write_slowpath+0x872/0xfe0
 down_write+0x1ab/0x1f0
 exit_mmap+0x28e/0xb50
 __mmput+0x118/0x430
 exit_mm+0x1da/0x2c0
 do_exit+0x648/0x2300
 do_group_exit+0x21c/0x2d0
 get_signal+0x1286/0x1340
 arch_do_signal_or_restart+0x9a/0x750
 exit_to_user_mode_loop+0x75/0x110
 do_syscall_64+0x2bd/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f349f18eb69
RSP: 002b:00007f34a00d9038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffea RBX: 00007f349f3b5fa0 RCX: 00007f349f18eb69
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f349f211df1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f349f3b5fa0 R15: 00007fff233495a8
 </TASK>

Showing all locks held in the system:
1 lock held by rcu_tasks_trace/31:
 #0: ffffffff8e13ab90 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{4:4}, at: rcu_tasks_one_gp+0xaf9/0xdf0
1 lock held by khungtaskd/34:
 #0: ffffffff8e139e60 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
3 locks held by kworker/1:2/95:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90001befbc0 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8e13f8f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730
2 locks held by getty/5668:
 #0: ffff8880281ad0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900029032f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
1 lock held by syz.6.10102/7072:
 #0: ffff88811208ed60 (&mm->mmap_lock){++++}-{4:4}, at: exit_mmap+0x28e/0xb50
1 lock held by syz-executor/11389:
5 locks held by syz-executor/11399:
 #0: ffff888022e78dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x212/0x510
 #1: ffff888022e780b8 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x66a/0x1330
 #2: ffffffff8f697308 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa1/0x230
 #3: ffff88801b7f5b38 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x70/0x680
 #4: ffffffff8e13f8f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730
1 lock held by syz.1.11444/11832:
 #0: ffff888029884a08 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: sock_close+0x9b/0x240
1 lock held by syz.4.11479/11938:
 #0: ffffffff8e19d148 (event_mutex){+.+.}-{4:4}, at: perf_trace_destroy+0x2e/0x150

=============================================

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 34 Comm: khungtaskd Not tainted 6.16.0-syzkaller-11113-gf3af62b6cee8-dirty #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250
 nmi_cpu_backtrace+0x39e/0x3d0
 nmi_trigger_cpumask_backtrace+0x17a/0x300
 watchdog+0xf93/0xfe0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 8492 Comm: kworker/u9:53 Not tainted 6.16.0-syzkaller-11113-gf3af62b6cee8-dirty #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:___pte_offset_map+0x215/0x250
Code: 00 74 0c 48 c7 c7 68 04 bd 8d e8 e6 24 13 00 4c 03 25 f7 36 ad 0b c1 eb 09 81 e3 f8 0f 00 00 4c 01 e3 48 89 d8 48 83 c4 08 5b <41> 5c 41 5d 41 5e 41 5f 5d e9 8d 75 6a 09 cc e8 57 d1 af ff eb 1b
RSP: 0018:ffffc9000a00f618 EFLAGS: 00000292
RAX: ffff88801a476558 RBX: ffff88801a474aa8 RCX: ffff88801eb11cc0
RDX: 0000000000000000 RSI: 0000000000000043 RDI: 0000000000000043
RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff820fcb99
R10: dffffc0000000000 R11: fffff94000010bf9 R12: ffff88801a476000
R13: dffffc0000000000 R14: ffff88801a474aa8 R15: 0000000000000043
FS:  0000000000000000(0000) GS:ffff8880b862a000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f88c8ee7d60 CR3: 000000000df36000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <TASK>
 __pte_offset_map_lock+0x46/0x210
 __text_poke+0x2e6/0xa10
 smp_text_poke_batch_finish+0x394/0x1130
 arch_jump_label_transform_apply+0x1c/0x30
 static_key_enable_cpuslocked+0x128/0x250
 static_key_enable+0x1a/0x20
 toggle_allocation_gate+0xad/0x240
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
