lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <66C05D07-4075-400D-832C-C82120C93922@vmware.com>
Date:   Sat, 22 Jun 2019 06:30:37 +0000
From:   Ajay Kaher <akaher@...are.com>
To:     Greg KH <gregkh@...uxfoundation.org>,
        Michal Hocko <mhocko@...nel.org>
CC:     "Stable tree ," <stable@...r.kernel.org>,
        "Jason Gunthorpe ," <jgg@...lanox.com>,
        "linux-mm@...ck.org, LKML ," <linux-kernel@...r.kernel.org>,
        "Andrea Arcangeli ," <aarcange@...hat.com>,
        "Jann Horn ," <jannh@...gle.com>,
        "Oleg Nesterov ," <oleg@...hat.com>,
        "Peter Xu ," <peterx@...hat.com>,
        "Mike Rapoport ," <rppt@...ux.ibm.com>,
        "Michal Hocko ," <mhocko@...e.com>,
        "Andrew Morton ," <akpm@...ux-foundation.org>,
        "Linus Torvalds ," <torvalds@...ux-foundation.org>,
        Joel Fernandes <joel@...lfernandes.org>
Subject: Re: [PATCH stable-4.4 v3] coredump: fix race condition between
 mmget_not_zero()/get_task_mm() and core dumping


> On Mon, Jun 17, 2019 at 08:58:24AM +0200, Michal Hocko wrote:
> > From: Andrea Arcangeli <aarcange@...hat.com>
> > 
> > Upstream 04f5866e41fb70690e28397487d8bd8eea7d712a commit.
> > 
> > Signed-off-by: Michal Hocko <mhocko@...e.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.

> thanks,
> greg k-h


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