INFO: task kworker/1:1:47 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:1     state:D stack:18952 pid:47    tgid:47    ppid:2      task_flags:0x4208060 flags:0x00004000
Workqueue: events rfkill_op_handler
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_epo+0x7e/0x180
 rfkill_op_handler+0x84/0x240
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task kworker/1:2:793 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:2     state:D stack:19584 pid:793   tgid:793   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+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task syz.8.1303:18848 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.8.1303      state:D stack:24936 pid:18848 tgid:18847 ppid:13566  task_flags:0x40054c flags:0x00004006
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
 do_exit+0x6b5/0x2300
 do_group_exit+0x21c/0x2d0
 get_signal+0x1286/0x1340
 arch_do_signal_or_restart+0x9a/0x750
 exit_to_user_mode_loop+0x75/0x110
 do_syscall_64+0x2bd/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f7d3098ebe9
RSP: 002b:00007f7d31838038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: 000000000000001c RBX: 00007f7d30bc5fa0 RCX: 00007f7d3098ebe9
RDX: 0000000000000000 RSI: 0000200000000140 RDI: 0000000000000007
RBP: 00007f7d30a11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f7d30bc6038 R14: 00007f7d30bc5fa0 R15: 00007fff8f04a148
 </TASK>
INFO: task syz.7.1312:19012 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.7.1312      state:D stack:22656 pid:19012 tgid:19011 ppid:12566  task_flags:0x400140 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:0x7fa5a518ebe9
RSP: 002b:00007fa5a60ea038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fa5a53c5fa0 RCX: 00007fa5a518ebe9
RDX: 0000000000000002 RSI: 0000200000000100 RDI: ffffffffffffff9c
RBP: 00007fa5a5211e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa5a53c6038 R14: 00007fa5a53c5fa0 R15: 00007ffe27c56248
 </TASK>
INFO: task syz.9.1316:19065 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.9.1316      state:D stack:27232 pid:19065 tgid:19063 ppid:16771  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:0x7fe36e18ebe9
RSP: 002b:00007fe36f0e4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fe36e3c5fa0 RCX: 00007fe36e18ebe9
RDX: 0000000000000002 RSI: 0000200000000080 RDI: ffffffffffffff9c
RBP: 00007fe36e211e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe36e3c6038 R14: 00007fe36e3c5fa0 R15: 00007ffcf1421608
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/34:
 #0: ffffffff8e139ee0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
4 locks held by kworker/1:1/47:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000075fbc0 ((rfkill_op_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f812388 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_epo+0x4c/0x180
 #3: ffff888038f6b100 (&dev->mutex){....}-{4:4}, at: nfc_rfkill_set_block+0x50/0x2e0
3 locks held by kworker/1:2/793:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900045dfbc0 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f812388 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_global_led_trigger_worker+0x27/0xd0
2 locks held by getty/5675:
 #0: ffff888104dff0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900029062f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
1 lock held by syz-executor/13566:
 #0: ffffffff8f812388 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_unregister+0xc8/0x220
2 locks held by syz.8.1303/18848:
 #0: ffff888038f6b100 (&dev->mutex){....}-{4:4}, at: nfc_unregister_device+0x63/0x2a0
 #1: ffffffff8f812388 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_unregister+0xc8/0x220
3 locks held by syz.7.1312/19012:
 #0: ffffffff8e9c1988 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x330
 #1: ffff8880205e1100 (&dev->mutex){....}-{4:4}, at: nfc_register_device+0xa1/0x320
 #2: ffffffff8f812388 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
1 lock held by syz.9.1316/19065:
 #0: ffffffff8e9c1988 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x330
1 lock held by syz-executor/19072:
 #0: ffffffff8e9c1988 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x330
1 lock held by syz-executor/19074:
 #0: ffffffff8e9c1988 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x330
1 lock held by syz-executor/19089:
 #0: ffffffff8e9c1988 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x330
1 lock held by syz-executor/19095:
 #0: ffffffff8e9c1988 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x330
1 lock held by syz-executor/19097:
 #0: ffffffff8e9c1988 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x330
1 lock held by syz-executor/19099:
 #0: ffffffff8e9c1988 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x330
1 lock held by syz-executor/19106:
 #0: ffffffff8e9c1988 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x330
1 lock held by syz-executor/19108:
 #0: ffffffff8e9c1988 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x330
1 lock held by syz-executor/19110:
 #0: ffffffff8e9c1988 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x330

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

NMI backtrace for cpu 1
CPU: 1 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+0x3fc/0x770
 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: 13 Comm: kworker/u8: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
Workqueue: bat_events batadv_nc_worker
RIP: 0010:batadv_nc_worker+0x29b/0x610
Code: 48 c7 c2 00 35 b7 8c e8 b3 52 56 f6 48 c7 c7 e0 9e 13 8e 4c 89 ee e8 94 38 56 f6 e8 1f e4 5f f6 48 8b 44 24 20 42 0f b6 04 20 <84> c0 75 1b 49 ff c7 4c 8b 6c 24 10 41 8b 45 00 49 39 c7 73 25 e8
RSP: 0018:ffffc90000107a20 EFLAGS: 00000287
RAX: 0000000000000000 RBX: ffff88803ac42880 RCX: 0c45d204099d0600
RDX: 0000000000000002 RSI: ffffffff8dba6cac RDI: ffff88801c2f8000
RBP: fffffffffffffe38 R08: 0000000000000000 R09: ffffffff8b473152
R10: dffffc0000000000 R11: ffffffff8b473080 R12: dffffc0000000000
R13: ffffffff8b473152 R14: ffff88802b5f8d80 R15: 0000000000000252
FS:  0000000000000000(0000) GS:ffff8880b861b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055872079bdf8 CR3: 0000000024f12000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
