Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1819228ybn; Thu, 26 Sep 2019 02:42:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqzIm83NLXkIuiI27FTu7JwlTAE9BjRMUwEzhYpLURIROBZlEf9HyaYvq5YvK3L4Nkajgi70 X-Received: by 2002:aa7:cf86:: with SMTP id z6mr2437185edx.230.1569490940635; Thu, 26 Sep 2019 02:42:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569490940; cv=none; d=google.com; s=arc-20160816; b=bE9rC7vxJl2odihso0ZuECxFDJ3enTcc/c0wwCvMNQCqq1m5PD2xa5/nBg0xtB7mlV TGmi0RGszHWZswWBKs8XNOfQzyKew5yRzUKnBnTnInHeRZUWYzYbxxP/qKgCLQyPsXr1 DAFUnsUOsS+aF6N9d/CZKn6+hXh0ASS0aBzqW1Q8CWP6rv5vOn9sqhA1z+HoZkYJQyo0 oC0tbasu66CXNmqr7SPA8eBFcpZ4RlsoNzUxY5yXedGEP+tUGINJNsngWMEJeFV0vcrf y2NqYX49WqhuH/cjZlNAKlilQypx5hIBdZdjrW7S/0I0qIpIZU4UCDSfXjFT3oG8tG8u Np2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=wRpIL/tAhQ7tmZdnSOSRTMvtx0laE3jI6sYZoK3gWPE=; b=DHgp/ydnV9BWMsfngkJz1kxEIeNDWHoUA7mGdtM0c2b4IChCscbWp6yjBRevmyCinW kmwWL5Z8Y0i6cUGGz8QL3FCjdUI8/cR7say0FFBfPAelVmcYH6KGNtgJMcUAYyMNPFUk v5NPd9yxEhdxRsrkSaWQGyt+8RfaHpocHsIyxgnKORm0y8qqdoQxaXbKOf1bsNaYOU+Z IWe7peRjIsVr3gV+cSf3+KAh90276MV8Fv4XVdtrv31hpgmN3xzcdSwnv7g3vnnWoR8u WBAt8auDMn4esrvlvTjTjinwh7H6ITUndAGHkqBOxTzbybqXCl2fsQQV3b+F2Sgq6BDh KDzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=JcNqYn4o; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f31si1074360ede.253.2019.09.26.02.41.57; Thu, 26 Sep 2019 02:42:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=JcNqYn4o; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732721AbfIYPev (ORCPT + 99 others); Wed, 25 Sep 2019 11:34:51 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:34425 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727514AbfIYPeu (ORCPT ); Wed, 25 Sep 2019 11:34:50 -0400 Received: by mail-pl1-f196.google.com with SMTP id k7so2023379pll.1 for ; Wed, 25 Sep 2019 08:34:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wRpIL/tAhQ7tmZdnSOSRTMvtx0laE3jI6sYZoK3gWPE=; b=JcNqYn4owFfGUXPFvzxQEUrFBHX+IEgzs8GRWys0yeJgQf6MJWCZEx46JGE0jk8bZk 6TfwxC8Tr6fx40/rioCBHUcsrVCnm5TT31x14SFyXyf6Yoch2+ts9pIUW3VwG8GFGETX V2j7wmhNbSj0RRKUUtUOlQxO3xCNFQ0f4MGwe2ehQMw2NAtIN0E3GoGc2RoTuyTYlt6V da5hTXsK+A1M3B6oPBNSNg3qRb5ymXCx63+ZEBpMfBAUwWw179pEWQwNdUOYvTH+e0L0 /ZZWPH/SDJINxrf7pT76Rrk3pfjVMlHtXbzistGM28bilBJMUo2s61THKVGVFgQN2lF1 Uiiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wRpIL/tAhQ7tmZdnSOSRTMvtx0laE3jI6sYZoK3gWPE=; b=PhBj/QEHzL0MpgnVcM6FWuV36OxHKT73U0YJaFOoKw3AOBQsYI2MO504TNzJ0c5u6l bEbqWTcRxPx4OgCORLHjgd33z/h9WReobefZOJjtB2LT+xjaEhaZNPT+GwRm66/pWtDL KLwDacrBVrsvs9++vKVrpjGI7K+0grq5AEMAsRVVkgjnWHK7Vdneehmvl3VTimIjvwKz qc9CNTvjIQUphFK6a/quIlXbJ4ca3I5SnGwXWDxrGU9BBfarEI82gcj8AEqg4KKlWskk RWPMlzeF0ewG71iEEmm38Wvd8AG2tw4+iwvpG5wFRxXYCtyiikblaG5+PIz61sTTCt9k g9Cw== X-Gm-Message-State: APjAAAWgD0oEPrBJ7MbK9RE3m/BOxJc+QnwY1/95W9dLpEMZCuTouHKM /m9kNsNuGn91CzIQAwJRII4D2tjECffi/bvdO7WPAw== X-Received: by 2002:a17:902:9a95:: with SMTP id w21mr1687049plp.336.1569425689662; Wed, 25 Sep 2019 08:34:49 -0700 (PDT) MIME-Version: 1.0 References: <000000000000c2ee6a059360376e@google.com> In-Reply-To: From: Andrey Konovalov Date: Wed, 25 Sep 2019 17:34:38 +0200 Message-ID: Subject: Re: WARNING in pvr2_i2c_core_done To: Alan Stern , Greg Kroah-Hartman , "Rafael J. Wysocki" Cc: syzbot , LKML , USB list , syzkaller-bugs Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 25, 2019 at 4:10 PM Alan Stern wrote: > > On Wed, 25 Sep 2019, syzbot wrote: > > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit: d9e63adc usb-fuzzer: main usb gadget fuzzer driver > > git tree: https://github.com/google/kasan.git usb-fuzzer > > console output: https://syzkaller.appspot.com/x/log.txt?x=16b5fcd5600000 > > kernel config: https://syzkaller.appspot.com/x/.config?x=f4fa60e981ee8e6a > > dashboard link: https://syzkaller.appspot.com/bug?extid=e74a998ca8f1df9cc332 > > compiler: gcc (GCC) 9.0.0 20181231 (experimental) > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=16ec07b1600000 > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13ff0871600000 > > > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > > Reported-by: syzbot+e74a998ca8f1df9cc332@syzkaller.appspotmail.com > > > > pvrusb2: Device being rendered inoperable > > cx25840 0-0044: Unable to detect h/w, assuming cx23887 > > cx25840 0-0044: cx23887 A/V decoder found @ 0x88 (pvrusb2_a) > > pvrusb2: Attached sub-driver cx25840 > > pvrusb2: ***WARNING*** pvrusb2 device hardware appears to be jammed and I > > can't clear it. > > pvrusb2: You might need to power cycle the pvrusb2 device in order to > > recover. > > ------------[ cut here ]------------ > > sysfs group 'power' not found for kobject 'i2c-0' > > WARNING: CPU: 0 PID: 102 at fs/sysfs/group.c:278 sysfs_remove_group > > fs/sysfs/group.c:278 [inline] > > WARNING: CPU: 0 PID: 102 at fs/sysfs/group.c:278 > > sysfs_remove_group+0x155/0x1b0 fs/sysfs/group.c:269 > > I have seen a lot of error messages like this one (i.e., "group 'power' > not found for kobject"), in runs that involved fuzzing a completely > different USB driver. Initial testing failed to find a cause. > > This leads me to wonder whether the problem might lie somewhere else > entirely. A bug in some core kernel code? Memory corruption? AFAICS so far this has only been triggered from the usbvision driver [1] and from the pvrusb2 driver (this report). I wanted to loop in sysfs maintainers, but it seems that Greg and Rafael are already cc'ed on this. [1] https://syzkaller.appspot.com/bug?extid=7fa38a608b1075dfd634