INFO: task kworker/1:6:5323 blocked for more than 143 seconds. Not tainted 6.4.0-rc1-syzkaller-00017-gee4d21aa4a22 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:6 state:D stack:22432 pid:5323 ppid:2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xaa9/0x2f10 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 unregister_netdev+0x12/0x30 net/core/dev.c:10955 usbnet_disconnect+0xe6/0x510 drivers/net/usb/usbnet.c:1621 usb_unbind_interface+0x1dc/0x8e0 drivers/usb/core/driver.c:458 device_remove drivers/base/dd.c:569 [inline] device_remove+0x11f/0x170 drivers/base/dd.c:561 __device_release_driver drivers/base/dd.c:1272 [inline] device_release_driver_internal+0x443/0x610 drivers/base/dd.c:1295 bus_remove_device+0x22c/0x420 drivers/base/bus.c:574 device_del+0x399/0xa30 drivers/base/core.c:3814 usb_disable_device+0x360/0x7b0 drivers/usb/core/message.c:1420 usb_disconnect+0x2db/0x8a0 drivers/usb/core/hub.c:2238 hub_port_connect drivers/usb/core/hub.c:5246 [inline] hub_port_connect_change drivers/usb/core/hub.c:5551 [inline] port_event drivers/usb/core/hub.c:5711 [inline] hub_event+0x2073/0x4ed0 drivers/usb/core/hub.c:5793 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Showing all locks held in the system: 5 locks held by kworker/0:1/9: #0: ffff88810d26c138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2376 #1: ffffc9000009fdb0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380 #2: ffff888105b95190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] (&dev->mutex){....}-{3:3}, at: hub_event+0x1c0/0x4ed0 drivers/usb/core/hub.c:5739 #3: ffff888116d24190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x4b0 drivers/base/dd.c:1005 #4: ffff88812ade3160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #4: ffff88812ade3160 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x4b0 drivers/base/dd.c:1005 1 lock held by rcu_tasks_kthre/12: #0: ffffffff87c9f1f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/13: #0: ffffffff87c9eef0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffffffff87c9fe00 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6545 4 locks held by dhcpcd/2393: 2 locks held by getty/2415: #0: ffff88810b34e098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900000452f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176 6 locks held by kworker/1:3/5247: #0: ffff88810d26c138 ((wq_completion)usb_hub_wq){+.+.}-{0:0} , at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] , at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] , at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline] , at: set_work_data kernel/workqueue.c:643 [inline] , at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline] , at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2376 #1: ffffc900018a7db0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380 #2: ffff888105785190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] ffff888105785190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c0/0x4ed0 drivers/usb/core/hub.c:5739 #3: ffff88811c706190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x4b0 drivers/base/dd.c:1005 #4: ffff88811a2cf160 (&dev->mutex ){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] ){....}-{3:3}, at: __device_attach+0x76/0x4b0 drivers/base/dd.c:1005 #5: ffffffff88d211e8 (rtnl_mutex){+.+.}-{3:3}, at: register_netdev+0x15/0x50 net/core/dev.c:10211 6 locks held by kworker/1:4/5305: 6 locks held by kworker/1:6/5323: #0: ffff88810d26c138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88810d26c138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88810d26c138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline] #0: ffff88810d26c138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline] #0: ffff88810d26c138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline] #0: ffff88810d26c138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2376 #1: ffffc9000235fdb0 ((work_completion)(&hub->events)){+.+.}-{0:0} , at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380 #2: ffff888105b3d190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #2: ffff888105b3d190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c0/0x4ed0 drivers/usb/core/hub.c:5739 #3: ffff88811c739190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #3: ffff88811c739190 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0xff/0x8a0 drivers/usb/core/hub.c:2229 #4: ffff8881168e6160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #4: ffff8881168e6160 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff8881168e6160 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1292 #5: ffffffff88d211e8 (rtnl_mutex){+.+.}-{3:3}, at: unregister_netdev+0x12/0x30 net/core/dev.c:10955 3 locks held by kworker/1:0/21265: #0: ffff88810ab96138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88810ab96138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88810ab96138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline] #0: ffff88810ab96138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline] #0: ffff88810ab96138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline] #0: ffff88810ab96138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2376 #1: ffffc90002967db0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work) ){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380 #2: ffffffff88d211e8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4630 3 locks held by kworker/1:7/21962: 3 locks held by kworker/0:7/24234: #0: ffff88810ab96138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88810ab96138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88810ab96138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline] #0: ffff88810ab96138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline] #0: ffff88810ab96138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline] #0: ffff88810ab96138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2376 #1: ffffc9000fa6fdb0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380 #2: ffffffff88d211e8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4630 6 locks held by kworker/1:1/31021: 4 locks held by udevd/31155: #0: ffff88811df1a540 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xe3/0x12d0 fs/seq_file.c:182 #1: ffff88810e370888 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x4b/0x450 fs/kernfs/file.c:154 #2: ffff88813a06f578 (kn->active#32){++++}-{0:0}, at: kernfs_seq_start+0x75/0x450 fs/kernfs/file.c:155 #3: ffff88811c706190 (&dev->mutex){....}-{3:3} , at: device_lock_interruptible include/linux/device.h:842 [inline] , at: serial_show+0x26/0xa0 drivers/usb/core/sysfs.c:143 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc1-syzkaller-00017-gee4d21aa4a22 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/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+0x273/0x2d0 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+0x344/0x440 kernel/kthread.c:379 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: 674 Comm: kworker/0:2 Not tainted 6.4.0-rc1-syzkaller-00017-gee4d21aa4a22 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Workqueue: events dvb_usb_read_remote_control RIP: 0010:debug_lockdep_rcu_enabled+0x21/0x30 kernel/rcu/update.c:319 Code: bc 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 8b 05 be a3 db 02 85 c0 74 21 8b 05 2c b4 db 02 85 c0 74 17 65 48 8b 04 25 c0 a9 03 00 <8b> 80 7c 0a 00 00 85 c0 0f 94 c0 0f b6 c0 c3 66 0f 1f 00 41 54 53 RSP: 0018:ffffc90000007c78 EFLAGS: 00000002 RAX: ffff888106be0000 RBX: 0000000000000000 RCX: 70634686015e2b86 RDX: 1ffff11020d7c14f RSI: 0000000000010003 RDI: 0000000000000000 RBP: ffff888102b41d00 R08: 0000000000000000 R09: ffffffff8b4c8847 R10: fffffbfff1699108 R11: 0000000000000000 R12: 0000000000000008 R13: 0000000000000072 R14: ffff888102b426a0 R15: ffffffff877bda90 FS: 0000000000000000(0000) GS:ffff8881f6600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9da1afd110 CR3: 000000010ab02000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock include/linux/rcupdate.h:774 [inline] select_task_rq_fair+0x295/0x3a60 kernel/sched/fair.c:7679 select_task_rq kernel/sched/core.c:3579 [inline] try_to_wake_up+0x3d2/0x1ad0 kernel/sched/core.c:4292 hrtimer_wakeup+0x47/0x60 kernel/time/hrtimer.c:1939 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x5fa/0xbe0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x320/0x7b0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8d/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:console_trylock_spinning kernel/printk/printk.c:1979 [inline] RIP: 0010:vprintk_emit+0x3fe/0x600 kernel/printk/printk.c:2306 Code: 62 1b 00 48 85 db 0f 85 da 01 00 00 e8 0b 66 1b 00 31 ff 4c 89 f6 e8 41 62 1b 00 4d 85 f6 74 06 e8 f7 65 1b 00 fb f3 0f 1e fa ed 65 1b 00 45 31 c9 41 b8 01 00 00 00 31 c9 68 4a b1 2f 81 ba RSP: 0018:ffffc9000213fb88 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888106be0000 RSI: ffffffff812fb149 RDI: 0000000000000007 RBP: ffffc9000213fbc0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000200 R11: 0000000000000000 R12: 0000000000000017 R13: ffff888105660000 R14: 0000000000000200 R15: ffffc9000213fc10 vprintk+0x84/0xa0 kernel/printk/printk_safe.c:50 _printk+0xbf/0xf0 kernel/printk/printk.c:2328 m920x_read drivers/media/usb/dvb-usb/m920x.c:40 [inline] m920x_rc_core_query+0x2e6/0x500 drivers/media/usb/dvb-usb/m920x.c:229 dvb_usb_read_remote_control+0xdf/0x1d0 drivers/media/usb/dvb-usb/dvb-usb-remote.c:261 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308