x86/mm: Stop printing BRK addresses
commitf04910fe67f8108bc77e5b06e669686b723ac560
authorArvind Sankar <nivedita@alum.mit.edu>
Sat, 29 Feb 2020 23:11:20 +0000 (29 18:11 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jun 2020 07:32:48 +0000 (22 09:32 +0200)
tree4cb76de035a11228508f906885dc3dad25cc2dd5
parent568651240b85443fd8c694d16a55ce5150a25d0d
x86/mm: Stop printing BRK addresses

[ Upstream commit 67d631b7c05eff955ccff4139327f0f92a5117e5 ]

This currently leaks kernel physical addresses into userspace.

Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Kees Cook <keescook@chromium.org>
Acked-by: Dave Hansen <dave.hansen@intel.com>
Link: https://lkml.kernel.org/r/20200229231120.1147527-1-nivedita@alum.mit.edu
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/mm/init.c