INFO: task kworker/u4:10:5232 blocked for more than 143 seconds.
Not tainted 6.2.0-rc1-syzkaller-00043-g2258c2dc850b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:10 state:D stack:23576 pid:5232 ppid:2 flags:0x00004000
Workqueue: nfc2_nci_rx_wq nci_rx_work
Call Trace:
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x9d1/0xe40 kernel/sched/core.c:6555
schedule+0xcb/0x190 kernel/sched/core.c:6631
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6690
__mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679
__mutex_lock kernel/locking/mutex.c:747 [inline]
mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799
device_lock include/linux/device.h:831 [inline]
nfc_targets_found+0x273/0x590 net/nfc/core.c:778
nci_rf_discover_ntf_packet+0xbaa/0xd70 net/nfc/nci/ntf.c:390
nci_ntf_packet+0x140/0x970 net/nfc/nci/ntf.c:798
nci_rx_work+0x160/0x2b0 net/nfc/nci/core.c:1517
process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
INFO: task kworker/1:12:7403 blocked for more than 143 seconds.
Not tainted 6.2.0-rc1-syzkaller-00043-g2258c2dc850b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:12 state:D stack:25096 pid:7403 ppid:2 flags:0x00004000
Workqueue: events nfc_urelease_event_work
Call Trace:
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x9d1/0xe40 kernel/sched/core.c:6555
schedule+0xcb/0x190 kernel/sched/core.c:6631
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6690
__mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679
__mutex_lock kernel/locking/mutex.c:747 [inline]
mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799
nci_request net/nfc/nci/core.c:149 [inline]
nci_stop_poll+0x11d/0x470 net/nfc/nci/core.c:873
nfc_stop_poll+0xdf/0x210 net/nfc/core.c:259
nfc_urelease_event_work+0x159/0x300 net/nfc/netlink.c:1814
process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
INFO: task syz-executor.4:13139 blocked for more than 143 seconds.
Not tainted 6.2.0-rc1-syzkaller-00043-g2258c2dc850b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:25432 pid:13139 ppid:5101 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x9d1/0xe40 kernel/sched/core.c:6555
schedule+0xcb/0x190 kernel/sched/core.c:6631
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6690
__mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679
__mutex_lock kernel/locking/mutex.c:747 [inline]
mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799
nfc_unregister_device+0x198/0x290 net/nfc/core.c:1181
virtual_ncidev_close+0x55/0x90 drivers/nfc/virtual_ncidev.c:163
__fput+0x3ba/0x880 fs/file_table.c:320
task_work_run+0x243/0x300 kernel/task_work.c:179
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0x644/0x2150 kernel/exit.c:867
do_group_exit+0x1fd/0x2b0 kernel/exit.c:1012
get_signal+0x1755/0x1820 kernel/signal.c:2859
arch_do_signal_or_restart+0x8d/0x5f0 arch/x86/kernel/signal.c:306
exit_to_user_mode_loop+0x74/0x160 kernel/entry/common.c:168
exit_to_user_mode_prepare+0xad/0x110 kernel/entry/common.c:203
__syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
syscall_exit_to_user_mode+0x2e/0x60 kernel/entry/common.c:296
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f532028c0a9
RSP: 002b:00007f531effe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: fffffffffffffff2 RBX: 00007f53203abf80 RCX: 00007f532028c0a9
RDX: 000000000000006e RSI: 0000000020000900 RDI: 0000000000000003
RBP: 00007f53202e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc3bbd3b0f R14: 00007f531effe300 R15: 0000000000022000
INFO: task syz-executor.3:13136 blocked for more than 144 seconds.
Not tainted 6.2.0-rc1-syzkaller-00043-g2258c2dc850b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:25656 pid:13136 ppid:5105 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x9d1/0xe40 kernel/sched/core.c:6555
schedule+0xcb/0x190 kernel/sched/core.c:6631
schedule_timeout+0xac/0x300 kernel/time/timer.c:2143
do_wait_for_common+0x3ea/0x560 kernel/sched/completion.c:85
__wait_for_common kernel/sched/completion.c:106 [inline]
wait_for_common kernel/sched/completion.c:117 [inline]
wait_for_completion+0x46/0x60 kernel/sched/completion.c:138
__flush_workqueue+0x76a/0x16a0 kernel/workqueue.c:2861
nci_close_device+0x1b2/0x5e0 net/nfc/nci/core.c:579
nci_unregister_device+0x3c/0x250 net/nfc/nci/core.c:1292
virtual_ncidev_close+0x55/0x90 drivers/nfc/virtual_ncidev.c:163
__fput+0x3ba/0x880 fs/file_table.c:320
task_work_run+0x243/0x300 kernel/task_work.c:179
get_signal+0x1654/0x1820 kernel/signal.c:2635
arch_do_signal_or_restart+0x8d/0x5f0 arch/x86/kernel/signal.c:306
exit_to_user_mode_loop+0x74/0x160 kernel/entry/common.c:168
exit_to_user_mode_prepare+0xad/0x110 kernel/entry/common.c:203
__syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
syscall_exit_to_user_mode+0x2e/0x60 kernel/entry/common.c:296
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f41b2e8c0a9
RSP: 002b:00007f41b3c83168 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: fffffffffffffff2 RBX: 00007f41b2fabf80 RCX: 00007f41b2e8c0a9
RDX: 0000000000000064 RSI: 0000000020000840 RDI: 0000000000000003
RBP: 00007f41b2ee7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fffec19854f R14: 00007f41b3c83300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d5239d0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8d5241d0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by khungtaskd/28:
#0: ffffffff8d523800 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
3 locks held by kworker/1:2/2230:
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262
#1: ffffc9000a547d00 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264
#2: ffffffff8e95caa8 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa4/0x300 net/nfc/netlink.c:1805
2 locks held by getty/4738:
#0: ffff888149efb098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2177
3 locks held by kworker/1:7/5198:
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262
#1: ffffc90004987d00 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264
#2: ffffffff8e95caa8 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa4/0x300 net/nfc/netlink.c:1805
3 locks held by kworker/u4:10/5232:
#0: ffff88807d4c3138 ((wq_completion)nfc2_nci_rx_wq){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262
#1: ffffc90004b7fd00 ((work_completion)(&ndev->rx_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264
#2: ffff88807a728100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline]
#2: ffff88807a728100 (&dev->mutex){....}-{3:3}, at: nfc_targets_found+0x273/0x590 net/nfc/core.c:778
3 locks held by kworker/1:8/5539:
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262
#1: ffffc90005557d00 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264
#2: ffffffff8e95caa8 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa4/0x300 net/nfc/netlink.c:1805
3 locks held by kworker/1:10/5642:
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262
#1: ffffc900062efd00 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264
#2: ffffffff8e95caa8 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa4/0x300 net/nfc/netlink.c:1805
3 locks held by kworker/1:11/7036:
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262
#1: ffffc900034efd00 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264
#2: ffffffff8e95caa8 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa4/0x300 net/nfc/netlink.c:1805
6 locks held by kworker/1:12/7403:
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262
#1: ffffc900059f7d00 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264
#2: ffffffff8e95caa8 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa4/0x300 net/nfc/netlink.c:1805
#3: ffff88807a728508 (&genl_data->genl_data_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0x10a/0x300 net/nfc/netlink.c:1811
#4: ffff88807a728100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline]
#4: ffff88807a728100 (&dev->mutex){....}-{3:3}, at: nfc_stop_poll+0x33/0x210 net/nfc/core.c:247
#5: ffff88807a729350 (&ndev->req_lock){+.+.}-{3:3}, at: nci_request net/nfc/nci/core.c:149 [inline]
#5: ffff88807a729350 (&ndev->req_lock){+.+.}-{3:3}, at: nci_stop_poll+0x11d/0x470 net/nfc/nci/core.c:873
3 locks held by kworker/1:13/7404:
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262
#1: ffffc90005ad7d00 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264
#2: ffffffff8e95caa8 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa4/0x300 net/nfc/netlink.c:1805
1 lock held by syz-executor.4/13139:
#0: ffffffff8e95caa8 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_unregister_device+0x198/0x290 net/nfc/core.c:1181
1 lock held by syz-executor.3/13136:
#0: ffff88807a729350 (&ndev->req_lock){+.+.}-{3:3}, at: nci_close_device+0xfe/0x5e0 net/nfc/nci/core.c:561
1 lock held by syz-executor.4/13525:
#0: ffffffff8dc47368 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x57/0x3c0 drivers/char/misc.c:129
2 locks held by syz-executor.3/13602:
#0: ffffffff8dc47368 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x57/0x3c0 drivers/char/misc.c:129
#1: ffffffff8e95caa8 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_register_device+0x33/0x320 net/nfc/core.c:1116
1 lock held by syz-executor.3/14075:
#0: ffffffff8dc47368 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x57/0x3c0 drivers/char/misc.c:129
1 lock held by syz-executor.4/14080:
#0: ffffffff8dc47368 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x57/0x3c0 drivers/char/misc.c:129
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc1-syzkaller-00043-g2258c2dc850b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x4e3/0x560 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x19b/0x3e0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
watchdog+0xcd5/0xd20 kernel/hung_task.c:377
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 6577 Comm: kworker/u4:16 Not tainted 6.2.0-rc1-syzkaller-00043-g2258c2dc850b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline]
RIP: 0010:static_key_false include/linux/jump_label.h:207 [inline]
RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:147 [inline]
RIP: 0010:wrmsrl arch/x86/include/asm/msr.h:262 [inline]
RIP: 0010:native_x2apic_icr_write arch/x86/include/asm/apic.h:238 [inline]
RIP: 0010:__x2apic_send_IPI_dest arch/x86/kernel/apic/x2apic_phys.c:123 [inline]
RIP: 0010:x2apic_send_IPI+0x76/0xd0 arch/x86/kernel/apic/x2apic_phys.c:48
Code: d8 48 c1 e8 03 42 8a 04 38 84 c0 75 26 0f b7 13 0f ae f0 0f ae e8 41 83 fe 02 b8 00 04 00 00 41 0f 45 c6 b9 30 08 00 00 0f 30 <66> 90 5b 41 5e 41 5f 5d c3 89 d9 80 e1 07 fe c1 38 c1 7c cf 48 89
RSP: 0018:ffffc90003b57738 EFLAGS: 00000206
RAX: 00000000000000fb RBX: ffff8880b99219a0 RCX: 0000000000000830
RDX: 0000000000000001 RSI: 00000000000000fb RDI: 0000000000000001
RBP: ffffffff8cfb3828 R08: ffffffff8182745c R09: ffffed1017307653
R10: ffffed1017307653 R11: 1ffff11017307652 R12: ffff888012af1d40
R13: dffffc0000000000 R14: 00000000000000fb R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c002161000 CR3: 000000000d28e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
arch_send_call_function_single_ipi arch/x86/include/asm/smp.h:108 [inline]
send_call_function_single_ipi+0x17f/0x1e0 kernel/sched/core.c:3774
smp_call_function_many_cond+0xbb3/0x1420 kernel/smp.c:967
on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1155
on_each_cpu include/linux/smp.h:71 [inline]
text_poke_sync arch/x86/kernel/alternative.c:1772 [inline]
text_poke_bp_batch+0x5f1/0x850 arch/x86/kernel/alternative.c:2016
text_poke_flush arch/x86/kernel/alternative.c:2131 [inline]
text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:2138
arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
static_key_disable_cpuslocked+0xc8/0x1b0 kernel/jump_label.c:235
static_key_disable+0x16/0x20 kernel/jump_label.c:243
toggle_allocation_gate+0x1b8/0x250 mm/kfence/core.c:804
process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308