INFO: task krfcommd:2701 blocked for more than 143 seconds. Tainted: G W 5.17.0-syzkaller-12817-gcffb2b72d3ed #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:krfcommd state:D stack:29576 pid: 2701 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6382 schedule+0xd2/0x1f0 kernel/sched/core.c:6454 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6513 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 rfcomm_process_sessions net/bluetooth/rfcomm/core.c:2015 [inline] rfcomm_run+0x2ed/0x4a30 net/bluetooth/rfcomm/core.c:2122 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 INFO: task syz-executor201:3628 blocked for more than 143 seconds. Tainted: G W 5.17.0-syzkaller-12817-gcffb2b72d3ed #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor201 state:D stack:28176 pid: 3628 ppid: 3622 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6382 schedule+0xd2/0x1f0 kernel/sched/core.c:6454 __lock_sock+0x13d/0x260 net/core/sock.c:2770 lock_sock_nested+0xd6/0xf0 net/core/sock.c:3317 lock_sock include/net/sock.h:1682 [inline] rfcomm_sk_state_change+0xb4/0x390 net/bluetooth/rfcomm/sock.c:73 __rfcomm_dlc_close+0x1b6/0x8a0 net/bluetooth/rfcomm/core.c:489 rfcomm_dlc_close+0x1ea/0x240 net/bluetooth/rfcomm/core.c:520 __rfcomm_sock_close+0xac/0x260 net/bluetooth/rfcomm/sock.c:220 rfcomm_sock_shutdown+0xf4/0x220 net/bluetooth/rfcomm/sock.c:905 rfcomm_sock_release+0x5f/0x140 net/bluetooth/rfcomm/sock.c:925 __sock_release+0xcd/0x280 net/socket.c:650 sock_close+0x18/0x20 net/socket.c:1318 __fput+0x277/0x9d0 fs/file_table.c:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0xaff/0x2a30 kernel/exit.c:794 do_group_exit+0xd2/0x2f0 kernel/exit.c:924 get_signal+0x28b8/0x2900 kernel/signal.c:2903 arch_do_signal_or_restart+0x2b2/0x1720 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:149 [inline] exit_to_user_mode_loop kernel/entry/common.c:187 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:222 __syscall_exit_to_user_mode_work kernel/entry/common.c:304 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:315 do_syscall_64+0x42/0x80 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f45e684e1b9 RSP: 002b:00007ffea1940058 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: fffffffffffffffc RBX: 0000000000000003 RCX: 00007f45e684e1b9 RDX: 0000000000000080 RSI: 0000000020000000 RDI: 0000000000000004 RBP: 0000000000000003 R08: 000000ff00000000 R09: 000000ff00000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00005555570c32b8 R13: 0000000000000072 R14: 00007ffea19400b0 R15: 0000000000000003 INFO: lockdep is turned off. NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Tainted: G W 5.17.0-syzkaller-12817-gcffb2b72d3ed #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:212 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:369 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 1003 Comm: kworker/u4:4 Tainted: G W 5.17.0-syzkaller-12817-gcffb2b72d3ed #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:load_new_mm_cr3+0x32/0x130 arch/x86/mm/tlb.c:293 Code: f3 74 2a e9 85 00 00 00 48 89 ef e8 d8 f7 ff ff 66 81 fb fe 0f 48 89 c6 0f 87 df 00 00 00 83 c3 01 0f b7 c3 48 09 f0 0f 22 d8 <5b> 5d c3 66 81 fe fe 0f 77 68 be 08 00 00 00 48 c7 c7 d0 37 b6 8d RSP: 0018:ffffc90004a37970 EFLAGS: 00000093 RAX: 000000000ba8e000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88801d3c8000 RSI: ffffffff81359fd4 RDI: 0000000000000003 RBP: ffffffff8ba8e000 R08: 000000001fffffff R09: ffffffff8beb7b38 R10: ffffffff8135a019 R11: 000000000000003f R12: ffff888140168000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000562b80ab65b8 CR3: 000000000ba8e000 CR4: 0000000000350ee0 Call Trace: switch_mm_irqs_off+0x496/0xa10 arch/x86/mm/tlb.c:627 unuse_temporary_mm arch/x86/kernel/alternative.c:984 [inline] __text_poke+0x544/0x8c0 arch/x86/kernel/alternative.c:1080 text_poke arch/x86/kernel/alternative.c:1121 [inline] text_poke_bp_batch+0x433/0x6b0 arch/x86/kernel/alternative.c:1436 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_enable_cpuslocked+0x1b1/0x260 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate mm/kfence/core.c:779 [inline] toggle_allocation_gate+0x100/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 ---------------- Code disassembly (best guess): 0: f3 74 2a repz je 0x2d 3: e9 85 00 00 00 jmpq 0x8d 8: 48 89 ef mov %rbp,%rdi b: e8 d8 f7 ff ff callq 0xfffff7e8 10: 66 81 fb fe 0f cmp $0xffe,%bx 15: 48 89 c6 mov %rax,%rsi 18: 0f 87 df 00 00 00 ja 0xfd 1e: 83 c3 01 add $0x1,%ebx 21: 0f b7 c3 movzwl %bx,%eax 24: 48 09 f0 or %rsi,%rax 27: 0f 22 d8 mov %rax,%cr3 * 2a: 5b pop %rbx <-- trapping instruction 2b: 5d pop %rbp 2c: c3 retq 2d: 66 81 fe fe 0f cmp $0xffe,%si 32: 77 68 ja 0x9c 34: be 08 00 00 00 mov $0x8,%esi 39: 48 c7 c7 d0 37 b6 8d mov $0xffffffff8db637d0,%rdi