Re: [PATCH] kexec: Bail out upon SIGKILL when allocating memory.

2019-07-23 Thread Tetsuo Handa
On 2019/07/24 11:54, Eric Biggers wrote: > > What happened to this patch? This bug is still occurring. Andrew Morton added this patch to the -mm tree. Should appear in the linux-next tree in a few days. https://marc.info/?l=linux-mm-commits=156391134729795=2

Re: [PATCH] kexec: Bail out upon SIGKILL when allocating memory.

2019-07-23 Thread Eric Biggers
On Fri, Jun 14, 2019 at 07:16:18PM +0900, Tetsuo Handa wrote: > syzbot found that a thread can stall for minutes inside kexec_load() after > that thread was killed by SIGKILL [1]. It turned out that the reproducer > was trying to allocate 2408MB of memory using kimage_alloc_page() from >

Re: [PATCH] kexec: Bail out upon SIGKILL when allocating memory.

2019-07-01 Thread Tetsuo Handa
Andrew, can you pick up this patch? We might miss next merge window, for Eric Biederman seems to be offline for two weeks. On 2019/06/14 19:16, Tetsuo Handa wrote: > syzbot found that a thread can stall for minutes inside kexec_load() after > that thread was killed by SIGKILL [1]. It turned out

[PATCH] kexec: Bail out upon SIGKILL when allocating memory.

2019-06-14 Thread Tetsuo Handa
syzbot found that a thread can stall for minutes inside kexec_load() after that thread was killed by SIGKILL [1]. It turned out that the reproducer was trying to allocate 2408MB of memory using kimage_alloc_page() from kimage_load_normal_segment(). Let's check for SIGKILL before doing memory