INFO: task kworker/0:5:5890 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:5     state:D stack:23552 pid:5890  tgid:5890  ppid:2      task_flags:0x4208060 flags:0x00080000
Workqueue: events rfkill_sync_work
Call Trace:
 <TASK>
 __schedule+0x1550/0x5060
 schedule+0x164/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x829/0x1340
 nfc_dev_down+0x3b/0x290
 nfc_rfkill_set_block+0x2d/0x100
 rfkill_set_block+0x1d2/0x440
 rfkill_sync_work+0x114/0x200
 process_scheduled_works+0xaec/0x17a0
 worker_thread+0x89f/0xd90
 kthread+0x726/0x8b0
 ret_from_fork+0x5b0/0xb20
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task syz.4.4689:23186 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.4689      state:D stack:26872 pid:23186 tgid:23186 ppid:12565  task_flags:0x400040 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x1550/0x5060
 schedule+0x164/0x360
 schedule_timeout+0xc3/0x2c0
 wait_for_completion+0x2cc/0x5e0
 __flush_work+0xa17/0xc50
 __cancel_work_sync+0xbe/0x110
 rfkill_unregister+0x92/0x220
 nfc_unregister_device+0x96/0x2f0
 virtual_ncidev_close+0x56/0x90
 __fput+0x44f/0xa70
 task_work_run+0x1d9/0x270
 exit_to_user_mode_loop+0xfd/0x490
 do_syscall_64+0x2c6/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f499819acb9
RSP: 002b:00007ffd15efb7d8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007ffd15efb8c0 RCX: 00007f499819acb9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 000000000007144e R08: 0000000000000001 R09: 0000000000000000
R10: 0000001b2d120000 R11: 0000000000000246 R12: 00007ffd15efb900
R13: 00007f4998405fac R14: 00000000000714ba R15: 00007f4998405fa0
 </TASK>
INFO: task syz.1.4710:23266 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.4710      state:D stack:25672 pid:23266 tgid:23265 ppid:5825   task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x1550/0x5060
 schedule+0x164/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x829/0x1340
 rfkill_register+0x37/0x8e0
 nfc_register_device+0x14a/0x380
 nci_register_device+0x8a1/0xa00
 virtual_ncidev_open+0x129/0x1a0
 misc_open+0x2d5/0x350
 chrdev_open+0x4cd/0x5e0
 do_dentry_open+0x7ce/0x1420
 vfs_open+0x3b/0x340
 path_openat+0x3486/0x3e20
 do_filp_open+0x22d/0x490
 do_sys_openat2+0x12f/0x220
 __x64_sys_openat+0x138/0x170
 do_syscall_64+0xf0/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f409bb9acb9
RSP: 002b:00007f4099df6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f409be05fa0 RCX: 00007f409bb9acb9
RDX: 0000000000000002 RSI: 0000200000000080 RDI: ffffffffffffff9c
RBP: 00007f409bc08bf7 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f409be06038 R14: 00007f409be05fa0 R15: 00007fffdc18ccf8
 </TASK>
INFO: task syz.3.4711:23274 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.4711      state:D stack:26352 pid:23274 tgid:23273 ppid:12548  task_flags:0x400040 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x1550/0x5060
 schedule+0x164/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x829/0x1340
 misc_open+0x51/0x350
 chrdev_open+0x4cd/0x5e0
 do_dentry_open+0x7ce/0x1420
 vfs_open+0x3b/0x340
 path_openat+0x3486/0x3e20
 do_filp_open+0x22d/0x490
 do_sys_openat2+0x12f/0x220
 __x64_sys_openat+0x138/0x170
 do_syscall_64+0xf0/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f09e4d9acb9
RSP: 002b:00007f09e5c54028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f09e5005fa0 RCX: 00007f09e4d9acb9
RDX: 0000000000040241 RSI: 0000200000000000 RDI: ffffffffffffff9c
RBP: 00007f09e4e08bf7 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f09e5006038 R14: 00007f09e5005fa0 R15: 00007fff61f23a98
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/35:
 #0: ffffffff8e341aa0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by getty/5651:
 #0: ffff888113dc10a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc9000356b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45c/0x13c0
4 locks held by kworker/0:5/5890:
 #0: ffff888100075948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9d4/0x17a0
 #1: ffffc90005127b80 ((work_completion)(&rfkill->sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa0f/0x17a0
 #2: ffffffff8fa005c8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_sync_work+0x2e/0x200
 #3: ffff88810fe01100 (&dev->mutex){....}-{4:4}, at: nfc_dev_down+0x3b/0x290
1 lock held by syz.4.4689/23186:
 #0: ffff88810fe01100 (&dev->mutex){....}-{4:4}, at: nfc_unregister_device+0x63/0x2f0
3 locks held by syz.1.4710/23266:
 #0: ffffffff8eba0448 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
 #1: ffff8881128a9100 (&dev->mutex){....}-{4:4}, at: nfc_register_device+0xa1/0x380
 #2: ffffffff8fa005c8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
1 lock held by syz.3.4711/23274:
 #0: ffffffff8eba0448 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/23277:
 #0: ffffffff8eba0448 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/23280:
 #0: ffffffff8eba0448 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/23281:
 #0: ffffffff8eba0448 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/23286:
 #0: ffffffff8eba0448 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/23288:
 #0: ffffffff8eba0448 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/23290:
 #0: ffffffff8eba0448 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/23297:
 #0: ffffffff8eba0448 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/23299:
 #0: ffffffff8eba0448 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/23301:
 #0: ffffffff8eba0448 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350

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

NMI backtrace for cpu 1
CPU: 1 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+0x1a9/0x280
 nmi_cpu_backtrace+0x3a9/0x3e0
 nmi_trigger_cpumask_backtrace+0x17a/0x300
 sys_info+0x135/0x170
 watchdog+0xf90/0xfe0
 kthread+0x726/0x8b0
 ret_from_fork+0x5b0/0xb20
 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: 0 Comm: swapper/0 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+0xf/0x20
Code: 17 4f 02 c3 cc cc cc cc 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 83 12 11 00 fb f4 <e9> bc f3 02 00 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90
RSP: 0018:ffffffff8e007d80 EFLAGS: 00000282
RAX: 359603c4bd138900 RBX: ffffffff8198b6aa RCX: 359603c4bd138900
RDX: 0000000000000001 RSI: ffffffff8d9b6e83 RDI: ffffffff8be08d60
RBP: ffffffff8e007ea8 R08: ffff8881210336db R09: 1ffff110242066db
R10: dffffc0000000000 R11: ffffed10242066dc R12: 1ffffffff1c12a68
R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffffffff1c00fbc
FS:  0000000000000000(0000) GS:ffff88818e422000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe57512ebc CR3: 000000000e13a000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 default_idle+0x13/0x20
 default_idle_call+0x72/0xb0
 do_idle+0x1ea/0x4e0
 cpu_startup_entry+0x43/0x60
 rest_init+0x2de/0x300
 start_kernel+0x3a6/0x400
 x86_64_start_reservations+0x24/0x30
 x86_64_start_kernel+0x143/0x1c0
 common_startup_64+0x13e/0x147
 </TASK>
