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:22984 pid:47    tgid:47    ppid:2      task_flags:0x4208060 flags:0x00080000
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+0x4bc/0x870
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task syz.7.3129:19549 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.3129      state:D stack:24744 pid:19549 tgid:19549 ppid:18408  task_flags:0x400040 flags:0x00080003
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+0xe9/0x130
 do_syscall_64+0x2bd/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f004c58eba9
RSP: 002b:00007ffd48e24328 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f004c7d7da0 RCX: 00007f004c58eba9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f004c7d7da0 R08: 000000000001a9fc R09: 0000001848e2461f
R10: 00007f004c7d7cb0 R11: 0000000000000246 R12: 00000000000703a1
R13: 00007f004c7d6090 R14: ffffffffffffffff R15: 00007ffd48e24440
 </TASK>
INFO: task syz.7.3129:19550 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.3129      state:D stack:24936 pid:19550 tgid:19549 ppid:18408  task_flags:0x400140 flags:0x00080003
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/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f004c58eba9
RSP: 002b:00007f004d417038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f004c7d5fa0 RCX: 00007f004c58eba9
RDX: 0000000000000008 RSI: 0000200000000080 RDI: 0000000000000005
RBP: 00007f004c611e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f004c7d6038 R14: 00007f004c7d5fa0 R15: 00007ffd48e241c8
 </TASK>
INFO: task syz.6.3200:19749 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.6.3200      state:D stack:28264 pid:19749 tgid:19748 ppid:19247  task_flags:0x400040 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 rfkill_fop_open+0x12d/0x820
 misc_open+0x2d5/0x350
 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/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f098f98eba9
RSP: 002b:00007f09908c2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f098fbd5fa0 RCX: 00007f098f98eba9
RDX: 000000000006ad01 RSI: 0000200000000100 RDI: ffffffffffffff9c
RBP: 00007f098fa11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f098fbd6038 R14: 00007f098fbd5fa0 R15: 00007ffe16679658
 </TASK>
INFO: task syz.4.3204:19760 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.3204      state:D stack:27712 pid:19760 tgid:19758 ppid:18894  task_flags:0x400040 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 misc_open+0x51/0x350
 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/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f25d598eba9
RSP: 002b:00007f25d68c4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f25d5bd6090 RCX: 00007f25d598eba9
RDX: 0000000000000000 RSI: 00002000000003c0 RDI: ffffffffffffff9c
RBP: 00007f25d5a11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f25d5bd6128 R14: 00007f25d5bd6090 R15: 00007fff8ccdbb58
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/34:
 #0: ffffffff8e33d360 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
3 locks held by kworker/1:1/47:
 #0: ffff88801a875948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000075fba0 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8fa20128 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_global_led_trigger_worker+0x27/0xd0
2 locks held by getty/5674:
 #0: ffff8880203780a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900028f62f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
2 locks held by syz.7.3129/19549:
 #0: ffff88811a35f100 (&dev->mutex){....}-{4:4}, at: nfc_unregister_device+0x63/0x2a0
 #1: ffffffff8fa20128 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_unregister+0xc8/0x220
2 locks held by syz.7.3129/19550:
 #0: ffffffff8fa20128 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_fop_write+0x191/0x570
 #1: ffff88811a35f100 (&dev->mutex){....}-{4:4}, at: nfc_rfkill_set_block+0x50/0x2e0
2 locks held by syz.6.3200/19749:
 #0: ffffffff8ebcace8 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
 #1: ffffffff8fa20128 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_fop_open+0x12d/0x820
1 lock held by syz.4.3204/19760:
 #0: ffffffff8ebcace8 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/19764:
 #0: ffffffff8ebcace8 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/19767:
 #0: ffffffff8ebcace8 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/19768:
 #0: ffffffff8ebcace8 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/19775:
 #0: ffffffff8ebcace8 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/19778:
 #0: ffffffff8ebcace8 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/19779:
 #0: ffffffff8ebcace8 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/19781:
 #0: ffffffff8ebcace8 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/19789:
 #0: ffffffff8ebcace8 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350
1 lock held by syz-executor/19790:
 #0: ffffffff8ebcace8 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x51/0x350

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

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+0xf60/0xfa0
 kthread+0x711/0x8a0
 ret_from_fork+0x4bc/0x870
 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: 4038 Comm: kworker/u9:6 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: events_unbound nsim_dev_trap_report_work
RIP: 0010:__unwind_start+0x67/0x760
Code: 4d 89 f7 49 c1 ef 03 41 80 3c 17 00 74 12 4c 89 f7 e8 2d 94 b0 00 48 ba 00 00 00 00 00 fc ff df 4d 89 2e 80 3d fd fd 6a 0c 01 <75> 2f 65 48 8b 04 25 08 30 c4 92 49 39 c5 74 69 49 8d 6d 34 48 89
RSP: 0018:ffffc9002044ef88 EFLAGS: 00000246
RAX: ffffc9002044efe8 RBX: ffffc9002044efe8 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffc9002044f048
RBP: ffffc9002044f070 R08: ffffc9002044f047 R09: 0000000000000000
R10: ffffc9002044efe8 R11: fffff52004089e09 R12: 0000000000000000
R13: ffff888021df8000 R14: ffffc9002044f010 R15: 1ffff92004089e02
FS:  0000000000000000(0000) GS:ffff8880b83dd000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc2dec5f28 CR3: 000000000e138000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 arch_stack_walk+0xe4/0x150
 stack_trace_save+0x9c/0xe0
 save_stack+0xf5/0x1f0
 __set_page_owner+0x8d/0x4a0
 post_alloc_hook+0x240/0x2a0
 get_page_from_freelist+0x21e4/0x22c0
 __alloc_frozen_pages_noprof+0x181/0x370
 alloc_pages_mpol+0x232/0x4a0
 allocate_slab+0x96/0x3a0
 ___slab_alloc+0xe94/0x1920
 __slab_alloc+0x65/0x100
 __kmalloc_node_track_caller_noprof+0x5c7/0x800
 kmalloc_reserve+0x136/0x290
 __alloc_skb+0x142/0x2d0
 nsim_dev_trap_report_work+0x29a/0xb80
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x4bc/0x870
 ret_from_fork_asm+0x1a/0x30
 </TASK>
