INFO: task kworker/0:5:5123 blocked for more than 143 seconds.
Not tainted 6.4.0-rc7-next-20230622-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:5 state:D stack:24080 pid:5123 ppid:2 flags:0x00004000
Workqueue: events nfc_urelease_event_work
Call Trace:
context_switch kernel/sched/core.c:5381 [inline]
__schedule+0x1d15/0x5780 kernel/sched/core.c:6710
schedule+0xde/0x1a0 kernel/sched/core.c:6786
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
nci_request net/nfc/nci/core.c:149 [inline]
nci_stop_poll+0xf8/0x1d0 net/nfc/nci/core.c:873
nfc_stop_poll+0x10e/0x270 net/nfc/core.c:259
nfc_urelease_event_work+0x1a1/0x2d0 net/nfc/netlink.c:1842
process_one_work+0xa34/0x16f0 kernel/workqueue.c:2594
worker_thread+0x67d/0x10c0 kernel/workqueue.c:2745
kthread+0x344/0x440 kernel/kthread.c:389
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
INFO: task kworker/u4:7:7515 blocked for more than 143 seconds.
Not tainted 6.4.0-rc7-next-20230622-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:7 state:D stack:25392 pid:7515 ppid:2 flags:0x00004000
Workqueue: nfc3_nci_rx_wq nci_rx_work
Call Trace:
context_switch kernel/sched/core.c:5381 [inline]
__schedule+0x1d15/0x5780 kernel/sched/core.c:6710
schedule+0xde/0x1a0 kernel/sched/core.c:6786
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
device_lock include/linux/device.h:957 [inline]
nfc_targets_found+0xe8/0x3e0 net/nfc/core.c:778
nci_target_auto_activated net/nfc/nci/ntf.c:489 [inline]
nci_rf_intf_activated_ntf_packet net/nfc/nci/ntf.c:672 [inline]
nci_ntf_packet+0x1388/0x2ca0 net/nfc/nci/ntf.c:802
nci_rx_work+0x190/0x330 net/nfc/nci/core.c:1517
process_one_work+0xa34/0x16f0 kernel/workqueue.c:2594
worker_thread+0x67d/0x10c0 kernel/workqueue.c:2745
kthread+0x344/0x440 kernel/kthread.c:389
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
INFO: task syz-executor.3:23737 blocked for more than 144 seconds.
Not tainted 6.4.0-rc7-next-20230622-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:27000 pid:23737 ppid:6854 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5381 [inline]
__schedule+0x1d15/0x5780 kernel/sched/core.c:6710
schedule+0xde/0x1a0 kernel/sched/core.c:6786
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
nfc_unregister_device+0x1a4/0x330 net/nfc/core.c:1181
virtual_ncidev_close+0x52/0xb0 drivers/nfc/virtual_ncidev.c:163
__fput+0x40c/0xad0 fs/file_table.c:378
task_work_run+0x16f/0x270 kernel/task_work.c:179
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0xad3/0x2a30 kernel/exit.c:874
do_group_exit+0xd4/0x2a0 kernel/exit.c:1024
get_signal+0x249b/0x25f0 kernel/signal.c:2877
arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:309
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204
__syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297
do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f42a868c3d2
RSP: 002b:00007fff54f2eb88 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: 00007f42a715a000 RBX: 0000000000020022 RCX: 00007f42a868c3d2
RDX: 0000000000000000 RSI: 0000000000021000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 00000000ffffffff R09: 0000000000000000
R10: 0000000000020022 R11: 0000000000000246 R12: 00007fff54f2ed90
R13: 00007f42a79ff700 R14: 0000000000000000 R15: 0000000000022000
INFO: task syz-executor.0:23752 blocked for more than 144 seconds.
Not tainted 6.4.0-rc7-next-20230622-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:26936 pid:23752 ppid:6898 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5381 [inline]
__schedule+0x1d15/0x5780 kernel/sched/core.c:6710
schedule+0xde/0x1a0 kernel/sched/core.c:6786
schedule_timeout+0x276/0x2b0 kernel/time/timer.c:2143
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common+0x1ce/0x5c0 kernel/sched/completion.c:106
__flush_workqueue+0x3f5/0x13a0 kernel/workqueue.c:3171
nci_close_device+0x142/0x370 net/nfc/nci/core.c:579
nci_unregister_device+0x38/0x310 net/nfc/nci/core.c:1292
virtual_ncidev_close+0x52/0xb0 drivers/nfc/virtual_ncidev.c:163
__fput+0x40c/0xad0 fs/file_table.c:378
task_work_run+0x16f/0x270 kernel/task_work.c:179
get_signal+0x1c7/0x25f0 kernel/signal.c:2653
arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:309
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204
__syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297
do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f512ca8c389
RSP: 002b:00007f512d7f2168 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: fffffffffffffff2 RBX: 00007f512cbabf80 RCX: 00007f512ca8c389
RDX: 0000000000000064 RSI: 0000000020000840 RDI: 0000000000000003
RBP: 00007f512cad7493 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe54bcf35f R14: 00007f512d7f2300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8c9a2370 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8c9a2070 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522
1 lock held by khungtaskd/28:
#0: ffffffff8c9a2f80 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6615
2 locks held by getty/4779:
#0: ffff88814a6cf098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xf08/0x13f0 drivers/tty/n_tty.c:2187
3 locks held by kworker/0:3/5111:
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2564
#1: ffffc9000497fdb0 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2568
#2: ffffffff8e8a50c8 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0x8f/0x2d0 net/nfc/netlink.c:1833
6 locks held by kworker/0:5/5123:
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2564
#1: ffffc90004d1fdb0 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2568
#2: ffffffff8e8a50c8 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0x8f/0x2d0 net/nfc/netlink.c:1833
#3: ffff888076512508 (&genl_data->genl_data_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0x13c/0x2d0 net/nfc/netlink.c:1839
#4: ffff888076512100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:957 [inline]
#4: ffff888076512100 (&dev->mutex){....}-{3:3}, at: nfc_stop_poll+0x2d/0x270 net/nfc/core.c:247
#5: ffff888076510350 (&ndev->req_lock){+.+.}-{3:3}, at: nci_request net/nfc/nci/core.c:149 [inline]
#5: ffff888076510350 (&ndev->req_lock){+.+.}-{3:3}, at: nci_stop_poll+0xf8/0x1d0 net/nfc/nci/core.c:873
3 locks held by kworker/0:10/5464:
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2564
#1: ffffc90005b27db0 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2568
#2: ffffffff8e8a50c8 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0x8f/0x2d0 net/nfc/netlink.c:1833
3 locks held by kworker/0:15/5783:
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2564
#1: ffffc9000c367db0 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2568
#2: ffffffff8e8a50c8 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0x8f/0x2d0 net/nfc/netlink.c:1833
3 locks held by kworker/u4:7/7515:
#0: ffff88807ea89938 ((wq_completion)nfc3_nci_rx_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
#0: ffff88807ea89938 ((wq_completion)nfc3_nci_rx_wq){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
#0: ffff88807ea89938 ((wq_completion)nfc3_nci_rx_wq){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
#0: ffff88807ea89938 ((wq_completion)nfc3_nci_rx_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
#0: ffff88807ea89938 ((wq_completion)nfc3_nci_rx_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline]
#0: ffff88807ea89938 ((wq_completion)nfc3_nci_rx_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline]
#0: ffff88807ea89938 ((wq_completion)nfc3_nci_rx_wq){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2564
#1: ffffc9003ec1fdb0 ((work_completion)(&ndev->rx_work)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2568
#2: ffff888076512100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:957 [inline]
#2: ffff888076512100 (&dev->mutex){....}-{3:3}, at: nfc_targets_found+0xe8/0x3e0 net/nfc/core.c:778
3 locks held by kworker/0:2/7969:
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2564
#1: ffffc900032efdb0 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2568
#2: ffffffff8e8a50c8 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0x8f/0x2d0 net/nfc/netlink.c:1833
3 locks held by kworker/0:6/8014:
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2564
#1: ffffc900035afdb0 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2568
#2: ffffffff8e8a50c8 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0x8f/0x2d0 net/nfc/netlink.c:1833
3 locks held by kworker/0:9/9478:
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2564
#1: ffffc9000be17db0 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2568
#2: ffffffff8e8a50c8 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0x8f/0x2d0 net/nfc/netlink.c:1833
3 locks held by kworker/0:13/10459:
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2564
#1: ffffc90006567db0 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2568
#2: ffffffff8e8a50c8 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0x8f/0x2d0 net/nfc/netlink.c:1833
3 locks held by kworker/0:24/13794:
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2564
#1: ffffc9000c2d7db0 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2568
#2: ffffffff8e8a50c8 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0x8f/0x2d0 net/nfc/netlink.c:1833
3 locks held by kworker/u4:15/16217:
1 lock held by syz-executor.3/23737:
#0: ffffffff8e8a50c8 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_unregister_device+0x1a4/0x330 net/nfc/core.c:1181
1 lock held by syz-executor.0/23752:
#0: ffff888076510350 (&ndev->req_lock){+.+.}-{3:3}, at: nci_close_device+0x6d/0x370 net/nfc/nci/core.c:561
1 lock held by syz-executor.0/23923:
#0: ffffffff8d4d2ac8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x4a0 drivers/char/misc.c:129
2 locks held by syz-executor.3/23993:
#0: ffffffff8d4d2ac8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x4a0 drivers/char/misc.c:129
#1: ffffffff8e8a50c8 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_register_device+0x32/0x3c0 net/nfc/core.c:1116
1 lock held by syz-executor.3/24053:
#0: ffffffff8d4d2ac8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x4a0 drivers/char/misc.c:129
1 lock held by syz-executor.0/24055:
#0: ffffffff8d4d2ac8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x4a0 drivers/char/misc.c:129
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc7-next-20230622-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106
nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x2a4/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xe16/0x1090 kernel/hung_task.c:379
kthread+0x344/0x440 kernel/kthread.c:389
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: 4470 Comm: klogd Not tainted 6.4.0-rc7-next-20230622-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
RIP: 0010:__sanitizer_cov_trace_pc+0x3b/0x70 kernel/kcov.c:207
Code: 81 e1 00 01 00 00 65 48 8b 14 25 c0 b9 03 00 a9 00 01 ff 00 74 0e 85 c9 74 35 8b 82 04 16 00 00 85 c0 74 2b 8b 82 e0 15 00 00 <83> f8 02 75 20 48 8b 8a e8 15 00 00 8b 92 e4 15 00 00 48 8b 01 48
RSP: 0018:ffffc9000316fa98 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 000000000000004c RCX: 0000000000000000
RDX: ffff88807d843b80 RSI: ffffffff81e443ce RDI: 0000000000000007
RBP: 000000000000004c R08: 0000000000000007 R09: 0000000000000000
R10: 000000000000004c R11: 0000000000000001 R12: ffff8880ad7d9c00
R13: 0000000000000000 R14: ffff8880af662780 R15: 000000000000004c
FS: 00007f6c5c4a3380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c00aa35000 CR3: 0000000028514000 CR4: 00000000003506f0
DR0: 00000000ffff070c DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
__check_object_size+0x4e/0x730 mm/usercopy.c:255
check_object_size include/linux/thread_info.h:215 [inline]
check_copy_size include/linux/thread_info.h:251 [inline]
copy_from_iter include/linux/uio.h:201 [inline]
skb_copy_datagram_from_iter+0x119/0x700 net/core/datagram.c:553
unix_dgram_sendmsg+0x97c/0x1b70 net/unix/af_unix.c:1962
sock_sendmsg_nosec net/socket.c:725 [inline]
sock_sendmsg+0xde/0x190 net/socket.c:748
__sys_sendto+0x254/0x350 net/socket.c:2134
__do_sys_sendto net/socket.c:2146 [inline]
__se_sys_sendto net/socket.c:2142 [inline]
__x64_sys_sendto+0xe1/0x1b0 net/socket.c:2142
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f6c5c6059b5
Code: 8b 44 24 08 48 83 c4 28 48 98 c3 48 98 c3 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 26 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 7a 48 8b 15 44 c4 0c 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffc99e9ec48 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f6c5c6059b5
RDX: 000000000000004c RSI: 00005624b7cd31f0 RDI: 0000000000000003
RBP: 00005624b7ccb910 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000013
R13: 00007f6c5c793212 R14: 00007ffc99e9ed48 R15: 0000000000000000