diff options
| author | Rich Felker <[email protected]> | 2015-08-20 19:11:06 +0000 |
|---|---|---|
| committer | Greg Ungerer <[email protected]> | 2015-10-25 23:02:32 +0000 |
| commit | 4ac313111018cb44ecc250445de5ccb93026a980 (patch) | |
| tree | 6502ee373ecfe22c40afaf79d19122788796a562 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | Linux 4.3-rc7 (diff) | |
| download | kernel-4ac313111018cb44ecc250445de5ccb93026a980.tar.gz kernel-4ac313111018cb44ecc250445de5ccb93026a980.zip | |
fs/binfmt_elf_fdpic.c: fix brk area overlap with stack on NOMMU
On NOMMU archs, the FDPIC ELF loader sets up the usable brk range to
overlap with all but the last PAGE_SIZE bytes of the stack. This leads
to catastrophic memory reuse/corruption if brk is used. Fix by setting
the brk area to zero size to disable its use.
Signed-off-by: Rich Felker <[email protected]>
Acked-by: David Howells <[email protected]>
Signed-off-by: Greg Ungerer <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
