INFO: task kworker/1:0:24 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:0     state:D stack:24224 pid:24    tgid:24    ppid:2      task_flags:0x4208060 flags:0x00080000
Workqueue: events rfkill_sync_work
Call Trace:
 <TASK>
 __schedule+0x14bc/0x5000
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 nfc_rfkill_set_block+0x50/0x2e0
 rfkill_set_block+0x1d2/0x440
 rfkill_sync_work+0x114/0x200
 process_scheduled_works+0xad1/0x1770
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x599/0xb30
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task kworker/0:3:5868 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:3     state:D stack:22744 pid:5868  tgid:5868  ppid:2      task_flags:0x4208060 flags:0x00080000
Workqueue: events rfkill_global_led_trigger_worker
Call Trace:
 <TASK>
 __schedule+0x14bc/0x5000
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 rfkill_global_led_trigger_worker+0x27/0xd0
 process_scheduled_works+0xad1/0x1770
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x599/0xb30
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task syz.2.917:11158 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.917       state:D stack:26120 pid:11158 tgid:11157 ppid:5838   task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x14bc/0x5000
 schedule+0x165/0x360
 schedule_timeout+0x9a/0x270
 wait_for_completion+0x2bf/0x5d0
 __flush_work+0x9b9/0xbc0
 __cancel_work_sync+0xbe/0x110
 rfkill_unregister+0x92/0x220
 nfc_unregister_device+0x96/0x2a0
 virtual_ncidev_close+0x56/0x90
 __fput+0x44c/0xa70
 task_work_run+0x1d4/0x260
 exit_to_user_mode_loop+0xff/0x4f0
 do_syscall_64+0x2e3/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f01e638f7c9
RSP: 002b:00007f01e7234038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffea RBX: 00007f01e65e5fa0 RCX: 00007f01e638f7c9
RDX: 0000000000005400 RSI: 0000200000000080 RDI: ffffffffffffff9c
RBP: 00007f01e63f297f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f01e65e6038 R14: 00007f01e65e5fa0 R15: 00007ffc381174a8
 </TASK>
INFO: task syz.1.918:11178 blocked for more than 143 seconds.
      Not tainted syzkaller #0
      Blocked by coredump.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.918       state:D stack:26408 pid:11178 tgid:11161 ppid:5829   task_flags:0x40044c flags:0x00080001
Call Trace:
 <TASK>
 __schedule+0x14bc/0x5000
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 rfkill_unregister+0xc8/0x220
 nfc_unregister_device+0x96/0x2a0
 virtual_ncidev_close+0x56/0x90
 __fput+0x44c/0xa70
 task_work_run+0x1d4/0x260
 do_exit+0x6c5/0x2310
 do_group_exit+0x21c/0x2d0
 get_signal+0x1285/0x1340
 arch_do_signal_or_restart+0x9a/0x7a0
 exit_to_user_mode_loop+0x87/0x4f0
 do_syscall_64+0x2e3/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f265d58f7c9
RSP: 002b:00007f265e486038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: fffffffffffffff4 RBX: 00007f265d7e6180 RCX: 00007f265d58f7c9
RDX: 0000000000000002 RSI: 0000200000000080 RDI: ffffffffffffff9c
RBP: 00007f265d5f297f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f265d7e6218 R14: 00007f265d7e6180 R15: 00007ffe393770c8
 </TASK>
INFO: task syz.0.923:11204 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.923       state:D stack:25112 pid:11204 tgid:11203 ppid:5837   task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x14bc/0x5000
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 rfkill_register+0x37/0x8e0
 nfc_register_device+0x14a/0x320
 nci_register_device+0x87f/0x9d0
 virtual_ncidev_open+0x129/0x1a0
 misc_open+0x2d5/0x350
 chrdev_open+0x4cc/0x5e0
 do_dentry_open+0x7ce/0x1420
 vfs_open+0x3b/0x340
 path_openat+0x340e/0x3dd0
 do_filp_open+0x1fa/0x410
 do_sys_openat2+0x121/0x200
 __x64_sys_openat+0x138/0x170
 do_syscall_64+0xfa/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff0f1d8f7c9
