Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5042234yba; Tue, 30 Apr 2019 08:15:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqw/CfmX1j4G4oMHR63ZL00lU0JXJwaaiOS22urkrZg2GyQNGmWng/GlEdJyOfdnzGGz5anm X-Received: by 2002:a62:4852:: with SMTP id v79mr71468554pfa.72.1556637354814; Tue, 30 Apr 2019 08:15:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556637354; cv=none; d=google.com; s=arc-20160816; b=ee94QqHFRV4r84yv0KTEk4LyCx8SJE+xme1irKnDbcUUfnM5oNzWE2JacGQL+qyz1o oM3+DTiNX2RdU9uXQVNp9TrFTbYB5OX2+SOTdI1M5JMVY2OKMivXAQrLLLceOQueW9FJ /vDmC/yEtLpByvy1oQa3r87BpbAZuMlsGQdgr3pVpGPUsqW9LeD7U/vZaAV9NizAsuf+ HILHsgmgnq/wVHvdzswJBqgxulBgfrMFoK9M2v+B52m565JLF7IBQ8cL02SM3AaGdAia MlP+tZkIkhihpQHpIGkhl5lbLH3Ib4Oe9iNBIaGcNdAMZFxp7g8KhMLZ7x7+8MqXpiZs rwwA== 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=d8dn/0dTKiykpcgtb/y9QsyEoWiQzsibeWC7CLJMvwc=; b=ufvp2iDSHR2pFcckhbhd3Ofb9yyHE/IEbsCG/W8wXMfjNuMXqjmkc8Sq4BH3WbyMhI pJnOALtIMKVKIxmEy6U+lTuaZTd/uVcDQyN1jjyf4g7Ft79xYtNFN1xVJ+XgWtvL+h3W ClpJpx1Aw/TnLmcXK2qNr3abSMTf+3aYf+39I9PR49RQIFbeNacXxOFOVq9ezEcFpNmp WVwSGQd806RtHkeg9wmhTrl6qmt7fKp3fIXNgrcVmuAXlu/mC6IbBEL4Q+mUT89LQWW1 emhpJnGZrxokfJUP5k2tGXhBfzalAijT/Y/hHGC7KrOAVGzRRcld/D9Z2wsN9ROhWElG FHuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=NNZiJIi2; 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 h8si39181468plb.282.2019.04.30.08.15.37; Tue, 30 Apr 2019 08:15:54 -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=NNZiJIi2; 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 S1726056AbfD3POl (ORCPT + 99 others); Tue, 30 Apr 2019 11:14:41 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:41684 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725942AbfD3POl (ORCPT ); Tue, 30 Apr 2019 11:14:41 -0400 Received: by mail-pg1-f193.google.com with SMTP id f6so6975536pgs.8 for ; Tue, 30 Apr 2019 08:14:40 -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=d8dn/0dTKiykpcgtb/y9QsyEoWiQzsibeWC7CLJMvwc=; b=NNZiJIi2WT1N0507K72evR/BwmrEwAGuAarbetxNWBhkR9dS73mA51rISAyU5CMJnx xOZtroOnkEue6rrtt4jkSD1X54vzGc/BQWyOZwJweYHq+6hD7AKb2SrYdFKVvnLLwwJU MnMM/EecZ9vKnJaVgVjNGb9WRoOXQwC+hX1vi5bTQg+CcVcxayzzHBN8FqbU2lW8ChsR OSF1uouxhbqtiZjQq4d+Jzg8B/Lpw3vOKqSrI21L6gHA4wpC47FJ+KTAAoNF8tpixhOa tgP2/gN3dYrC5R1xvbk8r6qJqSzC7jqqUxEXXymcLJGlXFEQO7SWie46y980eZeayUSo /vAA== 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=d8dn/0dTKiykpcgtb/y9QsyEoWiQzsibeWC7CLJMvwc=; b=Tq+bs3ux4OsQdImLQRcak02/m2m1xMf7rn8TOyby6q5JlHu7bwCSKP+wojDPYcztnx iQ4M/mz+19xjEfCdDNWzi/r1alCv+ICdKenOMlgR05Thn0BT4689wX1hLus+GWNBkMmy Z9XaR3jgwJ4D1CsSBd+n9J9EcCcOzBWQAEpSTZKAzjrepM3UYQcqVA1AmZerWB5KNSc5 kSeVAN3/GZCQbWZws3tvM4eN8/ETx+l+FvlQdB4GT8zHDhMruO5TPkzDsldpplCVD35X lz/V901xTol8nyBf2SPldHeHK+U3yWO9bKw0XoLAqk4kO4cmYUbdxBDjG2Tq3ygs//0+ DVnQ== X-Gm-Message-State: APjAAAUEAvvXsCdWLsYPPA3JMdqunb9w7UAY+wnmyslo/B9lmX7yExOY zyYth4/0BoLOOrmwFrwgYOjO+txbDOOuw+2VBJ6ebg== X-Received: by 2002:a65:628b:: with SMTP id f11mr1068488pgv.95.1556637280087; Tue, 30 Apr 2019 08:14:40 -0700 (PDT) MIME-Version: 1.0 References: <0000000000004101370587c052fb@google.com> In-Reply-To: From: Andrey Konovalov Date: Tue, 30 Apr 2019 17:14:28 +0200 Message-ID: Subject: Re: WARNING: Support for this device (Terratec Grabster AV400) is experimental. To: Alan Stern 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 Tue, Apr 30, 2019 at 5:00 PM Alan Stern wrote: > > On Tue, 30 Apr 2019, syzbot wrote: > > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit: 9a33b369 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=141ca62d200000 > > kernel config: https://syzkaller.appspot.com/x/.config?x=23e37f59d94ddd15 > > dashboard link: https://syzkaller.appspot.com/bug?extid=af8f8d2ac0d39b0ed3a0 > > compiler: gcc (GCC) 9.0.0 20181231 (experimental) > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1405bedd200000 > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13ce3bbb200000 > > > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > > Reported-by: syzbot+af8f8d2ac0d39b0ed3a0@syzkaller.appspotmail.com > > > > usb 1-1: New USB device found, idVendor=0ccd, idProduct=0039, bcdDevice= > > d.3c > > usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 > > usb 1-1: config 0 descriptor?? > > pvrusb2: Hardware description: Terratec Grabster AV400 > > pvrusb2: ********** > > pvrusb2: WARNING: Support for this device (Terratec Grabster AV400) is > > experimental. > > pvrusb2: Important functionality might not be entirely working. > > pvrusb2: Please consider contacting the driver author to help with further > > stabilization of the driver. > > pvrusb2: ********** > > > > > > --- > > This bug 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. > > This does seem like a bug in syzbot. Why does it think this pr_info() > output indicates a crash? Is it fooled by the capitalized "WARNING" at > the start of one of the lines? Well, as of [1] WARN*() should only be used to indicate a kernel bug. Normally, WARN*() prints a line that start with a warning, which is followed by a stack trace. Unfortunately the stack trace is not always present (kernel memory is badly corrupted, console deadlocked, etc.), so syzbot detects the "WARNING:" line as a beginning of a WARN*() reported bug. In this case the driver does something like `pr_info("WARNING: ...", ...)`, which confuses syzbot. I'd say it's the kernel that needs to be changed here to use some other kind of prefix for printing warning messages. [1] https://github.com/torvalds/linux/commit/96c6a32ccb55a366054fd82cc63523bb7f7493d3