Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1573191rdb; Mon, 2 Oct 2023 14:03:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE/pNjdV9IEgDDuC83S8e3G682MAosC13z+eqRYCWwfV/zHV724KNT5y3Qi36S6j4sCl1my X-Received: by 2002:a05:6a20:8410:b0:154:6480:83b4 with SMTP id c16-20020a056a20841000b00154648083b4mr13110298pzd.14.1696280597900; Mon, 02 Oct 2023 14:03:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696280597; cv=none; d=google.com; s=arc-20160816; b=PPQxAAdyisUlLToggS51iaT8pFQzPndv39hm1780juTvqgH16bSa7m5iuAhXg43sFK VwvZvBdiFZKwEEcCPaqoTszZ5EYomGMgF2MJ5d+SU/Hf5CL0xGJn1UFqGCVxCBVGylJB NBiA+IdQX72fCr60WIoCzlFk59Vdi7e8eO3xfA616WgAj10OTi/PMHoZnJODQCLR89P3 R/RIyu0GsdY9tXYNMXTNGi90AwQPQn49xx8Vd/K5/wtNQm9u9x1xO46epU/Reg7GHxPR akC9Js6U3xYrBm8BaRGSdiySk+jtIBTSklizgVgUGF2WmOmKFokwSXNsErPPnawj080l xJlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=xn7mU0O8AywxfzFuGVmvml/wEV+n9HbyxBG52KH4Jls=; fh=Urzji3SHkWoi7omiei8v1WllvGaWwJQ0x1x7penWhYs=; b=0Fj4z5hPbTuXEMIubSR5cyQIT6poN+qIx9UUowRINC3Wi8cQBiSg0giGG65EvCTbZY ZK4+6pDfw5FprRgzpofzUSR8ILTQGVFqVdHptZaNlWkGtRlcxh4rws1TQAXPAX0QpNbV UkHUwrDcxRpm+blEtLeUz7YkhjEIcP5TEdcAWmE+DmJ0JMYckgOCD0q/hNnm3+ewu5wc fZCqFVlVS0Sy1l9JMrKz+13HrjpQbl6wLQrehvGx+xRAYbiB5dblSQ6QYmHrMOQoKQtd NAZNr54dZbnMSDx2GEg8H+cK8Ea4f4Nh1pGk2fKjwB4nfmaDWpXFREFm+ret8i0e+rrj n/kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=OK5OobfE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id e26-20020a63545a000000b0057828b85ae6si28143842pgm.281.2023.10.02.14.03.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 14:03:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=OK5OobfE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id D1CF280E6590; Mon, 2 Oct 2023 07:33:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237777AbjJBOc5 (ORCPT + 99 others); Mon, 2 Oct 2023 10:32:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237774AbjJBOc4 (ORCPT ); Mon, 2 Oct 2023 10:32:56 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23889B4; Mon, 2 Oct 2023 07:32:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=xn7mU0O8AywxfzFuGVmvml/wEV+n9HbyxBG52KH4Jls=; b=OK5OobfEO9IkO7vYm+2tBaPoOQ I3+u7tkrIuhJWRf+G8nxoJ5B7rAN4dKUKvYQVJJAEIyMYOvRJ/VDsOepxi2ABVPnTQTJ+ZW943QGT ArjBQExuTUJAaEuGIyz1s6DZOcLy4oiEwWa18YXy7W5F13d/y/4jF78IbBrpbbvg0LUHxuxV4w7fF VtGCf1eQ1ilduhoKehjj/YtBJhcUJe5PG+mQ/nx9VINhzJ22B50vJ5Dtuitd9TTquUV5x0i8AlZ1f wxqRgsbtAzZvuaBJjnY8r5zVF/yYW47Re9Ody/bBDl5qwYEfcQ4Dj2uJkLWfgXdWgyLAUfeNMHzSQ buUqbQ9w==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1qnJyX-009YFL-Pv; Mon, 02 Oct 2023 14:32:45 +0000 Date: Mon, 2 Oct 2023 15:32:45 +0100 From: Matthew Wilcox To: Oleksandr Natalenko Cc: linux-kernel@vger.kernel.org, Bagas Sanjaya , linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Sumit Semwal , Christian =?iso-8859-1?Q?K=F6nig?= , Linux Regressions , Andrew Morton , linux-mm@kvack.org Subject: Re: [REGRESSION] BUG: KFENCE: memory corruption in drm_gem_put_pages+0x186/0x250 Message-ID: References: <13360591.uLZWGnKmhe@natalenko.name> <2701570.mvXUDI8C0e@natalenko.name> <2300189.ElGaqSPkdT@natalenko.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2300189.ElGaqSPkdT@natalenko.name> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 02 Oct 2023 07:33:06 -0700 (PDT) On Mon, Oct 02, 2023 at 01:02:52PM +0200, Oleksandr Natalenko wrote: > > > > > BUG: KFENCE: memory corruption in drm_gem_put_pages+0x186/0x250 > > > > > > > > > > Corrupted memory at 0x00000000e173a294 [ ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ] (in kfence-#108): > > > > > drm_gem_put_pages+0x186/0x250 > > > > > drm_gem_shmem_put_pages_locked+0x43/0xc0 > > > > > drm_gem_shmem_object_vunmap+0x83/0xe0 > > > > > drm_gem_vunmap_unlocked+0x46/0xb0 > > > > > drm_fbdev_generic_helper_fb_dirty+0x1dc/0x310 > > > > > drm_fb_helper_damage_work+0x96/0x170 > > Matthew, before I start dancing around, do you think ^^ could have the same cause as 0b62af28f249b9c4036a05acfb053058dc02e2e2 which got fixed by 863a8eb3f27098b42772f668e3977ff4cae10b04? Yes, entirely plausible. I think you have two useful points to look at before delving into a full bisect -- 863a8e and the parent of 0b62af. If either of them work, I think you have no more work to do.