INFO: task kworker/1:12:16443 blocked for more than 143 seconds.
Not tainted 6.3.0-syzkaller-13027-g1a5304fecee5 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:12 state:D stack:21952 pid:16443 ppid:2 flags:0x00004000
Workqueue: events nfc_urelease_event_work
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0x187b/0x4900 kernel/sched/core.c:6669
schedule+0xc3/0x180 kernel/sched/core.c:6745
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804
__mutex_lock_common+0xe33/0x2530 kernel/locking/mutex.c:679
__mutex_lock kernel/locking/mutex.c:747 [inline]
mutex_lock_nested+0x1b/0x20 kernel/locking/mutex.c:799
nfc_urelease_event_work+0xad/0x300 net/nfc/netlink.c:1833
process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405
worker_thread+0xa63/0x1210 kernel/workqueue.c:2552
kthread+0x2b8/0x350 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
INFO: task kworker/u4:0:20230 blocked for more than 143 seconds.
Not tainted 6.3.0-syzkaller-13027-g1a5304fecee5 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:0 state:D stack:18976 pid:20230 ppid:2 flags:0x00004000
Workqueue: nfc2_nci_rx_wq nci_rx_work
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0x187b/0x4900 kernel/sched/core.c:6669
schedule+0xc3/0x180 kernel/sched/core.c:6745
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804
__mutex_lock_common+0xe33/0x2530 kernel/locking/mutex.c:679
__mutex_lock kernel/locking/mutex.c:747 [inline]
mutex_lock_nested+0x1b/0x20 kernel/locking/mutex.c:799
device_lock include/linux/device.h:837 [inline]
nfc_targets_found+0x26f/0x590 net/nfc/core.c:778
nci_ntf_packet+0x442c/0x4f40
nci_rx_work+0x14c/0x2b0 net/nfc/nci/core.c:1517
process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405
worker_thread+0xa63/0x1210 kernel/workqueue.c:2552
kthread+0x2b8/0x350 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
INFO: task kworker/0:2:22670 blocked for more than 143 seconds.
Not tainted 6.3.0-syzkaller-13027-g1a5304fecee5 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:2 state:D stack:24440 pid:22670 ppid:2 flags:0x00004000
Workqueue: events nfc_urelease_event_work
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0x187b/0x4900 kernel/sched/core.c:6669
schedule+0xc3/0x180 kernel/sched/core.c:6745
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804
__mutex_lock_common+0xe33/0x2530 kernel/locking/mutex.c:679
__mutex_lock kernel/locking/mutex.c:747 [inline]
mutex_lock_nested+0x1b/0x20 kernel/locking/mutex.c:799
nci_request net/nfc/nci/core.c:149 [inline]
nci_stop_poll+0x123/0x480 net/nfc/nci/core.c:873
nfc_stop_poll+0xea/0x220 net/nfc/core.c:259
nfc_urelease_event_work+0x166/0x300 net/nfc/netlink.c:1842
process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405
worker_thread+0xa63/0x1210 kernel/workqueue.c:2552
kthread+0x2b8/0x350 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
INFO: task kworker/0:8:22681 blocked for more than 144 seconds.
Not tainted 6.3.0-syzkaller-13027-g1a5304fecee5 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:8 state:D stack:21624 pid:22681 ppid:2 flags:0x00004000
Workqueue: events nfc_urelease_event_work
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0x187b/0x4900 kernel/sched/core.c:6669
schedule+0xc3/0x180 kernel/sched/core.c:6745
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804
__mutex_lock_common+0xe33/0x2530 kernel/locking/mutex.c:679
__mutex_lock kernel/locking/mutex.c:747 [inline]
mutex_lock_nested+0x1b/0x20 kernel/locking/mutex.c:799
nfc_urelease_event_work+0xad/0x300 net/nfc/netlink.c:1833
process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405
worker_thread+0xa63/0x1210 kernel/workqueue.c:2552
kthread+0x2b8/0x350 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
INFO: task syz-executor.4:6464 blocked for more than 144 seconds.
Not tainted 6.3.0-syzkaller-13027-g1a5304fecee5 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:25528 pid:6464 ppid:5016 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0x187b/0x4900 kernel/sched/core.c:6669
schedule+0xc3/0x180 kernel/sched/core.c:6745
schedule_timeout+0xb0/0x310 kernel/time/timer.c:2143
do_wait_for_common+0x449/0x5f0 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+0x4a/0x60 kernel/sched/completion.c:138
__flush_workqueue+0x743/0x1620 kernel/workqueue.c:2977
nci_close_device+0x189/0x600 net/nfc/nci/core.c:579
nci_unregister_device+0x40/0x240 net/nfc/nci/core.c:1292
virtual_ncidev_close+0x59/0x90 drivers/nfc/virtual_ncidev.c:163
__fput+0x3b7/0x890 fs/file_table.c:321
task_work_run+0x24a/0x300 kernel/task_work.c:179
get_signal+0x1606/0x17e0 kernel/signal.c:2650
arch_do_signal_or_restart+0x91/0x670 arch/x86/kernel/signal.c:306
exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:168
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204
__syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
syscall_exit_to_user_mode+0x64/0x280 kernel/entry/common.c:297
do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fabc548c169
RSP: 002b:00007fabc62af168 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: fffffffffffffff2 RBX: 00007fabc55abf80 RCX: 00007fabc548c169
RDX: 0000000000000064 RSI: 0000000020000840 RDI: 0000000000000003
RBP: 00007fabc54e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcf3dc482f R14: 00007fabc62af300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8cf277f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8cf27bb0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518
1 lock held by khungtaskd/27:
#0: ffffffff8cf27620 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/4745:
#0: ffff888028c49098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2176
3 locks held by kworker/0:5/5066:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc900040efd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
#2: ffffffff8e3abf28 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xad/0x300 net/nfc/netlink.c:1833
3 locks held by kworker/1:7/5094:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc900047afd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
#2: ffffffff8e3abf28 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xad/0x300 net/nfc/netlink.c:1833
3 locks held by kworker/0:19/9379:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc9000efafd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
#2: ffffffff8e3abf28 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xad/0x300 net/nfc/netlink.c:1833
3 locks held by kworker/0:14/15635:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc9000b97fd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
#2: ffffffff8e3abf28 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xad/0x300 net/nfc/netlink.c:1833
3 locks held by kworker/1:12/16443:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc90003a2fd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
#2: ffffffff8e3abf28 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xad/0x300 net/nfc/netlink.c:1833
3 locks held by kworker/1:18/17913:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc90004f37d20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
#2: ffffffff8e3abf28 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xad/0x300 net/nfc/netlink.c:1833
3 locks held by kworker/u4:0/20230:
#0: ffff8880591e9938 ((wq_completion)nfc2_nci_rx_wq){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc9000311fd20 ((work_completion)(&ndev->rx_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
#2: ffff888066e94100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline]
#2: ffff888066e94100 (&dev->mutex){....}-{3:3}, at: nfc_targets_found+0x26f/0x590 net/nfc/core.c:778
6 locks held by kworker/0:2/22670:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc9000377fd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
#2: ffffffff8e3abf28 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xad/0x300 net/nfc/netlink.c:1833
#3: ffff888066e94508 (&genl_data->genl_data_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0x117/0x300 net/nfc/netlink.c:1839
#4: ffff888066e94100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline]
#4: ffff888066e94100 (&dev->mutex){....}-{3:3}, at: nfc_stop_poll+0x3c/0x220 net/nfc/core.c:247
#5: ffff888066e95350 (&ndev->req_lock){+.+.}-{3:3}, at: nci_request net/nfc/nci/core.c:149 [inline]
#5: ffff888066e95350 (&ndev->req_lock){+.+.}-{3:3}, at: nci_stop_poll+0x123/0x480 net/nfc/nci/core.c:873
3 locks held by kworker/0:3/22672:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc9000392fd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
#2: ffffffff8e3abf28 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xad/0x300 net/nfc/netlink.c:1833
3 locks held by kworker/0:4/22673:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc9000399fd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
#2: ffffffff8e3abf28 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xad/0x300 net/nfc/netlink.c:1833
3 locks held by kworker/0:8/22681:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc90003a1fd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
#2: ffffffff8e3abf28 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xad/0x300 net/nfc/netlink.c:1833
3 locks held by kworker/0:9/22682:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc900037afd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
#2: ffffffff8e3abf28 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xad/0x300 net/nfc/netlink.c:1833
3 locks held by kworker/1:1/23004:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc900062cfd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
#2: ffffffff8e3abf28 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xad/0x300 net/nfc/netlink.c:1833
3 locks held by kworker/1:2/23005:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc900062dfd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
#2: ffffffff8e3abf28 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xad/0x300 net/nfc/netlink.c:1833
1 lock held by syz-executor.4/6464:
#0: ffff888066e95350 (&ndev->req_lock){+.+.}-{3:3}, at: nci_close_device+0x10a/0x600 net/nfc/nci/core.c:561
2 locks held by syz-executor.4/6678:
#0: ffffffff8d6629c8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5c/0x380 drivers/char/misc.c:129
#1: ffffffff8e3abf28 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_register_device+0x3c/0x320 net/nfc/core.c:1116
1 lock held by syz-executor.4/6716:
#0: ffffffff8d6629c8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5c/0x380 drivers/char/misc.c:129
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.3.0-syzkaller-13027-g1a5304fecee5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x187/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xec2/0xf00 kernel/hung_task.c:379
kthread+0x2b8/0x350 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 8030 Comm: kworker/u4:20 Not tainted 6.3.0-syzkaller-13027-g1a5304fecee5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Workqueue: wg-kex-wg2 wg_packet_handshake_send_worker
RIP: 0010:fsqr arch/x86/crypto/curve25519-x86_64.c:672 [inline]
RIP: 0010:fsquare_times arch/x86/crypto/curve25519-x86_64.c:1120 [inline]
RIP: 0010:finv arch/x86/crypto/curve25519-x86_64.c:1139 [inline]
RIP: 0010:encode_point+0x1181/0x8470 arch/x86/crypto/curve25519-x86_64.c:1217
Code: 38 f6 4e 08 c4 62 ab f6 6e 30 66 4c 0f 38 f6 d3 f3 4c 0f 38 f6 56 10 c4 e2 a3 f6 46 38 66 4d 0f 38 f6 dd f3 4c 0f 38 f6 5e 18 <66> 48 0f 38 f6 c1 f3 48 0f 38 f6 c1 48 0f af c2 49 01 c0 66 4c 0f
RSP: 0018:ffffc9000f057220 EFLAGS: 00000246
RAX: 000000000000000f RBX: 0000000000000015 RCX: 0000000000000000
RDX: 0000000000000026 RSI: ffffc9000f057360 RDI: ffffc9000f0572e0
RBP: ffffc9000f057450 R08: affc1818d48d39a6 R09: 2777a4ba4df2d5cb
R10: 5634d2d3a61039bd R11: 704a70014ea0d287 R12: ffffc9000f0572e0
R13: 0000000000000024 R14: 65715034e8896f13 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1e48099580 CR3: 000000000cd30000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
curve25519_ever64_base arch/x86/crypto/curve25519-x86_64.c:1587 [inline]
curve25519_base_arch+0x3533/0x3600 arch/x86/crypto/curve25519-x86_64.c:1609
curve25519_generate_public include/crypto/curve25519.h:55 [inline]
wg_noise_handshake_create_initiation+0x452/0xf20 drivers/net/wireguard/noise.c:542
wg_packet_send_handshake_initiation drivers/net/wireguard/send.c:34 [inline]
wg_packet_handshake_send_worker+0x15b/0x320 drivers/net/wireguard/send.c:51
process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405
worker_thread+0xa63/0x1210 kernel/workqueue.c:2552
kthread+0x2b8/0x350 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308