Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3298603ybb; Mon, 6 Apr 2020 06:16:50 -0700 (PDT) X-Google-Smtp-Source: APiQypId5HFVOquSKzdL56TdmTGl0rnAZUP5Pt1QZIWX4s/iZRF8ebraTxYkcLzSBoIbH0KPqGo7 X-Received: by 2002:a9d:7488:: with SMTP id t8mr16977419otk.219.1586179010425; Mon, 06 Apr 2020 06:16:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586179010; cv=none; d=google.com; s=arc-20160816; b=cZHNtsy5fQ0+fXiNy2fJh6C3c+NlLED+q+cT1OKz3l32Bs8EjiiNjFS4LoTKCGpJPX MGSLkz9opuC85BWKfJdFc9nbIoB0hWJa7GdQtnpa+YoTqeQQdaXvzsPg3qxUnBz99oLl 2gdMFqPwO8bQeGHZUIrOxtIaXfaEra4OWBUyJ4j99Om/RbPiEgJespk47C1VwdEyQjOz ihOXjTZeCp8mHuOCuphJdP0Snpj9lOXbW8iQu8+vLz6l3tp5SZCrircEkPmEZXIZLdkW ESopkYNYO7wBdlsIHGMNsuVTE+tg4Oskd8IQNOMhLzWTbkynj/onC69YyNYsjV7YdkRm JwUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=i9EytxK/zu+9ecojVcCWTRmH9NFAwPvCvkkFp6J4c3I=; b=LEDf9s6M5CoBu2/3o7JFTDv0cmMnlqVqlpshtvT28flXvD7ZkM+zU8KPrL1iOaqr5v 2aqBSZsDU+cjBNYcy8MEiUtPs5OU7+Nx+BCcw8zN7ul8NbVzrLJewIKRTb5NwEFb2dn9 v4cZ2S4egc+hDkkv/BDF8X84KAO9KLypVjMQkTCSnhNBbg+dZ5P9XLytLY5JSZ6pUA+v nd4kMxTrylnrewdAI1bD8/RMiyZy/cNVTWFJ4axO3ek9DSG8Lkcn0ViGNGNpUOd78tK0 7YzIKEKgXwyH1iEWPGONPWA8XcnEwgfiD6mXZSnh8wLWcEnVPXYrlbodozXbBO7Abxg/ xvVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=go3et0M9; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y1si7662503otq.87.2020.04.06.06.16.36; Mon, 06 Apr 2020 06:16:50 -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=@redhat.com header.s=mimecast20190719 header.b=go3et0M9; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728254AbgDFNQL (ORCPT + 99 others); Mon, 6 Apr 2020 09:16:11 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:38783 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728193AbgDFNQK (ORCPT ); Mon, 6 Apr 2020 09:16:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1586178970; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=i9EytxK/zu+9ecojVcCWTRmH9NFAwPvCvkkFp6J4c3I=; b=go3et0M9L893TTMRXqTjUaNZE+8N6yoCU/ETN3Fy0TRqWY6a7O4sSYeJZWKxwO8/BlIAE6 C/t5HFj7dJRSMnd8BX+5TIMOKW1z8C2thqQ57lQ97no93E+/OGsS9QxoWO1rGS2R7/I49b o8XTK+KUWyrH1BoJzOOHPc3JkPF2hQM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-79-zKRNp85SOqSB19QETQFpVg-1; Mon, 06 Apr 2020 09:16:06 -0400 X-MC-Unique: zKRNp85SOqSB19QETQFpVg-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E05768017F4; Mon, 6 Apr 2020 13:16:03 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-113-60.ams2.redhat.com [10.36.113.60]) by smtp.corp.redhat.com (Postfix) with ESMTP id 77BB79D352; Mon, 6 Apr 2020 13:16:03 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 653C716E2C; Mon, 6 Apr 2020 15:16:02 +0200 (CEST) Date: Mon, 6 Apr 2020 15:16:02 +0200 From: Gerd Hoffmann To: Daniel Vetter Cc: Dmitry Vyukov , syzbot , David Airlie , DRI , "open list:VIRTIO CORE, NET..." , LKML , syzkaller-bugs Subject: Re: upstream boot error: KASAN: slab-out-of-bounds Write in virtio_gpu_object_create Message-ID: <20200406131602.ggugjwkm36r4zvkr@sirius.home.kraxel.org> References: <00000000000091056b05a2999f1e@google.com> <20200406080612.v5ubxvyliuso6v5h@sirius.home.kraxel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, > > > +drivers/gpu/drm/virtio/virtgpu_object.c maintainers > > > Now we have both mainline and linux-next boot broken (linux-next is > > > broken for the past 40 days). > > > No testing of new code happens. > > > > > > > virtio_gpu_object_shmem_init drivers/gpu/drm/virtio/virtgpu_object.c:151 [inline] > > > > virtio_gpu_object_create+0x9f3/0xaa0 drivers/gpu/drm/virtio/virtgpu_object.c:230 > > > > Ah, that one. > > > > broken patch: f651c8b05542 ("drm/virtio: factor out the sg_table from virtio_gpu_object") > > fixed by: 0666a8d7f6a4 ("drm/virtio: fix OOB in virtio_gpu_object_create") > > > > Both are in drm-misc-next. I suspect the fix was added after > > drm-misc-next was closed for the 5.7 merge window and thus should > > have been submitted to drm-misc-next-fixes instead. > > > > So, what to do now? Should I cherry-pick 0666a8d7f6a4 into > > drm-misc-next-fixes? Or should it go into drm-misc-fixes instead? > > Yup cherry-pick it over, with -x, to drm-misc-next-fixes. > -Daniel Done. So the next linux-next build should be green again. mainline should get the fix with the next drm pull (may take a few days). take care, Gerd