mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michal Hocko <mhocko@kernel.org>
To: Ajay Kaher <akaher@vmware.com>
Cc: Greg KH <gregkh@linuxfoundation.org>,
	"Stable tree ," <stable@vger.kernel.org>,
	"Jason Gunthorpe ," <jgg@mellanox.com>,
	"linux-mm@kvack.org, LKML ," <linux-kernel@vger.kernel.org>,
	"Andrea Arcangeli ," <aarcange@redhat.com>,
	"Jann Horn ," <jannh@google.com>,
	"Oleg Nesterov ," <oleg@redhat.com>,
	"Peter Xu ," <peterx@redhat.com>,
	"Mike Rapoport ," <rppt@linux.ibm.com>,
	"Andrew Morton ," <akpm@linux-foundation.org>,
	"Linus Torvalds ," <torvalds@linux-foundation.org>,
	Joel Fernandes <joel@joelfernandes.org>
Subject: Re: [PATCH stable-4.4 v3] coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping
Date: Sat, 22 Jun 2019 18:27:10 +0200	[thread overview]
Message-ID: <20190622162710.GA15805@dhcp22.suse.cz> (raw)
In-Reply-To: <66C05D07-4075-400D-832C-C82120C93922@vmware.com>

On Sat 22-06-19 06:30:37, Ajay Kaher wrote:
> 
> > On Mon, Jun 17, 2019 at 08:58:24AM +0200, Michal Hocko wrote:
> > > From: Andrea Arcangeli <aarcange@redhat.com>
> > > 
> > > Upstream 04f5866e41fb70690e28397487d8bd8eea7d712a commit.
> > > 
> > > Signed-off-by: Michal Hocko <mhocko@suse.com>
> > > ---
> > >  drivers/android/binder.c          |  6 ++++++
> > >  drivers/infiniband/hw/mlx4/main.c |  3 +++
> > >  fs/proc/task_mmu.c                | 18 ++++++++++++++++++
> > >  fs/userfaultfd.c                  | 10 ++++++++--
> > >  include/linux/mm.h                | 21 +++++++++++++++++++++
> > >  mm/mmap.c                         |  7 ++++++-
> > >  6 files changed, 62 insertions(+), 3 deletions(-)
> >
> > I've queued this up now, as it looks like everyone agrees with it.  What
> > about a 4.9.y backport?
> 
> Greg, it's here please review.
> https://lore.kernel.org/stable/1561208539-29682-1-git-send-email-akaher@vmware.com/T/#m53eaf6e687cb27e46395173aa74a85c2ccb5c190
> 
> Michal, patched for binder code Thanks, would you like to suggest 
> if mmget_still_valid check require anywhere for khugepaged code.

khugepaged patch has gone its own way. See 59ea6d06cfa9 ("coredump: fix
race condition between collapse_huge_page() and core dumping")
-- 
Michal Hocko
SUSE Labs

  reply	other threads:[~2019-06-22 16:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-22  6:30 Ajay Kaher
2019-06-22 16:27 ` Michal Hocko [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-06-10  7:46 [PATCH stable 4.4 v2] " Michal Hocko
2019-06-17  6:58 ` [PATCH stable-4.4 v3] " Michal Hocko
2019-06-20 14:29   ` Greg KH

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=20190622162710.GA15805@dhcp22.suse.cz \
    --to=mhocko@kernel.org \
    --cc=aarcange@redhat.com \
    --cc=akaher@vmware.com \
    --cc=akpm@linux-foundation.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jannh@google.com \
    --cc=jgg@mellanox.com \
    --cc=joel@joelfernandes.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oleg@redhat.com \
    --cc=peterx@redhat.com \
    --cc=rppt@linux.ibm.com \
    --cc=stable@vger.kernel.org \
    --cc=torvalds@linux-foundation.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

all inboxes | Powered by JetHome®