INFO: task kworker/1:1:41 blocked for more than 143 seconds. Not tainted 6.8.0-rc4-next-20240214-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:1 state:D stack:20528 pid:41 tgid:41 ppid:2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17df/0x4a40 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6804 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6819 usb_kill_urb+0x1c9/0x300 drivers/usb/core/urb.c:713 usb_start_wait_urb+0x1b0/0x520 drivers/usb/core/message.c:65 usb_internal_control_msg drivers/usb/core/message.c:103 [inline] usb_control_msg+0x2b1/0x4c0 drivers/usb/core/message.c:154 get_bMaxPacketSize0 drivers/usb/core/hub.c:4797 [inline] hub_port_init+0xc21/0x2620 drivers/usb/core/hub.c:4993 hub_port_connect drivers/usb/core/hub.c:5441 [inline] hub_port_connect_change drivers/usb/core/hub.c:5652 [inline] port_event drivers/usb/core/hub.c:5812 [inline] hub_event+0x295f/0x5150 drivers/usb/core/hub.c:5894 process_one_work kernel/workqueue.c:3146 [inline] process_scheduled_works+0x9d7/0x1730 kernel/workqueue.c:3226 worker_thread+0x86d/0xd70 kernel/workqueue.c:3307 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:242 Showing all locks held in the system: 3 locks held by kauditd/28: 1 lock held by khungtaskd/29: #0: ffffffff8e1315a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8e1315a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8e1315a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 5 locks held by kworker/1:1/41: #0: ffff8880153a7148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3121 [inline] #0: ffff8880153a7148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x8e1/0x1730 kernel/workqueue.c:3226 #1: ffffc90000b17d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3121 [inline] #1: ffffc90000b17d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x8e1/0x1730 kernel/workqueue.c:3226 #2: ffff888023a29190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #2: ffff888023a29190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1fe/0x5150 drivers/usb/core/hub.c:5840 #3: ffff888023a2c510 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3198 [inline] #3: ffff888023a2c510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5409 [inline] #3: ffff888023a2c510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5652 [inline] #3: ffff888023a2c510 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5812 [inline] #3: ffff888023a2c510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x25b6/0x5150 drivers/usb/core/hub.c:5894 #4: ffff888023a44168 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5410 [inline] #4: ffff888023a44168 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5652 [inline] #4: ffff888023a44168 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5812 [inline] #4: ffff888023a44168 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x25f4/0x5150 drivers/usb/core/hub.c:5894 2 locks held by kworker/u8:6/2413: #0: ffff888014c89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3121 [inline] #0: ffff888014c89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x8e1/0x1730 kernel/workqueue.c:3226 #1: ffffc9000a377d00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3121 [inline] ffffc9000a377d00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8e1/0x1730 kernel/workqueue.c:3226 3 locks held by kworker/1:3/4672: #0: ffff888014c7c948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3121 [inline] #0: ffff888014c7c948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x8e1/0x1730 kernel/workqueue.c:3226 #1: ffffc90003a6fd00 (xfrm_state_gc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3121 [inline] #1: ffffc90003a6fd00 (xfrm_state_gc_work){+.+.}-{0:0}, at: process_scheduled_works+0x8e1/0x1730 kernel/workqueue.c:3226 #2: ffffffff8e136938 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #2: ffffffff8e136938 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x463/0x820 kernel/rcu/tree_exp.h:939 2 locks held by getty/4818: #0: ffff88802a7eb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.1/5101: 3 locks held by syz-executor.2/5110: 1 lock held by syz-executor.3/5105: #0: ffffffff8e136938 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #0: ffffffff8e136938 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x463/0x820 kernel/rcu/tree_exp.h:939 1 lock held by syz-executor.4/14175: 2 locks held by syz-executor.0/14181: #0: ffff88803a4ad0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffff88803a4ad130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: tty_write_lock drivers/tty/tty_io.c:954 [inline] #1: ffff88803a4ad130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: iterate_tty_write drivers/tty/tty_io.c:973 [inline] #1: ffff88803a4ad130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write+0x1f3/0x9b0 drivers/tty/tty_io.c:1096 3 locks held by syz-executor.1/14192: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc4-next-20240214-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfb0/0xff0 kernel/hung_task.c:380 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2413 Comm: kworker/u8:6 Not tainted 6.8.0-rc4-next-20240214-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: events_unbound cfg80211_wiphy_work RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:write_comp_data kernel/kcov.c:236 [inline] RIP: 0010:__sanitizer_cov_trace_switch+0xa4/0x120 kernel/kcov.c:341 Code: 8b 00 00 00 4c 8b 4c 24 20 65 4c 8b 1c 25 00 bf 03 00 31 d2 eb 08 48 ff c2 49 39 d2 74 71 4c 8b 74 d6 10 65 8b 05 24 d9 6f 7e 00 01 ff 00 74 11 a9 00 01 00 00 74 de 41 83 bb 14 16 00 00 00 RSP: 0018:ffffc9000a376ce0 EFLAGS: 00000202 RAX: 0000000080000202 RBX: 0000000000000002 RCX: ffff888029638000 RDX: 0000000000000001 RSI: ffffffff8dfa03d0 RDI: 0000000000000002 RBP: ffffffff900986e9 R08: 0000000000000005 R09: ffffffff81408f66 R10: 0000000000000003 R11: ffff888029638000 R12: ffffffff900986e8 R13: dffffc0000000000 R14: 0000000000000003 R15: 1ffff9200146edbc FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002006f030 CR3: 000000000df32000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0xff6/0x2a00 arch/x86/kernel/unwind_orc.c:581 arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack+0x3f/0x60 mm/kasan/common.c:47 __kasan_record_aux_stack+0xac/0xc0 mm/kasan/generic.c:548 kvfree_call_rcu+0xfc/0x790 kernel/rcu/tree.c:3443 cfg80211_update_known_bss+0xb39/0x1500 net/wireless/scan.c:1813 __cfg80211_bss_update+0x150/0x20c0 net/wireless/scan.c:1859 cfg80211_inform_single_bss_frame_data net/wireless/scan.c:3180 [inline] cfg80211_inform_bss_frame_data+0x116a/0x1d60 net/wireless/scan.c:3215 ieee80211_bss_info_update+0x8a5/0xbc0 net/mac80211/scan.c:226 ieee80211_rx_bss_info net/mac80211/ibss.c:1099 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1578 [inline] ieee80211_ibss_rx_queued_mgmt+0x1952/0x2d50 net/mac80211/ibss.c:1605 ieee80211_iface_process_skb net/mac80211/iface.c:1605 [inline] ieee80211_iface_work+0x8a3/0xf10 net/mac80211/iface.c:1659 cfg80211_wiphy_work+0x221/0x260 net/wireless/core.c:437 process_one_work kernel/workqueue.c:3146 [inline] process_scheduled_works+0x9d7/0x1730 kernel/workqueue.c:3226 worker_thread+0x86d/0xd70 kernel/workqueue.c:3307 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:242