INFO: task syz-executor.1:16952 can't die for more than 143 seconds.
task:syz-executor.1 state:D stack:28408 pid:16952 ppid: 3622 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5107 [inline]
__schedule+0xa9a/0x4cc0 kernel/sched/core.c:6422
schedule+0xd2/0x1f0 kernel/sched/core.c:6494
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6553
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747
device_lock include/linux/device.h:767 [inline]
usbdev_open+0x19d/0x920 drivers/usb/core/devio.c:1042
chrdev_open+0x266/0x770 fs/char_dev.c:414
do_dentry_open+0x4a1/0x11f0 fs/open.c:824
do_open fs/namei.c:3469 [inline]
path_openat+0x1c71/0x2910 fs/namei.c:3602
do_filp_open+0x1aa/0x400 fs/namei.c:3629
do_sys_openat2+0x16d/0x4c0 fs/open.c:1212
do_sys_open fs/open.c:1228 [inline]
__do_sys_openat fs/open.c:1244 [inline]
__se_sys_openat fs/open.c:1239 [inline]
__x64_sys_openat+0x13f/0x1f0 fs/open.c:1239
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:0x7f2c89a3c004
RSP: 002b:00007f2c8ac54ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007f2c89a3c004
RDX: 0000000000028001 RSI: 00007f2c8ac54d40 RDI: 00000000ffffff9c
RBP: 00007f2c8ac54d40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000028001
R13: 00007fff26fb053f R14: 00007f2c8ac55300 R15: 0000000000022000
INFO: task syz-executor.1:16952 blocked for more than 143 seconds.
Not tainted 5.18.0-rc3-next-20220420-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:28408 pid:16952 ppid: 3622 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5107 [inline]
__schedule+0xa9a/0x4cc0 kernel/sched/core.c:6422
schedule+0xd2/0x1f0 kernel/sched/core.c:6494
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6553
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747
device_lock include/linux/device.h:767 [inline]
usbdev_open+0x19d/0x920 drivers/usb/core/devio.c:1042
chrdev_open+0x266/0x770 fs/char_dev.c:414
do_dentry_open+0x4a1/0x11f0 fs/open.c:824
do_open fs/namei.c:3469 [inline]
path_openat+0x1c71/0x2910 fs/namei.c:3602
do_filp_open+0x1aa/0x400 fs/namei.c:3629
do_sys_openat2+0x16d/0x4c0 fs/open.c:1212
do_sys_open fs/open.c:1228 [inline]
__do_sys_openat fs/open.c:1244 [inline]
__se_sys_openat fs/open.c:1239 [inline]
__x64_sys_openat+0x13f/0x1f0 fs/open.c:1239
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:0x7f2c89a3c004
RSP: 002b:00007f2c8ac54ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007f2c89a3c004
RDX: 0000000000028001 RSI: 00007f2c8ac54d40 RDI: 00000000ffffff9c
RBP: 00007f2c8ac54d40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000028001
R13: 00007fff26fb053f R14: 00007f2c8ac55300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/28:
#0: ffffffff8bd84f60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491
2 locks held by getty/3271:
#0: ffff888015cc2098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc90002b832e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2111
2 locks held by kworker/u4:5/3721:
#0: ffff8880b9c3a018 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:541
#1: ffff8880b9c27888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x176/0x4e0 kernel/sched/psi.c:880
5 locks held by kworker/0:11/14391:
#0: ffff8881459b7538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff8881459b7538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff8881459b7538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff8881459b7538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff8881459b7538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff8881459b7538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
#1: ffffc9000a84fda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2: ffff88801e2e6220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
#2: ffff88801e2e6220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4680 drivers/usb/core/hub.c:5693
#3: ffff888079fa2220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
#3: ffff888079fa2220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:945
#4: ffff888079fa51a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
#4: ffff888079fa51a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:945
1 lock held by syz-executor.1/16952:
#0: ffff88801e2e6220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
#0: ffff88801e2e6220 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x19d/0x920 drivers/usb/core/devio.c:1042
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.18.0-rc3-next-20220420-syzkaller #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:256 [inline]
watchdog+0xcb7/0xed0 kernel/hung_task.c:413
kthread+0x2e9/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: 15189 Comm: kworker/0:16 Not tainted 5.18.0-rc3-next-20220420-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_power_efficient wg_ratelimiter_gc_entries
RIP: 0010:check_preemption_disabled+0x4/0x170 lib/smp_processor_id.c:13
Code: 00 00 e8 4f a1 31 f8 65 48 8b 3c 25 00 70 02 00 e8 b1 2f ec f7 eb 99 0f 1f 44 00 00 0f 0b e9 23 ff ff ff cc cc cc 41 56 41 55 <49> 89 f5 41 54 55 48 89 fd 53 0f 1f 44 00 00 65 44 8b 25 45 2d 94
RSP: 0018:ffffc90015ab7bb8 EFLAGS: 00000082
RAX: 0000000000000001 RBX: 1ffff92002b56f7c RCX: ffffffff815dc7ae
RDX: 1ffff1100e99a14c RSI: ffffffff89cc6f00 RDI: ffffffff8a276f20
RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff9007196f
R10: fffffbfff200e32d R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: ffffffff8ca76b38 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c01bfb4e10 CR3: 000000007eeab000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lockdep_recursion_finish kernel/locking/lockdep.c:466 [inline]
lock_acquire kernel/locking/lockdep.c:5667 [inline]
lock_acquire+0x1bb/0x570 kernel/locking/lockdep.c:5630
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:354 [inline]
wg_ratelimiter_gc_entries+0x5d/0x430 drivers/net/wireguard/ratelimiter.c:63
process_one_work+0x996/0x1610 kernel/workqueue.c:2289
worker_thread+0x665/0x1080 kernel/workqueue.c:2436
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
----------------
Code disassembly (best guess):
0: 00 00 add %al,(%rax)
2: e8 4f a1 31 f8 callq 0xf831a156
7: 65 48 8b 3c 25 00 70 mov %gs:0x27000,%rdi
e: 02 00
10: e8 b1 2f ec f7 callq 0xf7ec2fc6
15: eb 99 jmp 0xffffffb0
17: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
1c: 0f 0b ud2
1e: e9 23 ff ff ff jmpq 0xffffff46
23: cc int3
24: cc int3
25: cc int3
26: 41 56 push %r14
28: 41 55 push %r13
* 2a: 49 89 f5 mov %rsi,%r13 <-- trapping instruction
2d: 41 54 push %r12
2f: 55 push %rbp
30: 48 89 fd mov %rdi,%rbp
33: 53 push %rbx
34: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
39: 65 gs
3a: 44 rex.R
3b: 8b .byte 0x8b
3c: 25 .byte 0x25
3d: 45 rex.RB
3e: 2d .byte 0x2d
3f: 94 xchg %eax,%esp