INFO: task kworker/0:2:1270 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:2     state:D stack:23464 pid:1270  tgid:1270  ppid:2      task_flags:0x4208060 flags:0x00004000
Workqueue: events rfkill_global_led_trigger_worker
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 rfkill_global_led_trigger_worker+0x27/0xd0
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x439/0x7d0
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task syz.1.1361:10837 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.1361      state:D stack:24104 pid:10837 tgid:10837 ppid:5854   task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 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
 exit_to_user_mode_loop+0xec/0x110
 do_syscall_64+0x2bd/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5791f8eba9
RSP: 002b:00007ffe9f53c2a8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f57921d7da0 RCX: 00007f5791f8eba9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f57921d7da0 R08: 000000000000020c R09: 0000001c9f53c59f
R10: 00007f57921d7cb0 R11: 0000000000000246 R12: 0000000000025f57
R13: 00007f57921d6360 R14: ffffffffffffffff R15: 00007ffe9f53c3c0
 </TASK>
INFO: task syz.1.1361:10849 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.1361      state:D stack:26048 pid:10849 tgid:10837 ppid:5854   task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 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+0x2bc/0x330
 chrdev_open+0x4cc/0x5e0
 do_dentry_open+0x953/0x13f0
 vfs_open+0x3b/0x340
 path_openat+0x2ee5/0x3830
 do_filp_open+0x1fa/0x410
 do_sys_openat2+0x121/0x1c0
 __x64_sys_openat+0x138/0x170
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5791f8eba9
RSP: 002b:00007f5792e85038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f57921d6180 RCX: 00007f5791f8eba9
RDX: 0000000000000002 RSI: 0000200000000080 RDI: ffffffffffffff9c
RBP: 00007f5792011e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f57921d6218 R14: 00007f57921d6180 R15: 00007ffe9f53c148
 </TASK>
INFO: task syz.2.1362:10848 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.1362      state:D stack:24344 pid:10848 tgid:10842 ppid:5852   task_flags:0x400140 flags:0x00004006
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 nfc_rfkill_set_block+0x50/0x2e0
 rfkill_set_block+0x1d2/0x440
 rfkill_fop_write+0x44b/0x570
 vfs_write+0x27e/0xb30
 ksys_write+0x145/0x250
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f577278eba9
RSP: 002b:00007f5773688038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f57729d6090 RCX: 00007f577278eba9
RDX: 0000000000000008 RSI: 0000200000000080 RDI: 0000000000000007
RBP: 00007f5772811e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f57729d6128 R14: 00007f57729d6090 R15: 00007ffe23dad1e8
 </TASK>
INFO: task syz.0.1370:10877 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.1370      state:D stack:27816 pid:10877 tgid:10876 ppid:5848   task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 misc_open+0x51/0x330
 chrdev_open+0x4cc/0x5e0
 do_dentry_open+0x953/0x13f0
 vfs_open+0x3b/0x340
 path_openat+0x2ee5/0x3830
 do_filp_open+0x1fa/0x410
 do_sys_openat2+0x121/0x1c0
 __x64_sys_openat+0x138/0x170
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9a7fb8eba9
RSP: 002b:00007f9a80aa2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f9a7fdd5fa0 RCX: 00007f9a7fb8eba9
RDX: 0000000000040241 RSI: 0000200000000000 RDI: ffffffffffffff9c
RBP: 00007f9a7fc11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9a7fdd6038 R14: 00007f9a7fdd5fa0 R15: 00007ffd26f46f38
 </TASK>
INFO: task syz-executor:10883 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:28040 pid:10883 tgid:10883 ppid:1      task_flags:0x400040 flags:0x00004000
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 misc_open+0x51/0x330
 chrdev_open+0x4cc/0x5e0
 do_dentry_open+0x953/0x13f0
 vfs_open+0x3b/0x340
 path_openat+0x2ee5/0x3830
 do_filp_open+0x1fa/0x410
 do_sys_openat2+0x121/0x1c0
 __x64_sys_openat+0x138/0x170
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f188b18d491
RSP: 002b:00007ffd1d75b950 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f188b18d491
RDX: 0000000000000002 RSI: 00007f188b212822 RDI: 00000000ffffff9c
RBP: 00007f188b212822 R08: 0000000000000000 R09: 00007f188bf0d6c0
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000008
R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000000
 </TASK>
