From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.4 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 17BE0C3A59E for ; Wed, 21 Aug 2019 16:26:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E109E22DA7 for ; Wed, 21 Aug 2019 16:26:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="AF+IIIeH" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728419AbfHUQ0p (ORCPT ); Wed, 21 Aug 2019 12:26:45 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:35647 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727617AbfHUQ0p (ORCPT ); Wed, 21 Aug 2019 12:26:45 -0400 Received: by mail-pl1-f194.google.com with SMTP id gn20so1603905plb.2 for ; Wed, 21 Aug 2019 09:26: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; bh=/lziEAnWIs7T/IMh7pvLAYKgxF1M/6L6xhkZk+PTzZo=; b=AF+IIIeHIq+dPK6gk+aCsHN2vKnAjqwvZuihG7Jet3NEoV5OgjEnchuWOGClLLH3iq Y4Jnmi7hlWG/Dn3ztrc+tWsOnALWnOX5vVTc1NtSiBX9F+jscmLYIJAQKZ5aQuAVYUG4 0pRL70xnZAqBDUxRuuiTOIoV5mxKFMBLMtgYBwhHD/J2P/q3YXL66kEZXDdcTTLVlCf3 HD4U4ZX4KkNuDt4YoJUbWJjJUOjBsfecG7bJFG/0BfxboCKOMO8unm3Y0oMLn27x/LOK BJgmeln/fKlN1V1JE43IY+76dixpXtcEDvQb7zOeu7A6BMVZ8Ayzq3Q9hyDlGxGu8Y04 dffg== 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=/lziEAnWIs7T/IMh7pvLAYKgxF1M/6L6xhkZk+PTzZo=; b=BklESm0XViobJYvmZmg5TBGyvRWPjPj+ckdfp+RjfrLSITW60YFMG/h2mwdzQmyNU+ jAQXNUO4WrpgzJ+qYY6kx8La9YyShhtYN+Thg/lI/KRL5jyVgYqWu8zc3kt7oTiDQaxi aeBXmnizTzsLJO1Gpazzq3Ptn+4i7sLrLRmaJQTW0Vj34WCByZ18yQGk5+xiArauRoIB 4fz2oVpXbW7+Fk2sDmO3MJnJHmvpsVG/IJNgsc74QAcnDTGrBd90datTb5w9uiPRqLq6 /+xj6ORgoCigl2XEaY72mwgel6Zp5FpskKvdjW1ZmMott9xTvBbzC/0V0jvL8akqVDad IsDQ== X-Gm-Message-State: APjAAAWBGEeYpodUCseWoxfzZ/CvJbPyeDL6VOdM4IRFNanWrw/Qeg2o 7feZIr29FKwfgqIddmVXkjMhWlbo8ltLFFuBkhHmng== X-Google-Smtp-Source: APXvYqyWzm3ttwJ/qs5oATy4yQcZ4ErWYetxTfgsGlousGVCvxLNjVvJ3uxvSFrniw99IHUPTyRiot8PZ7LI3jrN8T0= X-Received: by 2002:a17:902:bb94:: with SMTP id m20mr34062684pls.336.1566404804399; Wed, 21 Aug 2019 09:26:44 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Andrey Konovalov Date: Wed, 21 Aug 2019 18:26:33 +0200 Message-ID: Subject: Re: KASAN: slab-out-of-bounds Read in hidraw_ioctl To: Alan Stern Cc: syzbot , Benjamin Tissoires , Jiri Kosina , linux-input@vger.kernel.org, LKML , USB list , syzkaller-bugs Content-Type: text/plain; charset="UTF-8" Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Wed, Aug 21, 2019 at 6:24 PM Alan Stern wrote: > > On Wed, 21 Aug 2019, Andrey Konovalov wrote: > > > On Wed, Aug 21, 2019 at 3:37 PM syzbot > > wrote: > > > > > > Hello, > > > > > > syzbot has tested the proposed patch but the reproducer still triggered > > > crash: > > > KASAN: slab-out-of-bounds Read in hidraw_ioctl > > > > Same here, a different bug. > > It looks like I've got the fix for both these bugs. Testing now... Great! Do you think "BUG: bad usercopy in hidraw_ioctl" can also be fixed by one of those fixes? > > > > Tested on: > > > > > > commit: e96407b4 usb-fuzzer: main usb gadget fuzzer driver > > > git tree: https://github.com/google/kasan.git > > > console output: https://syzkaller.appspot.com/x/log.txt?x=14f14a1e600000 > > > kernel config: https://syzkaller.appspot.com/x/.config?x=cfa2c18fb6a8068e > > > compiler: gcc (GCC) 9.0.0 20181231 (experimental) > > > patch: https://syzkaller.appspot.com/x/patch.diff?x=171cd95a600000 > > Why don't these patch-test reports include the dashboard link? It sure > would be handy to have a copy of it here. > > Alan Stern >