Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2393351iog; Sun, 26 Jun 2022 14:52:12 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vaqJmJB2ryVFffhfdUdSd4i4Mey4CuwjV6jBWzZDcSS/w0Yz2ELC7ye8Z5mK1RkQ/mam71 X-Received: by 2002:a05:6402:510b:b0:437:28b0:8988 with SMTP id m11-20020a056402510b00b0043728b08988mr13524793edd.260.1656280332157; Sun, 26 Jun 2022 14:52:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656280332; cv=none; d=google.com; s=arc-20160816; b=0H4orrRpCHMhU4EQJiaDmspnBZTj2J/xkGgq6PFy+cfVom4sXx+bMzjLv/3XeFkWnE ucEXTlbdgfTH4azDSSjW6aSLlqf5uh0NNreM1SDm+WX8XBnEx+LJX4Ug5UCamTqhTeOH 3prmvcRXLrybYHIdsRI5g19kYTP/4JYtt7nXOJcGOHUK2+XSoUl6bOzd7Hz68q/x5nLc U0avFxBlK790wQ13udkvI2UhlqEg8L16JjVqSkocsOlc2QctEn45PxYoElCdk9dIYInG 5MW30Jdx4aabpZvLCx2WbGW4tB2oW+s1EaM3EDNS0yNwwJ2sY9GamY8zVYo+Cdcoevp6 WrYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:date:mime-version; bh=UBb7FXZ2HjkvN5VW+yOvWBc5CJthxRRWPN6cbtdXnTA=; b=AIp17EzjjZNFWRQ4aAkKZyIP+0dFHI09PK8dDf+jot2jIV1B/85A5CQFF78GgWDKdp GpOJvxocBeSB61J71UhQsOlp8JjnwyNC8nvNSZD18exRNoTM80YWnvhSGaEZMZL+quHL 8IXDF/iWDyGPomsmQGrXcS2uTBRO+fIA9qjBH+syoTk+oFNioigrbYXaN/l+9UUEVOPi d4XFWGrCO/rdrQ/9sbSaXLMIiZA1d6TnoeV1XzXCmGnR9Pe4m118CajtLsPOXzhlBzZO sSO1EIPs9QqZkuPQk3BogKe+YVn0J8LuquXwd+r9q4/2/sWwXLgCFJutjsaoy6RK1SPG +LFQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g23-20020a50d0d7000000b0042bd134b727si12672146edf.129.2022.06.26.14.51.37; Sun, 26 Jun 2022 14:52:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231816AbiFZVdc (ORCPT + 99 others); Sun, 26 Jun 2022 17:33:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231583AbiFZVda (ORCPT ); Sun, 26 Jun 2022 17:33:30 -0400 Received: from mail-il1-f199.google.com (mail-il1-f199.google.com [209.85.166.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 769AC2DC3 for ; Sun, 26 Jun 2022 14:33:29 -0700 (PDT) Received: by mail-il1-f199.google.com with SMTP id a6-20020a92a306000000b002da987fc9f2so232735ili.17 for ; Sun, 26 Jun 2022 14:33:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=UBb7FXZ2HjkvN5VW+yOvWBc5CJthxRRWPN6cbtdXnTA=; b=d9XdcgvPuQdn5h5fMKOMoiuk2hmOxYpLOs2q7je8qQznwViNwDeOoXQkrkgmRHI3ec YbEe2bclMC+i4RgJmHDjGLPQVBBtjggTclNVauEbevdX0F6fKSScjQVmdygK6yPMYabe y4gtFKfJnUclbJbt1IheMN+Jk04DKNbCdzPdOjADw8Q94AGmdx9mRNddEOwR245dwBoZ benqngiz3owKewuKKMc0RDgAdRgSp54xlT13XiHk59toyN4ueDE5A2hW82/VN3uNaOdh h/H73As7zMBAOL2i35fdb5y2n7UhVV4SJ10nDBRUIzfxuK3sV5cfPjsqS5TgjDNuFnbw Zdjg== X-Gm-Message-State: AJIora/+AchWYf4vf28G+qyKD2YxefF/ahMw+AaPXApSAOzJsYb//uQ/ gE5aNpJO+KF3wsOKOmPjtwbyQKUdBhIHi8PoG21E7MEqyqkF MIME-Version: 1.0 X-Received: by 2002:a02:c85c:0:b0:339:dc91:d486 with SMTP id r28-20020a02c85c000000b00339dc91d486mr6093020jao.199.1656279208818; Sun, 26 Jun 2022 14:33:28 -0700 (PDT) Date: Sun, 26 Jun 2022 14:33:28 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000e3fc8905e2608d4f@google.com> Subject: [syzbot] WARNING: locking bug in hfa384x_usbctlx_completion_task From: syzbot To: aldas60@gmail.com, dave@stgolabs.net, gregkh@linuxfoundation.org, keescook@chromium.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, linux-usb@vger.kernel.org, nathan@kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SORTED_RECIPS,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 105f3fd2f789 Merge branch 'staging-octeon' of gitolite.ker.. git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing console output: https://syzkaller.appspot.com/x/log.txt?x=129a824bf00000 kernel config: https://syzkaller.appspot.com/x/.config?x=a352a56bc8822d0c dashboard link: https://syzkaller.appspot.com/bug?extid=ce3408364c4a234dd90c compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10a97af8080000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1031ec4bf00000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+ce3408364c4a234dd90c@syzkaller.appspotmail.com ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(1) WARNING: CPU: 1 PID: 21 at kernel/locking/lockdep.c:231 hlock_class kernel/locking/lockdep.c:231 [inline] WARNING: CPU: 1 PID: 21 at kernel/locking/lockdep.c:231 hlock_class kernel/locking/lockdep.c:220 [inline] WARNING: CPU: 1 PID: 21 at kernel/locking/lockdep.c:231 check_wait_context kernel/locking/lockdep.c:4727 [inline] WARNING: CPU: 1 PID: 21 at kernel/locking/lockdep.c:231 __lock_acquire+0x1356/0x5660 kernel/locking/lockdep.c:5003 Modules linked in: CPU: 1 PID: 21 Comm: kworker/1:0 Not tainted 5.19.0-rc3-syzkaller-00071-g105f3fd2f789 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events hfa384x_usbctlx_completion_task RIP: 0010:hlock_class kernel/locking/lockdep.c:231 [inline] RIP: 0010:hlock_class kernel/locking/lockdep.c:220 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4727 [inline] RIP: 0010:__lock_acquire+0x1356/0x5660 kernel/locking/lockdep.c:5003 Code: 08 84 d2 0f 85 0e 30 00 00 8b 35 7d ec b3 07 85 f6 0f 85 f4 fd ff ff 48 c7 c6 e0 97 47 86 48 c7 c7 20 92 47 86 e8 9a 5b 96 04 <0f> 0b 31 ed e9 aa f0 ff ff e8 fc f1 e8 00 85 c0 0f 84 12 fe ff ff RSP: 0018:ffffc9000016fa28 EFLAGS: 00010082 RAX: 0000000000000000 RBX: ffff888109450be0 RCX: 0000000000000000 RDX: ffff888100371c80 RSI: ffffffff812c1d98 RDI: fffff5200002df37 RBP: 0000000000000edc R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000001 R11: 0000000000000001 R12: ffff8881003726c8 R13: ffff888100371c80 R14: 0000000000040000 R15: 00000000000c0edc FS: 0000000000000000(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055fb59fac7c0 CR3: 0000000109e53000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5665 [inline] lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5630 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162 hfa384x_usbctlx_completion_task+0x35/0x510 drivers/staging/wlan-ng/hfa384x_usb.c:2641 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 --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. syzbot can test patches for this issue, for details see: https://goo.gl/tpsmEJ#testing-patches