INFO: task krfcommd:2706 blocked for more than 143 seconds. Tainted: G W 5.17.0-syzkaller-10752-g52d543b5497c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:krfcommd state:D stack:28984 pid: 2706 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0x937/0x1090 kernel/sched/core.c:6382 schedule+0xeb/0x1b0 kernel/sched/core.c:6454 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6513 __mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:673 __mutex_lock kernel/locking/mutex.c:733 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:785 rfcomm_process_sessions+0x21/0x3f0 net/bluetooth/rfcomm/core.c:2015 rfcomm_run+0x195/0x2c0 net/bluetooth/rfcomm/core.c:2122 kthread+0x2a3/0x2d0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 INFO: task syz-executor327:3637 blocked for more than 143 seconds. Tainted: G W 5.17.0-syzkaller-10752-g52d543b5497c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor327 state:D stack:26552 pid: 3637 ppid: 3631 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0x937/0x1090 kernel/sched/core.c:6382 schedule+0xeb/0x1b0 kernel/sched/core.c:6454 __lock_sock+0x1cf/0x330 net/core/sock.c:2770 lock_sock_nested+0x9f/0x100 net/core/sock.c:3317 lock_sock include/net/sock.h:1682 [inline] rfcomm_sk_state_change+0x63/0x300 net/bluetooth/rfcomm/sock.c:73 __rfcomm_dlc_close+0x2cc/0x480 net/bluetooth/rfcomm/core.c:489 rfcomm_dlc_close+0x10d/0x1c0 net/bluetooth/rfcomm/core.c:520 __rfcomm_sock_close+0x101/0x220 net/bluetooth/rfcomm/sock.c:220 rfcomm_sock_shutdown+0xa5/0x220 net/bluetooth/rfcomm/sock.c:905 rfcomm_sock_release+0x55/0x120 net/bluetooth/rfcomm/sock.c:925 __sock_release net/socket.c:650 [inline] sock_close+0xd8/0x260 net/socket.c:1318 __fput+0x3fc/0x870 fs/file_table.c:317 task_work_run+0x146/0x1c0 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0x5e3/0x20f0 kernel/exit.c:794 do_group_exit+0x2af/0x2b0 kernel/exit.c:924 get_signal+0x1831/0x2330 kernel/signal.c:2903 arch_do_signal_or_restart+0x9c/0x730 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+0x165/0x200 kernel/entry/common.c:222 __syscall_exit_to_user_mode_work kernel/entry/common.c:304 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:315 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f277be2a1b9 RSP: 002b:00007fff8f2cb6b8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: fffffffffffffffc RBX: 0000000000000003 RCX: 00007f277be2a1b9 RDX: 0000000000000080 RSI: 0000000020000000 RDI: 0000000000000004 RBP: 0000000000000003 R08: 000000ff00000001 R09: 000000ff00000001 R10: 0000000000000000 R11: 0000000000000246 R12: 000055555648c2b8 R13: 0000000000000072 R14: 00007fff8f2cb710 R15: 0000000000000003 INFO: lockdep is turned off. NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Tainted: G W 5.17.0-syzkaller-10752-g52d543b5497c #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+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x16a/0x280 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+0xc82/0xcd0 kernel/hung_task.c:369 kthread+0x2a3/0x2d0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 11 Comm: kworker/u4:1 Tainted: G W 5.17.0-syzkaller-10752-g52d543b5497c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline] RIP: 0010:smp_call_function_many_cond+0xc22/0xe10 kernel/smp.c:969 Code: 83 e6 01 31 ff e8 9e c6 0b 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 0e e8 79 c2 0b 00 eb 4c 0f 1f 80 00 00 00 00 f3 90 <42> 0f b6 04 3b 84 c0 75 11 41 f7 45 00 01 00 00 00 74 2b e8 56 c2 RSP: 0018:ffffc90000107820 EFLAGS: 00000293 RAX: ffffffff817a8fca RBX: 1ffff11017348405 RCX: ffff88813fe9ba00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000107960 R08: ffffffff817a8f92 R09: ffffffff8457a700 R10: 0000000000000009 R11: ffff88813fe9ba00 R12: 0000000000000000 R13: ffff8880b9a42028 R14: ffff8880b9b3ac80 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005577c62a7680 CR3: 000000000ca8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1135 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1146 [inline] text_poke_bp_batch+0x64a/0x920 arch/x86/kernel/alternative.c:1387 text_poke_flush arch/x86/kernel/alternative.c:1504 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1511 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x12d/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x460 mm/kfence/core.c:779 process_one_work+0x83c/0x11a0 kernel/workqueue.c:2289 worker_thread+0xa6c/0x1290 kernel/workqueue.c:2436 kthread+0x2a3/0x2d0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: 83 e6 01 and $0x1,%esi 3: 31 ff xor %edi,%edi 5: e8 9e c6 0b 00 callq 0xbc6a8 a: 41 83 e7 01 and $0x1,%r15d e: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 15: fc ff df 18: 75 0e jne 0x28 1a: e8 79 c2 0b 00 callq 0xbc298 1f: eb 4c jmp 0x6d 21: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 28: f3 90 pause * 2a: 42 0f b6 04 3b movzbl (%rbx,%r15,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 75 11 jne 0x44 33: 41 f7 45 00 01 00 00 testl $0x1,0x0(%r13) 3a: 00 3b: 74 2b je 0x68 3d: e8 .byte 0xe8 3e: 56 push %rsi 3f: c2 .byte 0xc2