RSP: 002b:00007ff0f2c6f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007ff0f1fe5fa0 RCX: 00007ff0f1d8f7c9
RDX: 0000000000000002 RSI: 0000200000000080 RDI: ffffffffffffff9c
RBP: 00007ff0f1df297f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ff0f1fe6038 R14: 00007ff0f1fe5fa0 R15: 00007ffcdd13f178
 </TASK>

Showing all locks held in the system:
4 locks held by kworker/1:0/24:
 #0: ffff888100075948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x1770
 #1: ffffc900001e7b80 ((work_completion)(&rfkill->sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x1770
 #2: ffffffff8f5e15e8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_sync_work+0x2e/0x200
 #3: ffff88810c4c1100 (&dev->mutex){....}-{4:4}, at: nfc_rfkill_set_block+0x50/0x2e0
1 lock held by khungtaskd/35:
 #0: ffffffff8df41cc0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by syslogd/5261:
 #0: ffff88823c63a7d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140
 #1: ffff88823c624448 (psi_seq){-.-.}-{0:0}, at: psi_task_switch+0x53/0x880
1 lock held by klogd/5268:
 #0: ffff88823c63a7d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140
2 locks held by getty/5657:
 #0: ffff8881152c30a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc9000356b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
1 lock held by syz-executor/5829:
 #0: ffffffff8f5e15e8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_unregister+0xc8/0x220
3 locks held by kworker/0:3/5868:
 #0: ffff888100075948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x1770
 #1: ffffc90004487b80 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x1770
 #2: ffffffff8f5e15e8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_global_led_trigger_worker+0x27/0xd0
1 lock held by syz.2.917/11158:
 #0: ffff88810c4c1100 (&dev->mutex){....}-{4:4}, at: nfc_unregister_device+0x63/0x2a0
2 locks held by syz.1.918/11178:
 #0: ffff888169d95100 (&dev->mutex){....}-{4:4}, at: nfc_unregister_device+0x63/0x2a0
 #1: ffffffff8f5e15e8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_unregister+0xc8/0x220
3 locks held by syz.0.923/11204:
 #0: ffffffff8e78ce48 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
 #1: ffff8881bc836100 (&dev->mutex){....}-{4:4}, at: nfc_register_device+0xa1/0x320
 #2: ffffffff8f5e15e8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
1 lock held by syz-executor/11212:
 #0: ffffffff8e78ce48 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/11213:
 #0: ffffffff8e78ce48 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/11215:
 #0: ffffffff8e78ce48 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/11220:
 #0: ffffffff8e78ce48 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/11221:
 #0: ffffffff8e78ce48 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/11222:
 #0: ffffffff8e78ce48 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/11230:
 #0: ffffffff8e78ce48 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/11231:
 #0: ffffffff8e78ce48 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/11232:
 #0: ffffffff8e78ce48 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350

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

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 35 Comm: khungtaskd Not tainted syzkaller #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+0xf3c/0xf80
 kthread+0x711/0x8a0
 ret_from_fork+0x599/0xb30
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:pv_native_safe_halt+0x13/0x20
Code: 53 ec 02 00 cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 53 0d 1f 00 f3 0f 1e fa fb f4 <c3> cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc90000197de0 EFLAGS: 00000286
RAX: 7c1586c3d0ff2500 RBX: ffffffff8197438a RCX: 7c1586c3d0ff2500
RDX: 0000000000000001 RSI: ffffffff8d76bd39 RDI: ffffffff8bbfc660
RBP: ffffc90000197f10 R08: ffff88823c63359b R09: 1ffff110478c66b3
R10: dffffc0000000000 R11: ffffed10478c66b4 R12: ffffffff8f805a70
R13: 1ffff1102c1d2000 R14: 0000000000000001 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8882a9eb1000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007feed45d41a0 CR3: 0000000173282000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 default_idle+0x13/0x20
 default_idle_call+0x73/0xb0
 do_idle+0x1ea/0x520
 cpu_startup_entry+0x44/0x60
 start_secondary+0x101/0x110
 common_startup_64+0x13e/0x147
 </TASK>
