Re: [PATCH linux-next] Prevent a coredump with a large vm_map_count from Oopsing

2013-08-31 Thread Martin MOKREJŠ
Dan Aloni wrote: > On Sat, Aug 31, 2013 at 03:38:33PM +0200, Martin MOKREJŠ wrote: >> Hi Dan, >> thank you for your work on my issue. I would like to test it on 3.10.9 >> where >> I faced the problem initially. > > Sure, see the attached patch for 3.10.9. Thanks, it works for my case. You can

Re: [PATCH linux-next] Prevent a coredump with a large vm_map_count from Oopsing

2013-08-31 Thread Dan Aloni
On Sat, Aug 31, 2013 at 03:38:33PM +0200, Martin MOKREJŠ wrote: > Hi Dan, > thank you for your work on my issue. I would like to test it on 3.10.9 where > I faced the problem initially. Sure, see the attached patch for 3.10.9. -- Dan Aloni >From e323d3b4fdc1e61c3c39dfb3733d8b8c56f63b00 Mon

Re: [PATCH linux-next] Prevent a coredump with a large vm_map_count from Oopsing

2013-08-31 Thread Martin MOKREJŠ
Hi Dan, thank you for your work on my issue. I would like to test it on 3.10.9 where I faced the problem initially. linux-3.10.9 # patch -p1 < ../patches/vm_map_count.patch patching file fs/binfmt_elf.c Hunk #1 succeeded at 1415 (offset -14 lines). Hunk #2 succeeded at 1430 (offset -14 lines).

[PATCH linux-next] Prevent a coredump with a large vm_map_count from Oopsing

2013-08-31 Thread Dan Aloni
A high setting of max_map_count, and a process core-dumping with a large enough vm_map_count could result in an NT_FILE note not being written, and the kernel crashing immediately later because it has assumed otherwise. Reproduction of the bug described here:

[PATCH linux-next] Prevent a coredump with a large vm_map_count from Oopsing

2013-08-31 Thread Dan Aloni
A high setting of max_map_count, and a process core-dumping with a large enough vm_map_count could result in an NT_FILE note not being written, and the kernel crashing immediately later because it has assumed otherwise. Reproduction of the bug described here:

Re: [PATCH linux-next] Prevent a coredump with a large vm_map_count from Oopsing

2013-08-31 Thread Martin MOKREJŠ
Hi Dan, thank you for your work on my issue. I would like to test it on 3.10.9 where I faced the problem initially. linux-3.10.9 # patch -p1 ../patches/vm_map_count.patch patching file fs/binfmt_elf.c Hunk #1 succeeded at 1415 (offset -14 lines). Hunk #2 succeeded at 1430 (offset -14 lines).

Re: [PATCH linux-next] Prevent a coredump with a large vm_map_count from Oopsing

2013-08-31 Thread Dan Aloni
On Sat, Aug 31, 2013 at 03:38:33PM +0200, Martin MOKREJŠ wrote: Hi Dan, thank you for your work on my issue. I would like to test it on 3.10.9 where I faced the problem initially. Sure, see the attached patch for 3.10.9. -- Dan Aloni From e323d3b4fdc1e61c3c39dfb3733d8b8c56f63b00 Mon Sep 17

Re: [PATCH linux-next] Prevent a coredump with a large vm_map_count from Oopsing

2013-08-31 Thread Martin MOKREJŠ
Dan Aloni wrote: On Sat, Aug 31, 2013 at 03:38:33PM +0200, Martin MOKREJŠ wrote: Hi Dan, thank you for your work on my issue. I would like to test it on 3.10.9 where I faced the problem initially. Sure, see the attached patch for 3.10.9. Thanks, it works for my case. You can add my