From: Thorsten Leemhuis <regressions@leemhuis.info>
To: Greg KH <gregkh@linuxfoundation.org>,
Matt Fagnani <matt.fagnani@bell.net>
Cc: dri-devel@lists.freedesktop.org, stable@vger.kernel.org,
"regressions@lists.linux.dev" <regressions@lists.linux.dev>,
Sasha Levin <sashal@kernel.org>
Subject: Re: Warnings and errors in drm_mode_config_cleanup when booting 6.19.10 and 7.0-rc5
Date: Mon, 13 Apr 2026 09:58:53 +0200 [thread overview]
Message-ID: <9c667182-3a9e-4fa3-a568-1cb5b1b74106@leemhuis.info> (raw)
In-Reply-To: <2026040609-script-perpetual-16bb@gregkh>
[CCing Sasha]
On 4/6/26 10:17, Greg KH wrote:
> 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:
>>>> 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") [...] 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?
>> 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?
Hmm, those two got manual backports Sasha did, so he might be in the
best position to submit the reverts, too.
But to save you two a few cycles I just prepared those reverts and will
submit them in reply to this mail. Handle with care, as they are
untested. Not really sure if this was a wise idea at all. In case of
problems it might be the best if one of you could redo them from scratch
in case you have scripts to handle situations like these.
Ciao. Thorsten
next prev parent reply other threads:[~2026-04-13 7:59 UTC|newest]
Thread overview: 9+ 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
2026-04-13 7:58 ` Thorsten Leemhuis [this message]
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 8:38 ` Claude review: " Claude Code Review Bot
2026-04-13 8:05 ` [PATCH 6.1.y] " 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=9c667182-3a9e-4fa3-a568-1cb5b1b74106@leemhuis.info \
--to=regressions@leemhuis.info \
--cc=dri-devel@lists.freedesktop.org \
--cc=gregkh@linuxfoundation.org \
--cc=matt.fagnani@bell.net \
--cc=regressions@lists.linux.dev \
--cc=sashal@kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox