Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org, Sasha Levin <sashal@kernel.org>
Subject: Re: [PATCH][for-4.14] fbdev: imsttfb: Fix use after free bug in imsttfb_probe
Date: Thu, 29 Jun 2023 17:29:03 +0200	[thread overview]
Message-ID: <2023062948-deface-banker-462d@gregkh> (raw)
In-Reply-To: <ZJ2ZFfH6qos5MFjm@p100>

On Thu, Jun 29, 2023 at 04:45:41PM +0200, Helge Deller wrote:
> Hi Greg,
> 
> below is the manual backport of an upstream patch to fix the build failure
> in kernel v4.14 in imsttfb.c.
> 
> It's not sufficient to just return from init_imstt() as the kernel then
> may crash later when it tries to access the non-existent framebuffer or
> cmap. Instead return failure to imsttfb_probe() so that the kernel
> will skip using that hardware/driver.
> 
> Can you please apply this patch to the v4.14 stable queue?

Now queued up, thanks!

greg k-h

      reply	other threads:[~2023-06-29 15:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-29 14:45 [PATCH][for-4.14] fbdev: imsttfb: Fix use after free bug in imsttfb_probe Helge Deller
2023-06-29 15:29 ` Greg Kroah-Hartman [this message]

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=2023062948-deface-banker-462d@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=deller@gmx.de \
    --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