All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Matt Fagnani <matt.fagnani@bell.net>
Cc: Thorsten Leemhuis <regressions@leemhuis.info>,
	dri-devel@lists.freedesktop.org, stable@vger.kernel.org,
	"regressions@lists.linux.dev" <regressions@lists.linux.dev>
Subject: Re: Warnings and errors in drm_mode_config_cleanup when booting 6.19.10 and 7.0-rc5
Date: Mon, 6 Apr 2026 10:17:29 +0200	[thread overview]
Message-ID: <2026040609-script-perpetual-16bb@gregkh> (raw)
In-Reply-To: <35ed8f9a-66c2-40c3-a545-da4af629014f@bell.net>

On Mon, Apr 06, 2026 at 03:54:39AM -0400, Matt Fagnani wrote:
> On 2026-04-02 08:12, Greg KH wrote:
> > 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
> 
> 7.0-rc7 https://lwn.net/Articles/1066405/ had the patch Revert "drm: Fix
> use-after-free on framebuffers and property blobs when calling
> drm_dev_unplug" https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v7.0-rc7&id=45ebe43ea00d6b9f5b3e0db9c35b8ca2a96b7e70 Thanks.

Does not apply on 6.6.y or 6.1.y, so can someone provide a working
backport for those branches?

thanks,

greg k-h

  reply	other threads:[~2026-04-06  8:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-28 10:30 Warnings and errors in drm_mode_config_cleanup when booting 6.19.10 and 7.0-rc5 Matt Fagnani
2026-03-28 10:52 ` Thorsten Leemhuis
2026-04-02 12:12   ` Greg KH
2026-04-06  7:54     ` Matt Fagnani
2026-04-06  8:17       ` Greg KH [this message]
2026-04-13  7:58         ` Thorsten Leemhuis
2026-04-13  8:03           ` [PATCH 6.6.y] Revert "drm: Fix use-after-free on framebuffers and property blobs when calling drm_dev_unplug" Thorsten Leemhuis
2026-04-13 11:55             ` Patch "Revert "drm: Fix use-after-free on framebuffers and property blobs when calling drm_dev_unplug"" has been added to the 6.6-stable tree gregkh
2026-04-13 11:55               ` gregkh
2026-04-13  8:05           ` [PATCH 6.1.y] Revert "drm: Fix use-after-free on framebuffers and property blobs when calling drm_dev_unplug" Thorsten Leemhuis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2026040609-script-perpetual-16bb@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=matt.fagnani@bell.net \
    --cc=regressions@leemhuis.info \
    --cc=regressions@lists.linux.dev \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.