INFO: task kworker/0:9:3809 blocked for more than 143 seconds.
Not tainted 5.15.142-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:9 state:D stack:23160 pid: 3809 ppid: 2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:5030 [inline]
__schedule+0x12c4/0x45b0 kernel/sched/core.c:6376
schedule+0x11b/0x1f0 kernel/sched/core.c:6459
usb_kill_urb+0x1c9/0x300 drivers/usb/core/urb.c:726
usb_start_wait_urb+0x1ac/0x510 drivers/usb/core/message.c:64
usb_internal_control_msg drivers/usb/core/message.c:102 [inline]
usb_control_msg+0x2ad/0x4c0 drivers/usb/core/message.c:153
get_bMaxPacketSize0 drivers/usb/core/hub.c:4721 [inline]
hub_port_init+0xba4/0x27a0 drivers/usb/core/hub.c:4918
hub_port_connect drivers/usb/core/hub.c:5366 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5577 [inline]
port_event drivers/usb/core/hub.c:5723 [inline]
hub_event+0x28ed/0x54c0 drivers/usb/core/hub.c:5805
process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
kthread+0x3f6/0x4f0 kernel/kthread.c:319
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
Showing all locks held in the system:
1 lock held by khungtaskd/26:
#0: ffffffff8c91f0e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3260:
#0: ffff88814b241098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc9000209b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158
5 locks held by kworker/0:9/3809:
#0: ffff888014ba2138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
#1: ffffc90002f87d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
#2: ffff888148418220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#2: ffff888148418220 (&dev->mutex){....}-{3:3}, at: hub_event+0x208/0x54c0 drivers/usb/core/hub.c:5751
#3: ffff88814841b5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3108 [inline]
#3: ffff88814841b5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5333 [inline]
#3: ffff88814841b5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5577 [inline]
#3: ffff88814841b5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5723 [inline]
#3: ffff88814841b5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2238/0x54c0 drivers/usb/core/hub.c:5805
#4: ffff88801a276c68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5334 [inline]
#4: ffff88801a276c68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5577 [inline]
#4: ffff88801a276c68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5723 [inline]
#4: ffff88801a276c68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x2260/0x54c0 drivers/usb/core/hub.c:5805
3 locks held by syz-executor.1/14977:
2 locks held by syz-executor.3/14978:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.15.142-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/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: 3540 Comm: syz-executor.1 Not tainted 5.15.142-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x0/0x80 kernel/kcov.c:292
Code: 39 d0 77 22 89 f8 89 f6 48 c7 44 0a 08 05 00 00 00 48 89 44 0a 10 48 89 74 0a 18 4c 89 44 0a 20 49 ff c1 4c 89 09 c3 0f 1f 00 <4c> 8b 04 24 65 48 8b 0d 04 46 82 7e 65 8b 05 05 46 82 7e a9 00 01
RSP: 0018:ffffc90002ec6ef8 EFLAGS: 00000293
RAX: ffffffff81396ecd RBX: 000000000de54380 RCX: ffff88801d730000
RDX: 0000000000000000 RSI: 000000000de54380 RDI: 00003fffffffffff
RBP: 0000000000000000 R08: ffffffff81396eb6 R09: ffffffff81d30413
R10: 0000000000000003 R11: ffff88801d730000 R12: 00007ffd2cb2ce62
R13: 0000000000000006 R14: 000000000de54380 R15: 0000000000000001
FS: 0000555556f0c480(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f01cf90b198 CR3: 0000000084802000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
pfn_valid include/linux/mmzone.h:1494 [inline]
__virt_addr_valid+0xd7/0x2e0 arch/x86/mm/physaddr.c:65
check_heap_object mm/usercopy.c:228 [inline]
__check_object_size+0xab/0x410 mm/usercopy.c:286
check_object_size include/linux/thread_info.h:199 [inline]
check_copy_size include/linux/thread_info.h:232 [inline]
copy_to_user include/linux/uaccess.h:199 [inline]
xt_obj_to_user+0x9c/0x120 net/netfilter/x_tables.c:299
xt_target_to_user+0xa4/0x280 net/netfilter/x_tables.c:343
copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:877 [inline]
get_entries net/ipv6/netfilter/ip6_tables.c:1041 [inline]
do_ip6t_get_ctl+0x1123/0x1890 net/ipv6/netfilter/ip6_tables.c:1671
nf_getsockopt+0x28e/0x2b0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x468/0x2ff0 net/ipv6/ipv6_sockglue.c:1489
tcp_getsockopt+0x26d/0x6c20 net/ipv4/tcp.c:4293
__sys_getsockopt+0x2a6/0x550 net/socket.c:2240
__do_sys_getsockopt net/socket.c:2255 [inline]
__se_sys_getsockopt net/socket.c:2252 [inline]
__x64_sys_getsockopt+0xb1/0xc0 net/socket.c:2252
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f01cf81374a
Code: c4 c1 e0 1a 0d 00 00 04 00 89 01 e9 e0 fe ff ff e8 3b 05 00 00 66 2e 0f 1f 84 00 00 00 00 00 90 49 89 ca b8 37 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 b0 ff ff ff f7
RSP: 002b:00007ffd2cb2c9c8 EFLAGS: 00000216 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 00007ffd2cb2ca50 RCX: 00007f01cf81374a
RDX: 0000000000000041 RSI: 0000000000000029 RDI: 0000000000000003
RBP: 0000000000000003 R08: 00007ffd2cb2c9ec R09: 0079746972756365
R10: 00007ffd2cb2ca50 R11: 0000000000000216 R12: 00007f01cf90d200
R13: 00007ffd2cb2c9ec R14: 0000000000000000 R15: 00007f01cf90ed00