)]}' { "commit": "be739f4b5ddece74ef25e2304b17a7fd24575e9b", "tree": "2e0f2e78107f54781f4e278bdbbd5df0a14760bc", "parents": [ "d0cd64b02aa854d68ce517cb7da1fe4e4fff2653" ], "author": { "name": "Kirill A. Shutemov", "email": "kirill.shutemov@linux.intel.com", "time": "Tue Nov 07 13:38:04 2017 +0300" }, "committer": { "name": "Thomas Gleixner", "email": "tglx@linutronix.de", "time": "Thu Nov 09 18:20:20 2017 +0100" }, "message": "x86/mm: Fix ELF_ET_DYN_BASE for 5-level paging\n\nOn machines with 5-level paging we don\u0027t want to allocate mapping above\n47-bit unless user explicitly asked for it. See b569bab78d8d (\"x86/mm:\nPrepare to expose larger address space to userspace\") for details.\n\nc715b72c1ba4 (\"mm: revert x86_64 and arm64 ELF_ET_DYN_BASE base\nchanges\") broke the behaviour. After the commit elf binary and heap got\nmapped above 47-bits.\n\nUse DEFAULT_MAP_WINDOW instead of TASK_SIZE to determine ELF_ET_DYN_BASE so\nit\u0027s forced to be below 47-bits unconditionally.\n\nFixes: c715b72c1ba4 (\"mm: revert x86_64 and arm64 ELF_ET_DYN_BASE base changes\")\nSigned-off-by: Kirill A. Shutemov \u003ckirill.shutemov@linux.intel.com\u003e\nSigned-off-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nAcked-by: Michal Hocko \u003cmhocko@suse.com\u003e\nCc: Kees Cook \u003ckeescook@chromium.org\u003e\nCc: Nicholas Piggin \u003cnpiggin@gmail.com\u003e\nCc: linux-mm@kvack.org\nCc: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nLink: https://lkml.kernel.org/r/20171107103804.47341-1-kirill.shutemov@linux.intel.com\n\n", "tree_diff": [ { "type": "modify", "old_id": "c1a125e47ff3d08c9078ceda13c188404f965f96", "old_mode": 33188, "old_path": "arch/x86/include/asm/elf.h", "new_id": "3a091cea36c5a118d953fd25c897989270c6f0e4", "new_mode": 33188, "new_path": "arch/x86/include/asm/elf.h" } ] }