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 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D7076D3941D for ; Thu, 2 Apr 2026 12:12:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 38FC010EC13; Thu, 2 Apr 2026 12:12:22 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="z+hnucde"; dkim-atps=neutral Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 852AF10EC13 for ; Thu, 2 Apr 2026 12:12:20 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 3206740182; Thu, 2 Apr 2026 12:12:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8F24C19423; Thu, 2 Apr 2026 12:12:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1775131940; bh=mI9VFZsuhgPGi6KsENAPjVx/BbS778vsmGw3e5R4AeA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=z+hnucdeXxE0kPbk7CkEzSWGZNnUgpSEM55vmH1f+nisBxT7FED/yUwORM2f2uofU R8On16u+jJ0q3ogDwfU2wM1Y6qfhGLX+SbS/EALV3IvFXR3sWhr9d/oYeH+MGM3TPd /sFC3svWk+oPrg7/lEgZfjr/uaDg5CTTuJuUhi4I= Date: Thu, 2 Apr 2026 14:12:17 +0200 From: Greg KH To: Thorsten Leemhuis Cc: Matt Fagnani , dri-devel@lists.freedesktop.org, stable@vger.kernel.org, "regressions@lists.linux.dev" Subject: Re: Warnings and errors in drm_mode_config_cleanup when booting 6.19.10 and 7.0-rc5 Message-ID: <2026040259-glacial-reversal-9a75@gregkh> References: <9652ce0b-bb4c-489d-9e32-89c5af5c8101@leemhuis.info> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9652ce0b-bb4c-489d-9e32-89c5af5c8101@leemhuis.info> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Sat, Mar 28, 2026 at 11:52:48AM +0100, Thorsten Leemhuis wrote: > Matt, thx for the report. > > On 3/28/26 11:30, Matt Fagnani wrote: > > I could try to bisect. The commit > > e493c135980f90c20308d1a98f2e0d1223951e94 drm: Fix use-after-free on > > framebuffers and property blobs when calling drm_dev_unplug was included > > in 6.19.10 and changed drm_mode_config_cleanup https://git.kernel.org/ > > pub/scm/linux/kernel/git/stable/linux.git/commit/? > > h=linux-6.19.y&id=e493c135980f90c20308d1a98f2e0d1223951e94 > > Did a quick search. Turns out this is mainline commit 6bee098b914176 > ("drm: Fix use-after-free on framebuffers and property blobs when > calling drm_dev_unplug") -- and when searching for that (FWIW, this is > not widely known, but that is really helpful in case like this, as the > mainline commit id is way more relevant) is turns out that is in the > process of getting reverted: > > See https://lore.kernel.org/all/20260326082217.39941-2-dev@lankhorst.se/ > or 45ebe43ea00d6b ("Revert "drm: Fix use-after-free on framebuffers and > property blobs when calling drm_dev_unplug"") [next-20260327 > (pending-fixes)]. > > Sasha and Greg: you might want to make sure to pick this up. When it shows up in a Linus-released kernel, can someone remind us? thanks, greg k-h