Re: [PATCH v2 1/1] [v4.9.y] coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri 07-06-19 03:11:14, Ajay Kaher wrote:
[...]
> [Ajay: Dropped infiniband changes to get patch to apply on 4.9.y]
> Signed-off-by: Ajay Kaher <akaher@xxxxxxxxxx>
> ---
>  fs/proc/task_mmu.c    | 18 ++++++++++++++++++
>  fs/userfaultfd.c      |  9 +++++++++
>  include/linux/sched.h | 21 +++++++++++++++++++++
>  mm/mmap.c             |  7 ++++++-
>  4 files changed, 54 insertions(+), 1 deletion(-)

Are you sure that the backport is complete? I do not see binder code to
be patched, nor khugepaged. Have you considered all places that take
the exclusive mmap_sem on a remote process mm? See my backport for 4.4
stable tree
http://lkml.kernel.org/r/20190604094953.26688-1-mhocko@xxxxxxxxxx
for reference. Also please note that my backport needs to be reviewed as
well.
-- 
Michal Hocko
SUSE Labs



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux