All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Gao Xiang <hsiangkao@linux.alibaba.com>
Cc: brauner@kernel.org, jack@suse.cz, huyue2@coolpad.com,
	linux-erofs@lists.ozlabs.org
Subject: Re: [PATCH v6.6] erofs: fix NULL dereference of dif->bdev_handle in fscache mode
Date: Tue, 2 Jul 2024 10:46:52 +0200	[thread overview]
Message-ID: <2024070245-bleach-fountain-2018@gregkh> (raw)
In-Reply-To: <62f71edc-b89d-4d5c-b51b-4eefb838d7fb@linux.alibaba.com>

On Thu, Jun 27, 2024 at 10:03:38PM +0800, Gao Xiang wrote:
> 
> 
> On 2024/6/27 21:22, Greg KH wrote:
> > On Thu, Jun 27, 2024 at 08:51:37PM +0800, Gao Xiang wrote:
> > > 
> > > 
> > > On 2024/6/27 20:36, Gao Xiang wrote:
> > > > Hi Greg,
> > > > 
> > > > On 2024/6/27 19:16, Greg KH wrote:
> > > 
> > > ...
> > > 
> > > > > 
> > > > > So what specifically should we do here?
> > > > 
> > > > Thanks for the reply..  Honestly I'd like to revert
> > > > 
> > > > block: Provide bdev_open_* functions
> > > > erofs: Convert to use bdev_open_by_path()
> > > > erofs: fix handling kern_mount() failure
> > > > 
> > > > Not quite sure if they can be cleanly reverted, but
> > > > since the upstream doen't have 'bdev_handle' anymore,
> > > > I will resend a proper backport for
> > > > "erofs: fix handling kern_mount() failure".
> > > 
> > > Sigh, I just tried and it seems it causes more
> > > conflicts due to my revert.  It seems another churn..
> > > 
> > > Anyway, on 6.6 LTS only the erofs one uses the
> > > obsolete `struct bdev_handle`, but I think at least
> > > it doesn't cause some serious issue.
> > > 
> > > Hi Greg,
> > > 
> > > Could you just pick up Hongbo's backport to resolve
> > > the NULL dereference issue?
> > 
> > Sure, is that the one earlier in this thread?
> 
> Yeah.
> 
> > 
> > And if so, what is the git commit id of it in Linus's tree?
> 
> commit 8bd90b6ae7856dd5000b75691d905b39b9ea5d6b upstream.

Now queued up, thanks.

greg k-h

  reply	other threads:[~2024-07-02  8:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-27  9:13 [PATCH v6.6] erofs: fix NULL dereference of dif->bdev_handle in fscache mode Hongbo Li via Linux-erofs
2024-06-27  9:11 ` Hongbo Li via Linux-erofs
2024-06-27  9:35   ` Gao Xiang
2024-06-27  9:50     ` Gao Xiang
2024-06-27 11:16       ` Greg KH
2024-06-27 12:36         ` Gao Xiang
2024-06-27 12:51           ` Gao Xiang
2024-06-27 13:22             ` Greg KH
2024-06-27 14:03               ` Gao Xiang
2024-07-02  8:46                 ` Greg KH [this message]
2024-07-02 11:21                   ` Gao Xiang

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=2024070245-bleach-fountain-2018@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=brauner@kernel.org \
    --cc=hsiangkao@linux.alibaba.com \
    --cc=huyue2@coolpad.com \
    --cc=jack@suse.cz \
    --cc=linux-erofs@lists.ozlabs.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.