INFO: task kworker/1:2:7231 blocked for more than 143 seconds. Not tainted 6.13.0-syzkaller-09760-g69e858e0b8b2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:2 state:D stack:22288 pid:7231 tgid:7231 ppid:2 task_flags:0x4208060 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5377 [inline] __schedule+0x190e/0x4c90 kernel/sched/core.c:6764 __schedule_loop kernel/sched/core.c:6841 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6856 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:4807 [inline] hub_port_init+0x1156/0x2670 drivers/usb/core/hub.c:5068 hub_port_connect drivers/usb/core/hub.c:5452 [inline] hub_port_connect_change drivers/usb/core/hub.c:5663 [inline] port_event drivers/usb/core/hub.c:5823 [inline] hub_event+0x2962/0x5150 drivers/usb/core/hub.c:5905 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3317 worker_thread+0x870/0xd30 kernel/workqueue.c:3398 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e9387a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e9387a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e9387a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6746 1 lock held by klogd/5199: 2 locks held by getty/5597: #0: ffff8880356fa0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 2 locks held by kworker/u8:3/19679: 5 locks held by kworker/1:2/7231: #0: ffff8880206b0548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff8880206b0548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc9000447fc60 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc9000447fc60 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffff888029c37190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1030 [inline] #2: ffff888029c37190 (&dev->mutex){....}-{4:4}, at: hub_event+0x1fe/0x5150 drivers/usb/core/hub.c:5851 #3: ffff8881463ba510 (&port_dev->status_lock){+.+.}-{4:4}, at: usb_lock_port drivers/usb/core/hub.c:3209 [inline] #3: ffff8881463ba510 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_port_connect drivers/usb/core/hub.c:5420 [inline] #3: ffff8881463ba510 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_port_connect_change drivers/usb/core/hub.c:5663 [inline] #3: ffff8881463ba510 (&port_dev->status_lock){+.+.}-{4:4}, at: port_event drivers/usb/core/hub.c:5823 [inline] #3: ffff8881463ba510 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_event+0x25b9/0x5150 drivers/usb/core/hub.c:5905 #4: ffff8880298a1f68 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_port_connect drivers/usb/core/hub.c:5421 [inline] #4: ffff8880298a1f68 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_port_connect_change drivers/usb/core/hub.c:5663 [inline] #4: ffff8880298a1f68 (hcd->address0_mutex){+.+.}-{4:4}, at: port_event drivers/usb/core/hub.c:5823 [inline] #4: ffff8880298a1f68 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_event+0x25f7/0x5150 drivers/usb/core/hub.c:5905 5 locks held by kworker/u8:1/12235: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-syzkaller-09760-g69e858e0b8b2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:236 [inline] watchdog+0x1058/0x10a0 kernel/hung_task.c:399 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 5192 Comm: syslogd Not tainted 6.13.0-syzkaller-09760-g69e858e0b8b2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:__del_page_from_free_list+0x15/0x470 mm/page_alloc.c:693 Code: 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 41 57 41 56 41 55 41 54 53 48 83 ec 10 41 89 cc 89 54 24 04 <48> 89 74 24 08 49 89 fd 49 bf 00 00 00 00 00 fc ff df 48 b8 00 00 RSP: 0018:ffffc900030e7160 EFLAGS: 00000086 RAX: 1ffff11027fff7c2 RBX: ffff88813fffbc80 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffff88813fffbc80 RDI: ffffea0001cb1180 RBP: 0000000000000001 R08: ffff88813fffc307 R09: 1ffff11027fff860 R10: dffffc0000000000 R11: ffffed1027fff861 R12: 0000000000000001 R13: ffff8880b86449f8 R14: ffffea0001cb1180 R15: 0000000000000000 FS: 00007fd2047bb380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005636a62b6fd0 CR3: 0000000034a5e000 CR4: 00000000003526f0 DR0: 0000000000000007 DR1: 0000000000000002 DR2: 0000000000000008 DR3: 1000000100000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: page_del_and_expand mm/page_alloc.c:1423 [inline] __rmqueue_smallest mm/page_alloc.c:1595 [inline] __rmqueue mm/page_alloc.c:2286 [inline] rmqueue_bulk mm/page_alloc.c:2312 [inline] __rmqueue_pcplist+0xaf4/0x2a90 mm/page_alloc.c:3004 rmqueue_pcplist mm/page_alloc.c:3046 [inline] rmqueue mm/page_alloc.c:3077 [inline] get_page_from_freelist+0x886/0x37a0 mm/page_alloc.c:3474 __alloc_frozen_pages_noprof+0x292/0x710 mm/page_alloc.c:4739 alloc_pages_mpol+0x311/0x660 mm/mempolicy.c:2270 folio_alloc_mpol_noprof+0x36/0x70 mm/mempolicy.c:2289 shmem_alloc_folio mm/shmem.c:1863 [inline] shmem_alloc_and_add_folio+0x4a0/0x1090 mm/shmem.c:1902 shmem_get_folio_gfp+0x621/0x1840 mm/shmem.c:2522 shmem_get_folio mm/shmem.c:2628 [inline] shmem_write_begin+0x165/0x350 mm/shmem.c:3278 generic_perform_write+0x346/0x990 mm/filemap.c:4189 shmem_file_write_iter+0xf9/0x120 mm/shmem.c:3454 new_sync_write fs/read_write.c:586 [inline] vfs_write+0xacf/0xd10 fs/read_write.c:679 ksys_write+0x18f/0x2b0 fs/read_write.c:731 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd20490fbf2 Code: 89 c7 48 89 44 24 08 e8 7b 34 fa ff 48 8b 44 24 08 48 83 c4 28 c3 c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 6f 48 8b 15 07 a2 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffdd5512ad8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fd20490fbf2 RDX: 000000000000006e RSI: 00005592f39edc50 RDI: 0000000000000003 RBP: 00005592f39edc50 R08: 0000000000000001 R09: 0000000000000000 R10: 00007fd204aae3a3 R11: 0000000000000246 R12: 000000000000006e R13: 00007fd2047bb300 R14: 0000000000000004 R15: 00005592f39eda60