INFO: task syz-executor:10884 blocked for more than 144 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:27672 pid:10884 tgid:10884 ppid:1      task_flags:0x400040 flags:0x00004000
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 misc_open+0x51/0x330
 chrdev_open+0x4cc/0x5e0
 do_dentry_open+0x953/0x13f0
 vfs_open+0x3b/0x340
 path_openat+0x2ee5/0x3830
 do_filp_open+0x1fa/0x410
 do_sys_openat2+0x121/0x1c0
 __x64_sys_openat+0x138/0x170
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe31d38d491
RSP: 002b:00007ffd9bf42f90 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fe31d38d491
RDX: 0000000000000002 RSI: 00007fe31d412822 RDI: 00000000ffffff9c
RBP: 00007fe31d412822 R08: 0000000000000000 R09: 00007fe31e10d6c0
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000008
R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000000
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/34:
 #0: ffffffff8e13a0e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
3 locks held by kworker/0:2/1270:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900079c7bc0 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f812a48 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_global_led_trigger_worker+0x27/0xd0
2 locks held by getty/5669:
 #0: ffff8880232d40a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900026982f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
2 locks held by syz.1.1361/10837:
 #0: ffff88802001a100 (&dev->mutex){....}-{4:4}, at: nfc_unregister_device+0x63/0x2a0
 #1: ffffffff8f812a48 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_unregister+0xc8/0x220
3 locks held by syz.1.1361/10849:
 #0: ffffffff8e9c2608 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x330
 #1: ffff888035605100 (&dev->mutex){....}-{4:4}, at: nfc_register_device+0xa1/0x320
 #2: ffffffff8f812a48 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz.2.1362/10848:
 #0: ffffffff8f812a48 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_fop_write+0x191/0x570
 #1: ffff88802001a100 (&dev->mutex){....}-{4:4}, at: nfc_rfkill_set_block+0x50/0x2e0
1 lock held by syz.0.1370/10877:
 #0: ffffffff8e9c2608 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x330
1 lock held by syz-executor/10883:
 #0: ffffffff8e9c2608 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x330
1 lock held by syz-executor/10884:
 #0: ffffffff8e9c2608 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x330
1 lock held by syz-executor/10886:
 #0: ffffffff8e9c2608 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x330
1 lock held by syz-executor/10888:
 #0: ffffffff8e9c2608 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x330
1 lock held by syz-executor/10890:
 #0: ffffffff8e9c2608 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x330
1 lock held by syz-executor/10892:
 #0: ffffffff8e9c2608 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x330
1 lock held by syz-executor/10894:
 #0: ffffffff8e9c2608 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x330
1 lock held by syz-executor/10896:
 #0: ffffffff8e9c2608 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x330
1 lock held by syz-executor/10898:
 #0: ffffffff8e9c2608 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x330

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

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 34 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+0xf93/0xfe0
 kthread+0x711/0x8a0
 ret_from_fork+0x439/0x7d0
 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 e8 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 b3 49 0d 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:ffffc90000177de0 EFLAGS: 00000282
RAX: 6a3992048eb4fe00 RBX: ffffffff819693f8 RCX: 6a3992048eb4fe00
RDX: 0000000000000001 RSI: ffffffff8d9ba81d RDI: ffffffff8be33c00
RBP: ffffc90000177f20 R08: ffff888136632f9b R09: 1ffff11026cc65f3
R10: dffffc0000000000 R11: ffffed1026cc65f4 R12: ffffffff8fa38e30
R13: 0000000000000001 R14: 0000000000000001 R15: 1ffff11020007000
FS:  0000000000000000(0000) GS:ffff8881a3c13000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f43187f8580 CR3: 000000000df36000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 default_idle+0x13/0x20
 default_idle_call+0x74/0xb0
 do_idle+0x1e8/0x510
 cpu_startup_entry+0x44/0x60
 start_secondary+0x101/0x110
 common_startup_64+0x13e/0x147
 </TASK>
