Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4872258ybi; Tue, 30 Jul 2019 09:35:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqw2zalA7pNblhIxxgvv2hlxQaDKGxHRHhhsGaUsskZ0W+UHSfNKGrs3RXyRXBDG09KP4xaY X-Received: by 2002:aa7:9531:: with SMTP id c17mr44274108pfp.130.1564504508383; Tue, 30 Jul 2019 09:35:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564504508; cv=none; d=google.com; s=arc-20160816; b=n12r0NqBkUgntr9IMJ5kJtYRWAeldyv2UHJ8xOf62fRQu/2Nw05nU5eyPuSTJaCDEs z961cbrhVCDT4KB8XAzksoAf/uxSXpDoCbGSJubE5LC8bi+lHz2g4WCPRLnlIY1uBE23 IWyBIvuSzqAarEjjwMZ3vToVeMygBEBGlgESlmFxwf6hPeEQY0eibZS2d+XFBMEFk6LO kEq134chSst7URfav8HafcoQHKfBY8JtyYvGhJ0NJxT15DjwMYdEmzylm49EjFD3Wd4U Iahk398TCkkcsfSahLhjKARayx3yQTwhyIcfk2UP6aPaC982ARo8HXn/ip4/BSi5jKcL 3OBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=drd2LNgj2u9n38kicYZLHSfSh0oWvDUVZyGUG2VJqr0=; b=UBeulfKjgG7GazFdV/L4PpNotp4xR9H/9gvPtXz0B24Mz1iNuFdsDiAlGS8vbQjCCu a2t/BVicbT91inwOF3W7+P+gE7Etl1VUsJmJNTFmBcs0AW4JgxWF9nhtuSfiAd4tjWAO lEL6g9q0x/qOMI4BPCLJR9ihA5jCpttNpve4Fd39WvW/QeeyjfbQZ4gI74cThgrWculE ZbnsREjfUg52fqIYQgtoz/xkUkdbvGxjmmOq8xi1jcjGvQ/KIglcFUQN15oDX8M3AJSJ CKbdsLtcs2im9wQo3WAlO/IiaEYtFKl+0buXm7WItQe0IXkb/uOm3a/qosoyHnlknZCx R8Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=I0wh7sV7; 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 b35si28934221plb.249.2019.07.30.09.34.53; Tue, 30 Jul 2019 09:35:08 -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=I0wh7sV7; 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 S1731293AbfG3O2r (ORCPT + 99 others); Tue, 30 Jul 2019 10:28:47 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:51646 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727865AbfG3O2q (ORCPT ); Tue, 30 Jul 2019 10:28:46 -0400 Received: by mail-wm1-f65.google.com with SMTP id 207so57392704wma.1 for ; Tue, 30 Jul 2019 07:28:45 -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:content-transfer-encoding; bh=drd2LNgj2u9n38kicYZLHSfSh0oWvDUVZyGUG2VJqr0=; b=I0wh7sV7Cx3IpITr4GHeKMa23hytZP0JMl1EgCUzYsdsJD0aU7BqagmuSep7vB3QwQ FmCb1oxMnT2mJ4h8pWSBnGmuI6Yqso21kPc9Uvp1yEKPka2JkdYxBN2gKyVLqeUpzRd+ 0juG+wDLUllnR3Hu8srp10tIvP03sjQiADQTzEC89VwZa5FakbdkTqOGHCT1swRZazEB 7bmcrDeN14qzlvjuYLLVpNr6T2w2wLHHPuna6zuh6Oza7PTBJqh9Acm7wzG0bEREWoCX Uv/xWlkOIku5P896JXFnq4ggbQBwwMT3Vv9d0StWjmX1zxsFFvV6anKviwNDgI6C1DP8 h9Kg== 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:content-transfer-encoding; bh=drd2LNgj2u9n38kicYZLHSfSh0oWvDUVZyGUG2VJqr0=; b=ZGliaotDSftZaqamX4oODOH6G2SBbgy+PhZgeDQkW40X2ukyFT0aP7xwsv0T9xQ7+z nIEdzXj90DXBYM02ZVX36SaKKYCfGnqeGXAhBRCyTQUICtSdtt1pOKmGBR+eRVNoRfbG s9Ii7LSBWiMi+QCNZ+gHYzIHWzYI1a+8fRBjNIk7ii18NN/IeinN2ANfwk47SiZRrkTi tv49ugmM/tnRM9KaUv5IwOeY4B8+IigP/oMkY7SMyA5sxFUaJUWsfnTejMqlDgO3rPLc 2M/VnwgU8Go20G0aQVlL1uE7n9wV5zc5cj4YxIIdqp4/0dVfUwOkdwsZrmaV3cfIC5M/ t74g== X-Gm-Message-State: APjAAAUWPlmvVnrXdNCEoO9u7PP/HVo1TvIm+6M2e2LEnso3lYjeox79 sE2I28eb4a38yfCiLYd3W/OC3QSB/g4X2gBg54iGcg== X-Received: by 2002:a1c:7f93:: with SMTP id a141mr105995463wmd.131.1564496924133; Tue, 30 Jul 2019 07:28:44 -0700 (PDT) MIME-Version: 1.0 References: <00000000000014c877058ee2c4a6@google.com> In-Reply-To: From: Alexander Potapenko Date: Tue, 30 Jul 2019 16:28:31 +0200 Message-ID: Subject: Re: KMSAN: kernel-usb-infoleak in pcan_usb_pro_send_req To: Andrey Konovalov Cc: Alan Stern , syzbot , Greg Kroah-Hartman , "Gustavo A. R. Silva" , Kernel development list , USB list , syzkaller-bugs Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 30, 2019 at 4:22 PM 'Andrey Konovalov' via syzkaller-bugs wrote: > > On Tue, Jul 30, 2019 at 4:20 PM Andrey Konovalov = wrote: > > > > On Tue, Jul 30, 2019 at 4:17 PM Alan Stern = wrote: > > > > > > On Tue, 30 Jul 2019, syzbot wrote: > > > > > > > Hello, > > > > > > > > syzbot found the following crash on: > > > > > > > > HEAD commit: 41550654 [UPSTREAM] KVM: x86: degrade WARN to pr_wa= rn_rate.. > > > > git tree: kmsan > > > > console output: https://syzkaller.appspot.com/x/log.txt?x=3D13e9518= 3a00000 > > > > kernel config: https://syzkaller.appspot.com/x/.config?x=3D40511ad= 0c5945201 > > > > dashboard link: https://syzkaller.appspot.com/bug?extid=3D513e4d098= 5298538bf9b > > > > compiler: clang version 9.0.0 (/home/glider/llvm/clang > > > > 80fee25776c2fb61e74c1ecb1a523375c2500b69) > > > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=3D17eaf= a1ba00000 > > > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=3D17b8798= 3a00000 > > > > > > > > IMPORTANT: if you fix the bug, please add the following tag to the = commit: > > > > Reported-by: syzbot+513e4d0985298538bf9b@syzkaller.appspotmail.com > > > > > > > > usb 1-1: config 0 has no interface number 0 > > > > usb 1-1: New USB device found, idVendor=3D0c72, idProduct=3D0014, > > > > bcdDevice=3D8b.53 > > > > usb 1-1: New USB device strings: Mfr=3D0, Product=3D0, SerialNumber= =3D0 > > > > usb 1-1: config 0 descriptor?? > > > > peak_usb 1-1:0.146: PEAK-System PCAN-USB X6 v0 fw v0.0.0 (2 channel= s) > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > BUG: KMSAN: kernel-usb-infoleak in usb_submit_urb+0x7ef/0x1f50 > > > > drivers/usb/core/urb.c:405 > > > > > > What does "kernel-usb-infoleak" mean? > > > > That means that the kernel put some uninitialized data into a request > > that was sent to a USB device. > > Here's a better report for this bug: Yes, for some reason syzkaller lost half of the original report when reproducing the bug. > https://syzkaller.appspot.com/text?tag=3DCrashReport&x=3D11dae8ec600000 > > This is a real bug, I was able to reproduce it with a hardware > reproducer and leak some kernel pointers AFAIR. > > > > > > > > Alan Stern > > > > > -- > You received this message because you are subscribed to the Google Groups= "syzkaller-bugs" group. > To unsubscribe from this group and stop receiving emails from it, send an= email to syzkaller-bugs+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgi= d/syzkaller-bugs/CAAeHK%2Bz50rsvQypF5AivYJh0wQ04XAueC%3DMs2cPt3%2BQuN1%2BKG= g%40mail.gmail.com. --=20 Alexander Potapenko Software Engineer Google Germany GmbH Erika-Mann-Stra=C3=9Fe, 33 80636 M=C3=BCnchen Gesch=C3=A4ftsf=C3=BChrer: Paul Manicle, Halimah DeLaine Prado Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg