INFO: task syz-executor.0:12070 blocked for more than 146 seconds. Not tainted 5.15.120-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27168 pid:12070 ppid: 28020 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 schedule_timeout+0xac/0x300 kernel/time/timer.c:1860 do_wait_for_common+0x2d9/0x480 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+0x48/0x60 kernel/sched/completion.c:138 __flush_work+0x124/0x1a0 kernel/workqueue.c:3091 __cancel_work_timer+0x519/0x6a0 kernel/workqueue.c:3178 tls_sk_proto_close+0x121/0x980 net/tls/tls_main.c:308 inet_release+0x174/0x1f0 net/ipv4/af_inet.c:431 __sock_release net/socket.c:649 [inline] sock_close+0xcd/0x230 net/socket.c:1317 __fput+0x3bf/0x890 fs/file_table.c:280 task_work_run+0x129/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:175 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x5d/0x250 kernel/entry/common.c:301 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f2f2afdfa1a RSP: 002b:00007ffe84b59f20 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f2f2afdfa1a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f2f2b101980 R08: 0000001b33520000 R09: 0000000000000c1a R10: 0000000081e1583d R11: 0000000000000293 R12: 0000000000240990 R13: ffffffffffffffff R14: 00007f2f2ab64000 R15: 000000000024064f Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8c91e6a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3257: #0: ffff88814af76098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900022a32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1da0 drivers/tty/n_tty.c:2147 4 locks held by kworker/1:1/9820: #0: ffff888141f88d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280 #1: ffffc90003a8fd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282 #2: ffff88801eed3220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff88801eed3220 (&dev->mutex){....}-{3:3}, at: hub_event+0x207/0x56d0 drivers/usb/core/hub.c:5676 #3: ffff88801e44a5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3091 [inline] #3: ffff88801e44a5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x814/0x56d0 drivers/usb/core/hub.c:5729 6 locks held by kworker/1:16/12094: #0: ffff888141f88d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280 #1: ffffc90003c5fd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282 #2: ffff88801efaf220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff88801efaf220 (&dev->mutex){....}-{3:3}, at: hub_event+0x207/0x56d0 drivers/usb/core/hub.c:5676 #3: ffff888086a03220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #3: ffff888086a03220 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0xfa/0x8c0 drivers/usb/core/hub.c:2222 #4: ffff8880670fa1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #4: ffff8880670fa1a8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1044 [inline] #4: ffff8880670fa1a8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xc2/0x7f0 drivers/base/dd.c:1259 #5: ffffffff8d38d7b0 (minor_rwsem#2){++++}-{3:3}, at: usb_deregister_dev+0xa3/0x2e0 drivers/usb/core/file.c:239 3 locks held by kworker/0:19/13756: #0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280 #1: ffffc900046efd20 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282 #2: ffff8880190d2cd8 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x107/0x200 net/tls/tls_sw.c:2292 2 locks held by kworker/u4:20/27421: 1 lock held by syz-executor.0/12070: #0: ffff888035cde810 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #0: ffff888035cde810 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release net/socket.c:648 [inline] #0: ffff888035cde810 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: sock_close+0x98/0x230 net/socket.c:1317 1 lock held by syz-executor.2/13571: #0: ffffffff8d3fd288 (wdm_mutex){+.+.}-{3:3}, at: wdm_release+0x4e/0x450 drivers/usb/class/cdc-wdm.c:764 5 locks held by syz-executor.5/13581: #0: ffffffff8d38d7b0 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x2c/0x2f0 drivers/usb/core/file.c:39 #1: ffffffff8d3fd288 (wdm_mutex){+.+.}-{3:3}, at: wdm_open+0x52/0x540 drivers/usb/class/cdc-wdm.c:715 #2: ffff88801e44a5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3091 [inline] #2: ffff88801e44a5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_port_resume+0x2cd/0x21b0 drivers/usb/core/hub.c:3649 #3: ffff88801ee96968 (hcd->address0_mutex){+.+.}-{3:3}, at: usb_reset_and_verify_device+0x400/0x1550 drivers/usb/core/hub.c:5942 #4: ffffffff8d382cb0 (ehci_cf_port_reset_rwsem){.+.+}-{3:3}, at: hub_port_reset+0x20a/0x21f0 drivers/usb/core/hub.c:2953 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.15.120-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 25768 Comm: kworker/u4:1 Not tainted 5.15.120-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 Workqueue: phy30 ieee80211_iface_work RIP: 0010:__unwind_start+0x3e9/0x720 arch/x86/kernel/unwind_orc.c:673 Code: 39 c3 40 0f 94 c5 49 8d 5e 35 48 89 d8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 17 03 00 00 40 88 2b 40 b5 01 49 8d 5e 38 48 89 d8 <48> c1 e8 03 48 89 44 24 20 80 3c 10 00 74 12 48 89 df e8 f0 f1 90 RSP: 0018:ffffc900037df6c0 EFLAGS: 00000246 RAX: ffffc900037df758 RBX: ffffc900037df758 RCX: ffffc900037df6c0 RDX: dffffc0000000000 RSI: ffffffff8138797f RDI: ffffc900037df780 RBP: ffffc900037df701 R08: dffffc0000000000 R09: ffffc900037df720 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc900037df758 R13: ffffc900037df748 R14: ffffc900037df720 R15: 1ffff920006fbee9 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2cd35000 CR3: 00000000752d7000 CR4: 00000000003506e0 DR0: 00000000ffff070c DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: unwind_start arch/x86/include/asm/unwind.h:60 [inline] arch_stack_walk+0xdb/0x140 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4b/0x80 mm/kasan/common.c:46 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360 ____kasan_slab_free+0xd8/0x120 mm/kasan/common.c:366 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1705 [inline] slab_free_freelist_hook+0xdd/0x160 mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kmem_cache_free+0x91/0x1f0 mm/slub.c:3515 kfree_skb include/linux/skbuff.h:1123 [inline] ieee80211_iface_work+0x251/0xcc0 net/mac80211/iface.c:1497 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2307 worker_thread+0xaca/0x1280 kernel/workqueue.c:2454 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298