lkml.org 
[lkml]   [2020]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] mm: Two small fixes for recent syzbot reports
Date
The two patches should fix below syzbot reports:

BUG: unable to handle kernel paging request in kernel_get_mempolicy
https://lore.kernel.org/lkml/0000000000002b25f105a2a3434d@google.com/

WARNING: bad unlock balance in __get_user_pages_remote
https://lore.kernel.org/lkml/00000000000005c65d05a2b90e70@google.com/

Note that the 1st patch also applied two extra small changes comparing
to when posted on the list in that: (1) it squashed an "interupt"
spelling error that Andrew has pointed out when picked up, and (2) it
also initializes the "page" pointer to NULL. But I'm fairly confident
it shouldn't affect the correctness of the patch.

The 2nd patch is exactly the patch posted previously.

Thanks,

Peter Xu (2):
mm/mempolicy: Allow lookup_node() to handle fatal signal
mm/gup: Mark lock taken only after a successful retake

mm/gup.c | 2 +-
mm/mempolicy.c | 7 +++++--
2 files changed, 6 insertions(+), 3 deletions(-)

--
2.24.1

\
 
 \ /
  Last update: 2020-04-08 03:40    [W:1.404 / U:0.740 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site