INFO: task kworker/1:4:4118 blocked for more than 143 seconds.
Not tainted 5.19.0-rc4-syzkaller-00139-gddc509e940ba #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:4 state:D stack:21648 pid: 4118 ppid: 2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:5146 [inline]
__schedule+0x93f/0x2630 kernel/sched/core.c:6458
schedule+0xd2/0x1f0 kernel/sched/core.c:6530
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6589
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747
unregister_netdev+0xe/0x20 net/core/dev.c:10897
usbnet_disconnect+0xd8/0x270 drivers/net/usb/usbnet.c:1620
usb_unbind_interface+0x1d8/0x8e0 drivers/usb/core/driver.c:458
device_remove drivers/base/dd.c:545 [inline]
device_remove+0x11f/0x170 drivers/base/dd.c:537
__device_release_driver drivers/base/dd.c:1222 [inline]
device_release_driver_internal+0x4a1/0x700 drivers/base/dd.c:1248
bus_remove_device+0x2eb/0x5a0 drivers/base/bus.c:529
device_del+0x4f3/0xc80 drivers/base/core.c:3604
usb_disable_device+0x35b/0x7b0 drivers/usb/core/message.c:1419
usb_disconnect.cold+0x278/0x6ec drivers/usb/core/hub.c:2235
hub_port_connect drivers/usb/core/hub.c:5197 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5497 [inline]
port_event drivers/usb/core/hub.c:5653 [inline]
hub_event+0x1e83/0x4690 drivers/usb/core/hub.c:5735
process_one_work+0x996/0x1610 kernel/workqueue.c:2289
worker_thread+0x665/0x1080 kernel/workqueue.c:2436
kthread+0x2ef/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
Showing all locks held in the system:
7 locks held by kworker/0:0/6:
1 lock held by khungtaskd/26:
#0: ffffffff87a94700
(
rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491
5 locks held by dhcpcd/1217:
2 locks held by getty/1239:
#0:
ffff888110e48098
(
&tty->ldisc_sem
){++++}-{0:0}
, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1:
ffffc900000432e8
(
&ldata->atomic_read_lock
){+.+.}-{3:3}
, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2124
6 locks held by kworker/1:4/4118:
#0: ffff888109b13538
(
(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:1280 [inline]
, at: set_work_data kernel/workqueue.c:636 [inline]
, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
#1:
ffffc90001fe7da8
((work_completion)(&hub->events)
){+.+.}-{0:0}
, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2: ffff88810f2f2190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline]
#2: ffff88810f2f2190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4690 drivers/usb/core/hub.c:5681
#3: ffff88810fba5190
(&dev->mutex){....}-{3:3}
, at: device_lock include/linux/device.h:835 [inline]
, at: usb_disconnect.cold+0x43/0x6ec drivers/usb/core/hub.c:2226
#4: ffff88810fba4118
(&dev->mutex){....}-{3:3}
, at: device_lock include/linux/device.h:835 [inline]
, at: __device_driver_lock drivers/base/dd.c:1054 [inline]
, at: device_release_driver_internal+0xa0/0x700 drivers/base/dd.c:1245
#5: ffffffff88ad0168
(rtnl_mutex){+.+.}-{3:3}, at: unregister_netdev+0xe/0x20 net/core/dev.c:10897
3 locks held by kworker/1:5/4132:
#0: ffff888110108d38
((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
#1:
ffffc90001f2fda8 (
(work_completion)(&(&net->ipv6.addr_chk_work)->work)
){+.+.}-{0:0}
, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2: ffffffff88ad0168
(rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xe/0x20 net/ipv6/addrconf.c:4620
3 locks held by kworker/0:3/18304:
#0: ffff888110108d38
((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
#1:
ffffc900028f7da8 (
(work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}
, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2:
ffffffff88ad0168
(
rtnl_mutex){+.+.}-{3:3}
, at: addrconf_verify_work+0xe/0x20 net/ipv6/addrconf.c:4620
4 locks held by kworker/u4:1/29327:
#0:
ffff888100155938
((wq_completion)netns
){+.+.}-{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:1280 [inline]
, at: set_work_data kernel/workqueue.c:636 [inline]
, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
#1: ffffc9000e08fda8
(
net_cleanup_work
){+.+.}-{0:0}
, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2:
ffffffff88abd5d0 (pernet_ops_rwsem
){++++}-{3:3}
, at: cleanup_net+0x9b/0xb00 net/core/net_namespace.c:556
#3: ffffffff88ad0168
(rtnl_mutex
){+.+.}-{3:3}, at: sit_exit_batch_net+0x88/0x750 net/ipv6/sit.c:1946
6 locks held by kworker/0:5/32201:
#0: ffff888109b13538
((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:1280 [inline]
((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
#1: ffffc9000dba7da8 ((work_completion)(&hub->events)){+.+.}-{0:0}
, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2:
ffff88810f2b0190
(&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:835 [inline]
, at: hub_event+0x1c1/0x4690 drivers/usb/core/hub.c:5681
#3: ffff888117d25190
(
&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline]
&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x530 drivers/base/dd.c:964
#4: ffff888109b6b118
(&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:835 [inline]
, at: __device_attach+0x76/0x530 drivers/base/dd.c:964
#5: ffffffff88ad0168
(rtnl_mutex){+.+.}-{3:3}, at: wpan_phy_register+0x23/0x150 net/ieee802154/core.c:142
1 lock held by syz-executor.3/681:
#0: ffffffff88ad0168
(rtnl_mutex
){+.+.}-{3:3}
, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
, at: rtnetlink_rcv_msg+0x3e5/0xc90 net/core/rtnetlink.c:6086
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.19.0-rc4-syzkaller-00139-gddc509e940ba #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xc1d/0xf50 kernel/hung_task.c:369
kthread+0x2ef/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 1217 Comm: dhcpcd Not tainted 5.19.0-rc4-syzkaller-00139-gddc509e940ba #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:85 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0xde/0x180 mm/kasan/generic.c:189
Code: 74 f2 48 89 c2 b8 01 00 00 00 48 85 d2 75 56 5b 5d 41 5c c3 48 85 d2 74 5e 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 50 80 38 00 <74> f2 eb d4 41 bc 08 00 00 00 48 89 ea 45 29 dc 4d 8d 1c 2c eb 0c
RSP: 0018:ffffc90000007c90 EFLAGS: 00000046
RAX: fffffbfff1608cd9 RBX: fffffbfff1608cda RCX: ffffffff812913de
RDX: fffffbfff1608cda RSI: 0000000000000008 RDI: ffffffff8b0466c8
RBP: fffffbfff1608cd9 R08: 0000000000000000 R09: ffffffff8b0466cf
R10: fffffbfff1608cd9 R11: 0000000000000001 R12: ffff88811284c2f8
R13: 0000000000000002 R14: 0000000000000064 R15: ffff88811284c318
FS: 00007f865bc11740(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055dfb56110b0 CR3: 0000000117c53000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
instrument_atomic_read include/linux/instrumented.h:71 [inline]
test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline]
hlock_class kernel/locking/lockdep.c:227 [inline]
mark_lock.part.0+0xee/0x1910 kernel/locking/lockdep.c:4610
mark_lock kernel/locking/lockdep.c:4596 [inline]
mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:4234
__trace_hardirqs_on_caller kernel/locking/lockdep.c:4252 [inline]
lockdep_hardirqs_on_prepare kernel/locking/lockdep.c:4319 [inline]
lockdep_hardirqs_on_prepare+0x135/0x400 kernel/locking/lockdep.c:4271
trace_hardirqs_on+0x2d/0x120 kernel/trace/trace_preemptirq.c:49
raw_spin_rq_unlock_irqrestore kernel/sched/sched.h:1330 [inline]
rq_unlock_irqrestore kernel/sched/sched.h:1611 [inline]
update_blocked_averages+0xf6c/0x1860 kernel/sched/fair.c:8275
run_rebalance_domains+0xf1/0x1a0 kernel/sched/fair.c:11015
__do_softirq+0x288/0x9a5 kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x113/0x170 kernel/softirq.c:650
irq_exit_rcu+0x5/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:200
Code: 48 89 ef 5d e9 b1 52 34 00 5d be 03 00 00 00 e9 c6 42 d0 00 66 0f 1f 44 00 00 48 8b be a8 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 <65> 8b 05 49 5b bd 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b
RSP: 0018:ffffc90002a6f290 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88811284b900 RSI: ffffffff812c0141 RDI: 0000000000000007
RBP: ffffc90002a6f2d0 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000000001 R12: 0000000000000038
R13: ffff8881008ad580 R14: 0000000000000200 R15: ffffc90002a6f3f0
console_trylock_spinning kernel/printk/printk.c:1922 [inline]
vprintk_emit+0x3f7/0x5f0 kernel/printk/printk.c:2270
dev_vprintk_emit+0x36e/0x3b2 drivers/base/core.c:4616
dev_printk_emit+0xba/0xf1 drivers/base/core.c:4627
__netdev_printk+0x1c6/0x27a net/core/dev.c:11205
netdev_warn+0xd7/0x109 net/core/dev.c:11258
asix_write_cmd.cold+0x3a/0x46 drivers/net/usb/asix_common.c:57
asix_set_sw_mii drivers/net/usb/asix_common.c:303 [inline]
asix_check_host_enable+0x9e/0x1c0 drivers/net/usb/asix_common.c:77
__asix_mdio_read+0x93/0x220 drivers/net/usb/asix_common.c:503
asix_phy_reset+0x104/0x170 drivers/net/usb/asix_devices.c:215
ax88178_reset+0x42f/0x1420 drivers/net/usb/asix_devices.c:983
usbnet_open+0xc8/0x5d0 drivers/net/usb/usbnet.c:894
__dev_open+0x2c4/0x4d0 net/core/dev.c:1432
__dev_change_flags+0x583/0x750 net/core/dev.c:8533
dev_change_flags+0x93/0x170 net/core/dev.c:8604
devinet_ioctl+0x15d1/0x1ca0 net/ipv4/devinet.c:1146
inet_ioctl+0x1e6/0x320 net/ipv4/af_inet.c:968
sock_do_ioctl+0xcc/0x230 net/socket.c:1169
sock_ioctl+0x2f1/0x640 net/socket.c:1286
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl fs/ioctl.c:856 [inline]
__x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7f865bcff0e7
Code: 3c 1c e8 1c ff ff ff 85 c0 79 87 49 c7 c4 ff ff ff ff 5b 5d 4c 89 e0 41 5c c3 66 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 61 9d 0c 00 f7 d8 64 89 01 48
RSP: 002b:00007ffc28aabd58 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f865bc116c8 RCX: 00007f865bcff0e7
RDX: 00007ffc28abbf48 RSI: 0000000000008914 RDI: 0000000000000005
RBP: 00007ffc28acc0f8 R08: 00007ffc28abbf08 R09: 00007ffc28abbeb8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc28abbf48 R14: 0000000000000028 R15: 0000000000008914