INFO: task kworker/u4:0:2369 blocked for more than 143 seconds. Not tainted 6.3.0-rc3-syzkaller-00029-g9fd6ba5420ba #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:0 state:D stack:22016 pid:2369 ppid:2 flags:0x00004000 Workqueue: nfc2_nci_rx_wq nci_rx_work Call Trace: context_switch kernel/sched/core.c:5304 [inline] __schedule+0xc91/0x5770 kernel/sched/core.c:6622 schedule+0xde/0x1a0 kernel/sched/core.c:6698 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6757 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 device_lock include/linux/device.h:832 [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+0x1326/0x2bc0 net/nfc/nci/ntf.c:802 nci_rx_work+0x190/0x330 net/nfc/nci/core.c:1517 process_one_work+0x991/0x15c0 kernel/workqueue.c:2390 worker_thread+0x669/0x1090 kernel/workqueue.c:2537 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task kworker/1:14:7014 blocked for more than 143 seconds. Not tainted 6.3.0-rc3-syzkaller-00029-g9fd6ba5420ba #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:14 state:D stack:25968 pid:7014 ppid:2 flags:0x00004000 Workqueue: events nfc_urelease_event_work Call Trace: context_switch kernel/sched/core.c:5304 [inline] __schedule+0xc91/0x5770 kernel/sched/core.c:6622 schedule+0xde/0x1a0 kernel/sched/core.c:6698 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6757 __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+0x1a8/0x2d0 net/nfc/netlink.c:1842 process_one_work+0x991/0x15c0 kernel/workqueue.c:2390 worker_thread+0x669/0x1090 kernel/workqueue.c:2537 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task syz-executor.4:15187 blocked for more than 143 seconds. Not tainted 6.3.0-rc3-syzkaller-00029-g9fd6ba5420ba #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:26936 pid:15187 ppid:6610 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5304 [inline] __schedule+0xc91/0x5770 kernel/sched/core.c:6622 schedule+0xde/0x1a0 kernel/sched/core.c:6698 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:2962 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+0x27c/0xa90 fs/file_table.c:321 task_work_run+0x16f/0x270 kernel/task_work.c:179 get_signal+0x1c7/0x25b0 kernel/signal.c:2635 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:296 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fedae88c0f9 RSP: 002b:00007fedaf4fc168 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: fffffffffffffff2 RBX: 00007fedae9abf80 RCX: 00007fedae88c0f9 RDX: 0000000000000064 RSI: 0000000020000840 RDI: 0000000000000003 RBP: 00007fedae8e7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd51bb886f R14: 00007fedaf4fc300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8c794b70 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/13: #0: ffffffff8c794870 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510 1 lock held by khungtaskd/28: #0: ffffffff8c7956c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6495 2 locks held by getty/4760: #0: ffff88802bc0c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 3 locks held by kworker/1:11/6890: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x87a/0x15c0 kernel/workqueue.c:2361 #1: ffffc9000578fda8 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x15c0 kernel/workqueue.c:2365 #2: ffffffff8e589e68 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0x96/0x2d0 net/nfc/netlink.c:1833 2 locks held by kworker/0:6/16364: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x87a/0x15c0 kernel/workqueue.c:2361 #1: ffff8880b9828808 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2de/0x950 kernel/sched/psi.c:976 3 locks held by kworker/u4:0/2369: #0: ffff888078f9b938 ((wq_completion)nfc2_nci_rx_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888078f9b938 ((wq_completion)nfc2_nci_rx_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888078f9b938 ((wq_completion)nfc2_nci_rx_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888078f9b938 ((wq_completion)nfc2_nci_rx_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff888078f9b938 ((wq_completion)nfc2_nci_rx_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff888078f9b938 ((wq_completion)nfc2_nci_rx_wq){+.+.}-{0:0}, at: process_one_work+0x87a/0x15c0 kernel/workqueue.c:2361 #1: ffffc9000e9dfda8 ((work_completion)(&ndev->rx_work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x15c0 kernel/workqueue.c:2365 #2: ffff888030145100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #2: ffff888030145100 (&dev->mutex){....}-{3:3}, at: nfc_targets_found+0xe8/0x3e0 net/nfc/core.c:778 6 locks held by kworker/1:14/7014: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x87a/0x15c0 kernel/workqueue.c:2361 #1: ffffc900050efda8 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x15c0 kernel/workqueue.c:2365 #2: ffffffff8e589e68 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0x96/0x2d0 net/nfc/netlink.c:1833 #3: ffff888030145508 (&genl_data->genl_data_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0x143/0x2d0 net/nfc/netlink.c:1839 #4: ffff888030145100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #4: ffff888030145100 (&dev->mutex){....}-{3:3}, at: nfc_stop_poll+0x2d/0x270 net/nfc/core.c:247 #5: ffff888017b52350 (&ndev->req_lock){+.+.}-{3:3}, at: nci_request net/nfc/nci/core.c:149 [inline] #5: ffff888017b52350 (&ndev->req_lock){+.+.}-{3:3}, at: nci_stop_poll+0xf8/0x1d0 net/nfc/nci/core.c:873 2 locks held by kworker/u4:11/7408: 2 locks held by kworker/u4:16/8113: 1 lock held by syz-executor.4/15187: #0: ffff888017b52350 (&ndev->req_lock){+.+.}-{3:3}, at: nci_close_device+0x6d/0x370 net/nfc/nci/core.c:561 2 locks held by syz-executor.5/15287: #0: ffffffff8d263b68 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x4a0 drivers/char/misc.c:129 #1: ffffffff8e589e68 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_register_device+0x32/0x3c0 net/nfc/core.c:1116 1 lock held by syz-executor.1/15304: #0: ffffffff8d263b68 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x4a0 drivers/char/misc.c:129 1 lock held by syz-executor.4/15310: #0: ffffffff8d263b68 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x4a0 drivers/char/misc.c:129 1 lock held by syz-executor.4/15312: #0: ffffffff8d263b68 (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.3.0-rc3-syzkaller-00029-g9fd6ba5420ba #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xe16/0x1090 kernel/hung_task.c:379 kthread+0x2e8/0x3a0 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: 3805 Comm: kworker/u4:3 Not tainted 6.3.0-rc3-syzkaller-00029-g9fd6ba5420ba #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: phy32 ieee80211_iface_work RIP: 0010:__kasan_check_read+0x8/0x20 mm/kasan/shadow.c:31 Code: ff ff e9 1b fe ff ff 48 83 c4 60 4c 89 c6 48 c7 c7 e0 4a ee 8b 5b 5d 41 5c e9 e4 fc 92 ff 0f 1f 40 00 f3 0f 1e fa 48 8b 0c 24 <89> f6 31 d2 e9 2f f4 ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f RSP: 0018:ffffc9000512ef18 EFLAGS: 00000056 RAX: 0000000000000000 RBX: 1ffff92000a25deb RCX: ffffffff81642c4e RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff914d9b80 RBP: 0000000000000100 R08: 0000000000000000 R09: ffffffff914d9c3f R10: fffffbfff229b387 R11: 0000000000000000 R12: ffff8880781a0ad8 R13: 0000000000000008 R14: 0000000000000000 R15: ffff8880781a0af8 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0132b7000 CR3: 000000000c571000 CR4: 0000000000350ef0 Call Trace: instrument_atomic_read include/linux/instrumented.h:72 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class kernel/locking/lockdep.c:228 [inline] mark_lock.part.0+0xee/0x1970 kernel/locking/lockdep.c:4613 mark_lock kernel/locking/lockdep.c:4599 [inline] mark_usage kernel/locking/lockdep.c:4556 [inline] __lock_acquire+0x8a8/0x5d40 kernel/locking/lockdep.c:5010 lock_acquire kernel/locking/lockdep.c:5669 [inline] lock_acquire+0x1af/0x520 kernel/locking/lockdep.c:5634 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3d/0x60 kernel/locking/spinlock.c:162 __debug_object_init+0xae/0xf10 lib/debugobjects.c:573 debug_object_init lib/debugobjects.c:624 [inline] debug_object_activate+0x330/0x3e0 lib/debugobjects.c:710 debug_rcu_head_queue kernel/rcu/rcu.h:189 [inline] kvfree_call_rcu+0x30/0xad0 kernel/rcu/tree.c:3307 cfg80211_update_known_bss+0x81e/0xa70 net/wireless/scan.c:1681 cfg80211_bss_update+0xf3/0x21f0 net/wireless/scan.c:1728 cfg80211_inform_single_bss_frame_data+0x72c/0x1020 net/wireless/scan.c:2492 cfg80211_inform_bss_frame_data+0xc3/0xca0 net/wireless/scan.c:2525 ieee80211_bss_info_update+0x35c/0xb50 net/mac80211/scan.c:190 ieee80211_rx_bss_info net/mac80211/ibss.c:1120 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1609 [inline] ieee80211_ibss_rx_queued_mgmt+0x19c9/0x3030 net/mac80211/ibss.c:1638 ieee80211_iface_process_skb net/mac80211/iface.c:1583 [inline] ieee80211_iface_work+0xa4d/0xd70 net/mac80211/iface.c:1637 process_one_work+0x991/0x15c0 kernel/workqueue.c:2390 worker_thread+0x669/0x1090 kernel/workqueue.c:2537 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308