Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 261FDC433FE for ; Mon, 10 Jan 2022 15:42:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236387AbiAJPmS (ORCPT ); Mon, 10 Jan 2022 10:42:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236361AbiAJPmQ (ORCPT ); Mon, 10 Jan 2022 10:42:16 -0500 Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFC32C06173F for ; Mon, 10 Jan 2022 07:42:16 -0800 (PST) Received: by mail-qt1-x82a.google.com with SMTP id s19so14750148qtc.5 for ; Mon, 10 Jan 2022 07:42:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=DDN57VZ5dxd2+2ecHBrgkClEZHp+sgIvGNjxzq+ARR0=; b=G3DPk4/fTlHo+oKZp/8aMtDAnQuoyrUUK5rQPsQuzpQAY3r19uOOSzQrYfj/M6Gigj sArLVoXQsQFFdtBg06v8db1A/bkXcvCOochIku4VRDOhdNLntpv3xHMPMLDe3TbZjQlW KRWrVE0pzbYAA/taQLahAxpTUGN9jdxuf7V/KuYUlHKW66PbL6aXxSieXmI5MIvEteUX 1e3ajgxV4omx+ZK/6xxRrH1IOM4nVxMxPXQut6cGX6Pj5+6l4d5nzuIp4elLKQ/PJxBU RAICtb+laDO4uktMJyj01ks6/KS2iway1wfRQYaMIfIVoXkPCqNcWDbevtbPyoby4G7j D3Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=DDN57VZ5dxd2+2ecHBrgkClEZHp+sgIvGNjxzq+ARR0=; b=zLZ4A0Ock2VRSwGWxSz+LGWWZWOLeqxzXPT39F/RrAfiZ9/l2ewsnCIZwaC2TiuEUk dvG1BxVoOC5Azx8xppSe+MPF/eEBstjZuAO5g9Xd1if2AfOYfuV1KSJzjykt56HMAq4P KhccNEJKeBm5Ce0mRx2tgvglhT23K82RjgHImorL4HyZDL9B6KsTymQwmkaCgi0lj7RL oNfsazNY3IZjQl5tfXaxQ/wmzVHk/IUWUlLpSa///oms1b1Gq/9UYuBv6MUsrNp4G0IG Jo3HM9EIIW4c8PVJHTbvhOlns98/j0jFEgXPH8HKtTzBr/ZE8UZ2a2IazsLuf8hLq+GV rapQ== X-Gm-Message-State: AOAM532N5mHV+aI1oxHulY8JLmVRHMBstcs/3DVnEDRqrt59IINC/u8D H4auuDw4br80twQxmGgUdhH76Ccctr2H13BiFOVMfYiTmP4= X-Google-Smtp-Source: ABdhPJzilu5eKKCnPAvRjZ+iSnCsvCDyVDuwUko3ioYoySqoWMaWxkQuhLvM2Cgo6p/1WrpqMN9x8WKhF8iNRWmwXps= X-Received: by 2002:a05:622a:2d5:: with SMTP id a21mr263977qtx.56.1641829335633; Mon, 10 Jan 2022 07:42:15 -0800 (PST) MIME-Version: 1.0 References: <000000000000be665505d4d9ebd6@google.com> <60e9caf1-7b9f-c5a4-a3e8-ff9135e16197@gmail.com> In-Reply-To: <60e9caf1-7b9f-c5a4-a3e8-ff9135e16197@gmail.com> From: Alexander Potapenko Date: Mon, 10 Jan 2022 16:41:39 +0100 Message-ID: Subject: Re: [syzbot] KMSAN: kernel-usb-infoleak in usbnet_write_cmd (3) To: Pavel Skripkin Cc: syzbot , Greg Kroah-Hartman , johan@kernel.org, LKML , USB list , Alan Stern , syzkaller-bugs Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 6, 2022 at 11:17 PM Pavel Skripkin wrote= : > > On 1/5/22 21:28, syzbot wrote: > > Hello, > > > > syzbot found the following issue on: > > > > HEAD commit: 81c325bbf94e kmsan: hooks: do not check memory in kmsan= _in.. > > git tree: https://github.com/google/kmsan.git master > > console output: https://syzkaller.appspot.com/x/log.txt?x=3D14a07163b00= 000 > > kernel config: https://syzkaller.appspot.com/x/.config?x=3D2d8b9a11641= dc9aa > > dashboard link: https://syzkaller.appspot.com/bug?extid=3D003c0a286b9af= 5412510 > > compiler: clang version 14.0.0 (/usr/local/google/src/llvm-git-mo= norepo 2b554920f11c8b763cd9ed9003f4e19b919b8e1f), GNU ld (GNU Binutils for = Debian) 2.35.2 > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=3D100165dbb= 00000 > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=3D10c97e77b00= 000 > > > > IMPORTANT: if you fix the issue, please add the following tag to the co= mmit: > > Reported-by: syzbot+003c0a286b9af5412510@syzkaller.appspotmail.com > > > > Heh, I think, more reports like this will appear soon. Syzbot learned > how to tweak usb read functions return values, I guess? This has been possible long ago. I think these new reports are related to fresh KMSAN changes (and also the fact KMSAN was broken for a while last year, and is now catching up). > #syz test: https://github.com/google/kmsan.git master > > > > With regards, > Pavel Skripkin --=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