INFO: task kworker/0:0:6 blocked for more than 143 seconds.
Not tainted 5.18.0-rc1-syzkaller-00056-gbdddc253b093 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:0 state:D stack:22864 pid: 6 ppid: 2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:5073 [inline]
__schedule+0x93c/0x25d0 kernel/sched/core.c:6382
schedule+0xd2/0x1f0 kernel/sched/core.c:6454
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6513
__mutex_lock_common kernel/locking/mutex.c:673 [inline]
__mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733
unregister_netdev+0xe/0x20 net/core/dev.c:10809
usbnet_disconnect+0x139/0x270 drivers/net/usb/usbnet.c:1623
usb_unbind_interface+0x1d8/0x8e0 drivers/usb/core/driver.c:458
device_remove drivers/base/dd.c:531 [inline]
device_remove+0x11f/0x170 drivers/base/dd.c:523
__device_release_driver drivers/base/dd.c:1199 [inline]
device_release_driver_internal+0x4a3/0x680 drivers/base/dd.c:1222
bus_remove_device+0x2eb/0x5a0 drivers/base/bus.c:529
device_del+0x4f3/0xc80 drivers/base/core.c:3592
usb_disable_device+0x35b/0x7b0 drivers/usb/core/message.c:1419
usb_disconnect.cold+0x278/0x6ec drivers/usb/core/hub.c:2228
hub_port_connect drivers/usb/core/hub.c:5207 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5507 [inline]
port_event drivers/usb/core/hub.c:5665 [inline]
hub_event+0x1e74/0x4680 drivers/usb/core/hub.c:5747
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:298
Showing all locks held in the system:
6 locks held by kworker/0:0/6:
#0: ffff888109bb9538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888109bb9538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888109bb9538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888109bb9538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff888109bb9538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff888109bb9538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
#1:
ffffc9000006fda8 (
(work_completion)(&hub->events)){+.+.}-{0:0}
, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2: ffff88810f014220
(&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
(&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4680 drivers/usb/core/hub.c:5693
#3: ffff888119cc2220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
#3: ffff888119cc2220 (&dev->mutex){....}-{3:3}, at: usb_disconnect.cold+0x43/0x6ec drivers/usb/core/hub.c:2219
#4: ffff888119cc71a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
#4: ffff888119cc71a8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1032 [inline]
#4: ffff888119cc71a8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa0/0x680 drivers/base/dd.c:1219
#5: ffffffff88aab2e8 (rtnl_mutex){+.+.}-{3:3}
, at: unregister_netdev+0xe/0x20 net/core/dev.c:10809
1 lock held by khungtaskd/26:
#0: ffffffff87a91440
(rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6467
6 locks held by kworker/1:2/708:
#0: ffff888109bb9538
((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: ffffc90001eefda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2:
ffff88810f06c220
(
&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4680 drivers/usb/core/hub.c:5693
#3: ffff88811bae0220 (
&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:944
#4: ffff88811db771a8
(&dev->mutex
){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:944
#5:
ffff88811e7346c8
(
&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:944
3 locks held by dhcpcd/1210:
2 locks held by getty/1232:
#0: ffff8881109b8098 (&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+0xcea/0x1230 drivers/tty/n_tty.c:2075
3 locks held by kworker/1:4/4094:
#0:
ffff88811082c938 ((wq_completion)ipv6_addrconf){+.+.}-{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: ffffc900013bfda8 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}
, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2: ffffffff88aab2e8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xe/0x20 net/ipv6/addrconf.c:4603
3 locks held by kworker/0:5/14656:
#0: ffff88811082c938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff88811082c938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff88811082c938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff88811082c938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff88811082c938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff88811082c938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
#1: ffffc900007efda8 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}
, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2:
ffffffff88aab2e8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xe/0x20 net/ipv6/addrconf.c:4603
3 locks held by kworker/0:6/828:
#0: ffff888100065d38
((wq_completion)events_power_efficient){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
((wq_completion)events_power_efficient){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
((wq_completion)events_power_efficient){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
((wq_completion)events_power_efficient){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
((wq_completion)events_power_efficient){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
#1:
ffffc9000291fda8 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2: ffffffff88aab2e8 (rtnl_mutex
){+.+.}-{3:3}
, at: reg_check_chans_work+0x83/0xe20 net/wireless/reg.c:2457
5 locks held by kworker/1:9/4334:
1 lock held by syz-executor.0/5463:
#0: ffff888117a943e0 (&iint->mutex){+.+.}-{3:3}, at: ima_check_last_writer security/integrity/ima/ima_main.c:164 [inline]
#0: ffff888117a943e0 (&iint->mutex){+.+.}-{3:3}, at: ima_file_free+0x14a/0x410 security/integrity/ima/ima_main.c:198
1 lock held by syz-executor.0/5488:
#0: ffff888117a943e0 (&iint->mutex){+.+.}-{3:3}, at: process_measurement+0x3c6/0x1910 security/integrity/ima/ima_main.c:260
3 locks held by syz-executor.2/5486:
#0: ffff88811f2734e8
(&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe3/0x100 fs/file.c:1063
#1:
ffff888110e52438 (sb_writers#4
){.+.+}-{0:0}, at: ksys_write+0x127/0x250 fs/read_write.c:644
#2: ffff88813cab21d0 (
&sb->s_type->i_mutex_key
#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:748 [inline]
#9){++++}-{3:3}, at: ext4_dio_write_iter fs/ext4/file.c:510 [inline]
#9){++++}-{3:3}, at: ext4_file_write_iter+0x37d/0x18e0 fs/ext4/file.c:677
3 locks held by syz-executor.2/5493:
#0:
ffff88811f272fe8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe3/0x100 fs/file.c:1063
#1: ffff888110e52438 (sb_writers
#4
){.+.+}-{0:0}
, at: ksys_write+0x127/0x250 fs/read_write.c:644
#2: ffff88813cab21d0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}
, at: inode_lock include/linux/fs.h:748 [inline]
, at: ext4_buffered_write_iter+0xb0/0x330 fs/ext4/file.c:264
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.18.0-rc1-syzkaller-00056-gbdddc253b093 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
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:298
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 1210 Comm: dhcpcd Not tainted 5.18.0-rc1-syzkaller-00056-gbdddc253b093 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3697 [inline]
RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3716 [inline]
RIP: 0010:validate_chain kernel/locking/lockdep.c:3771 [inline]
RIP: 0010:__lock_acquire+0x16c4/0x56c0 kernel/locking/lockdep.c:5029
Code: db 74 58 48 83 eb 08 74 52 48 ba 00 00 00 00 00 fc ff df eb 06 48 83 eb 08 74 40 48 8d 7b 18 48 89 f8 48 c1 e8 03 80 3c 10 00 <0f> 85 c2 30 00 00 48 8b 43 18 49 39 c7 0f 84 db f5 ff ff 48 8d 7b
RSP: 0018:ffffc90000007ae8 EFLAGS: 00000046
RAX: 1ffffffff13b0bbf RBX: ffffffff89d85de0 RCX: ffffffff812927be
RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff89d85df8
RBP: 000000000000d8b8 R08: 0000000000000000 R09: ffffffff8aa3a69f
R10: fffffbfff15474d3 R11: 0000000000000000 R12: ffff88811ce4de48
R13: ffff88811ce4d400 R14: 0000000000000001 R15: 81cebad8ee41d2b9
FS: 00007fb3893fc740(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc53980efc0 CR3: 0000000117f9d000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire kernel/locking/lockdep.c:5641 [inline]
lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5606
call_timer_fn+0x12b/0x6b0 kernel/time/timer.c:1418
expire_timers kernel/time/timer.c:1466 [inline]
__run_timers.part.0+0x67c/0xa30 kernel/time/timer.c:1734
__run_timers kernel/time/timer.c:1715 [inline]
run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747
__do_softirq+0x288/0x9a5 kernel/softirq.c:558
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x113/0x170 kernel/softirq.c:637
irq_exit_rcu+0x5/0x20 kernel/softirq.c:649
sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:645
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 11 16 34 00 5d be 03 00 00 00 e9 b6 5a cf 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 e9 f5 bd 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b
RSP: 0018:ffffc90002ebf2d8 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88811ce4d400 RSI: ffffffff812bd35c RDI: 0000000000000003
RBP: ffffc90002ebf318 R08: 0000000000000000 R09: ffffffff8aa3a777
R10: ffffffff812bd352 R11: 0000000000000000 R12: 0000000000000037
R13: ffff8881008ad400 R14: 0000000000000200 R15: ffffc90002ebf438
console_trylock_spinning kernel/printk/printk.c:1908 [inline]
vprintk_emit+0x3f2/0x5f0 kernel/printk/printk.c:2271
dev_vprintk_emit+0x36e/0x3b2 drivers/base/core.c:4604
dev_printk_emit+0xba/0xf1 drivers/base/core.c:4615
__netdev_printk+0x1c6/0x27a net/core/dev.c:11117
netdev_err+0xd7/0x109 net/core/dev.c:11169
asix_set_sw_mii drivers/net/usb/asix_common.c:306 [inline]
asix_set_sw_mii drivers/net/usb/asix_common.c:300 [inline]
asix_check_host_enable.cold+0x22/0x66 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:987
usbnet_open+0xc8/0x5d0 drivers/net/usb/usbnet.c:894
__dev_open+0x2c4/0x4d0 net/core/dev.c:1425
__dev_change_flags+0x583/0x750 net/core/dev.c:8433
dev_change_flags+0x93/0x170 net/core/dev.c:8504
devinet_ioctl+0x15d1/0x1ca0 net/ipv4/devinet.c:1148
inet_ioctl+0x1e6/0x320 net/ipv4/af_inet.c:969
sock_do_ioctl+0xcc/0x230 net/socket.c:1122
sock_ioctl+0x2f1/0x640 net/socket.c:1239
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+0x44/0xae
RIP: 0033:0x7fb3894ea0e7
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:00007ffe131a5928 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fb3893fc6c8 RCX: 00007fb3894ea0e7
RDX: 00007ffe131b5b18 RSI: 0000000000008914 RDI: 0000000000000005
RBP: 00007ffe131c5cc8 R08: 00007ffe131b5ad8 R09: 00007ffe131b5a88
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe131b5b18 R14: 0000000000000028 R15: 0000000000008914
----------------
Code disassembly (best guess):
0: db 74 58 48 (bad) 0x48(%rax,%rbx,2)
4: 83 eb 08 sub $0x8,%ebx
7: 74 52 je 0x5b
9: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx
10: fc ff df
13: eb 06 jmp 0x1b
15: 48 83 eb 08 sub $0x8,%rbx
19: 74 40 je 0x5b
1b: 48 8d 7b 18 lea 0x18(%rbx),%rdi
1f: 48 89 f8 mov %rdi,%rax
22: 48 c1 e8 03 shr $0x3,%rax
26: 80 3c 10 00 cmpb $0x0,(%rax,%rdx,1)
* 2a: 0f 85 c2 30 00 00 jne 0x30f2 <-- trapping instruction
30: 48 8b 43 18 mov 0x18(%rbx),%rax
34: 49 39 c7 cmp %rax,%r15
37: 0f 84 db f5 ff ff je 0xfffff618
3d: 48 rex.W
3e: 8d .byte 0x8d
3f: 7b .byte 0x7b