Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1506371ybl; Thu, 5 Dec 2019 02:32:20 -0800 (PST) X-Google-Smtp-Source: APXvYqz49fiDKtNX//YXCVRy2Dy1o5j1Ji4eFbEXTB8vUvGiADl3iVO+qWDhBnSTeIY15HwdVarU X-Received: by 2002:a05:6830:2111:: with SMTP id i17mr5752108otc.24.1575541940823; Thu, 05 Dec 2019 02:32:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575541940; cv=none; d=google.com; s=arc-20160816; b=pL5wN/ND1gvI1UyV+PuDhPJcpBmqmVu7DRTr05vX4jR/+K1CqfY84VHGqbtvye4wSI +ErtCqrd7h/CBgoSbdZ7Yu48tyPsyvw+e/JQihSIh9Ocwa20CW+Fr91isv8JCcZvKRaJ F48IMo8kNNSkJfETunkWfaD6tLhcX9fd1spXsu4pJo1npOj1NfS57XXzM1dKDiAdoqw7 9qf7voJj+Hn8mV+sIyA9pK6fg0Rkm+pBC++aSVP/qt5pPRJ4QxflUzb4DYOdDhonjqFg NWBrzpiZ33HctMCVVxUEhYxUcO+iozFH8cBt5JYG3gd8f0bPh5SBwMf03CGOKPJEdbQa noug== 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=AIwfFBjY5pjo/AwQlYLo1XDjqkJbAe8kAMyvBg+3yAM=; b=OxqNYYw6BGZTNYmtXlX5lzVQ9vSuhwX2Gad8jwz9Io9/9mRxVS1G9hJ/yKXLMN0K2M o43EFhzNgOiUaeOLttKFqh9zX0BFtSF4VTn2exCfAfpHYcR3CL5NHfx75nzB+x30eeb7 KWMhodQRMcsPQbKj3p44O2g1v0BIlkPnw8UmT+Ft1HYmirOpsUx3GBWDIPqLSakRlMXv yumT9gsNsMcTW/S2UzKf+Wjx1qnquyxFxomCRgEUARkfelr5I+3ZxC0qLqam3rQbq49s Nwv5E6y8m3sCALa67AYMBVaPvK64UY/O8dkjyUmmeDVj7A93MomszysBzIhMt0fYfRQD z2qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=eYZMat2H; 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 h4si4742539otk.172.2019.12.05.02.32.08; Thu, 05 Dec 2019 02:32:20 -0800 (PST) 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=eYZMat2H; 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 S1729044AbfLEKbk (ORCPT + 99 others); Thu, 5 Dec 2019 05:31:40 -0500 Received: from mail-qv1-f67.google.com ([209.85.219.67]:44737 "EHLO mail-qv1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729017AbfLEKbk (ORCPT ); Thu, 5 Dec 2019 05:31:40 -0500 Received: by mail-qv1-f67.google.com with SMTP id n8so1059846qvg.11 for ; Thu, 05 Dec 2019 02:31:39 -0800 (PST) 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=AIwfFBjY5pjo/AwQlYLo1XDjqkJbAe8kAMyvBg+3yAM=; b=eYZMat2HE3FLjyOA43FqB/w1GkyQ6frF+j0XPKrIc1es0ljwtwwex1ueuRIGRIMTBZ uD+v4Pu8j72Kr9PWzQSPmIJG+vAutrUoXY/DlvJLqYzq5Mb/MQS4MLbL7d8bKQHe1CLm /obGnlsvGr3IPK2Vijtfo13yPAeYuZFUYqQkYHaAeMoqlrCkVVKjcDjzVsYKs3oi/E8k b+AnNdv8b+VIdUWVko0227dY1YSR3tuiDGqWP2ttdlmRuhCA6DLLr4suNNTt1QEYRlE9 nBUheeQUAyU8L/9eU7qRmuCPsDRs7GTa8MiaTjkR0yLps1RW1cvnWRVFxTxEORtDL2EI xkcQ== 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=AIwfFBjY5pjo/AwQlYLo1XDjqkJbAe8kAMyvBg+3yAM=; b=raHzFOnBj+KP9dgDpoj43xUMkVeK7fu8E95TFnzmqaUf7SQKki3i5z8azmcM42XvPB HOrtuAWDnOofy2V4fB3eIHwMGKiiRsdm94KnDgEU6Rp0ljbgkJ9DUBtfyfWf/rEgW7Yc vi6GDiNwvj2f3AfGY+GHT3aE1H6QYl59xNmDaxPsS11qkD78w+gpIAlN3222TDfMiMDv kADJs8zTfcQc6jie1T3z7ywEOViAbuHbrOITu6/L/iKPymsF23l4zN+z8iUNZRKD4guY YdagFmKobyX/v2LpxIaPdVn8Hv84LwdlHNNKl2fiTe9pl0dxoazBNUV5FMfkXgjCGc6Z 8D5Q== X-Gm-Message-State: APjAAAXjCpnG5JBjTqcLkA9qZDTUuSlVTbAmhmbIz1LBKB/ed7rdh5Jp N/H9OEMSlKtdCMKgH4axzyGmWLjAOd88cAHgZkzHBQ== X-Received: by 2002:a0c:f8d1:: with SMTP id h17mr6889518qvo.80.1575541898628; Thu, 05 Dec 2019 02:31:38 -0800 (PST) MIME-Version: 1.0 References: <0000000000003e640e0598e7abc3@google.com> <41c082f5-5d22-d398-3bdd-3f4bf69d7ea3@redhat.com> In-Reply-To: From: Dmitry Vyukov Date: Thu, 5 Dec 2019 11:31:27 +0100 Message-ID: Subject: Re: KASAN: slab-out-of-bounds Read in fbcon_get_font To: Paolo Bonzini Cc: syzbot , Andrey Ryabinin , Bartlomiej Zolnierkiewicz , Daniel Thompson , Daniel Vetter , DRI , ghalat@redhat.com, Gleb Natapov , gwshan@linux.vnet.ibm.com, "H. Peter Anvin" , James Morris , kasan-dev , KVM list , Linux Fbdev development list , LKML , linux-security-module , Maarten Lankhorst , Ingo Molnar , Michael Ellerman , Tetsuo Handa , Russell Currey , Sam Ravnborg , "Serge E. Hallyn" , stewart@linux.vnet.ibm.com, syzkaller-bugs , Kentaro Takeda , Thomas Gleixner , "the arch/x86 maintainers" 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 Thu, Dec 5, 2019 at 11:22 AM Paolo Bonzini wrote: > > On 05/12/19 11:16, Dmitry Vyukov wrote: > > On Thu, Dec 5, 2019 at 11:13 AM Paolo Bonzini wrote: > >> > >> On 04/12/19 22:41, syzbot wrote: > >>> syzbot has bisected this bug to: > >>> > >>> commit 2de50e9674fc4ca3c6174b04477f69eb26b4ee31 > >>> Author: Russell Currey > >>> Date: Mon Feb 8 04:08:20 2016 +0000 > >>> > >>> powerpc/powernv: Remove support for p5ioc2 > >>> > >>> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=127a042ae00000 > >>> start commit: 76bb8b05 Merge tag 'kbuild-v5.5' of > >>> git://git.kernel.org/p.. > >>> git tree: upstream > >>> final crash: https://syzkaller.appspot.com/x/report.txt?x=117a042ae00000 > >>> console output: https://syzkaller.appspot.com/x/log.txt?x=167a042ae00000 > >>> kernel config: https://syzkaller.appspot.com/x/.config?x=dd226651cb0f364b > >>> dashboard link: > >>> https://syzkaller.appspot.com/bug?extid=4455ca3b3291de891abc > >>> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11181edae00000 > >>> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=105cbb7ae00000 > >>> > >>> Reported-by: syzbot+4455ca3b3291de891abc@syzkaller.appspotmail.com > >>> Fixes: 2de50e9674fc ("powerpc/powernv: Remove support for p5ioc2") > >>> > >>> For information about bisection process see: > >>> https://goo.gl/tpsmEJ#bisection > >>> > >> > >> Why is everybody being CC'd, even if the bug has nothing to do with the > >> person's subsystem? > > > > The To list should be intersection of 2 groups of emails: result of > > get_maintainers.pl on the file identified as culprit in the crash > > message + emails extracted from the bisected to commit. > > Ah, and because the machine is a KVM guest, kvm_wait appears in a lot of > backtrace and I get to share syzkaller's joy every time. :) I don't see any mention of "kvm" in the crash report. And it's only 1 file, not all of them, in this case I would expect it to be drivers/video/fbdev/core/fbcon.c. So it should be something different. > This bisect result is bogus, though Tetsuo found the bug anyway. > Perhaps you can exclude commits that only touch architectures other than > x86? We do this. It work sometimes. But sometimes it hits non-deterministic kernel build bugs: https://github.com/google/syzkaller/issues/1271#issuecomment-559093018 And in this case it hit some git bisect weirdness which I can't explain yet: https://github.com/google/syzkaller/issues/1527