Re: Re:[PATCH 7.0] fbdev: fbcon: fix memory leak in error path of fbcon_do_set_font()

From: Greg KH

Date: Mon Jul 27 2026 - 03:17:46 EST


On Mon, Jul 27, 2026 at 03:00:34PM +0800, w15303746062 wrote:
>
> From: Mingyu Wang <25181214217@xxxxxxxxxxxxxxxxx>
>
> Hi Helge, Simona, and all,
>
> Resending this patch as a gentle reminder, since it has been a while
> from the original submission (May 25) and my previous ping (June 5).
>
> As a quick note, since this memory leak was implicitly resolved in
> mainline via a recent refactor, this fix is specifically targeted at
> 7.0 and older stable branches using the legacy userfont logic.

Why not just take the same upstream commits for older kernels as well?

Whenever you do "one off" patches like this, it makes backporting future
changes/fixes almost impossible, and we almost always get it wrong. So
backporting the same changes is almost always the best idea.

Also note that the 7.0.y kernel is long end-of-life.

thanks,

greg k-h