[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <159021968859.17951.9516200260774594729.tip-bot2@tip-bot2>
Date: Sat, 23 May 2020 07:41:28 -0000
From: "tip-bot2 for Arvind Sankar" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Arvind Sankar <nivedita@...m.mit.edu>,
Borislav Petkov <bp@...e.de>,
Kees Cook <keescook@...omium.org>,
Dave Hansen <dave.hansen@...el.com>, x86 <x86@...nel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: [tip: x86/cleanups] x86/mm: Stop printing BRK addresses
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: 67d631b7c05eff955ccff4139327f0f92a5117e5
Gitweb: https://git.kernel.org/tip/67d631b7c05eff955ccff4139327f0f92a5117e5
Author: Arvind Sankar <nivedita@...m.mit.edu>
AuthorDate: Sat, 29 Feb 2020 18:11:20 -05:00
Committer: Borislav Petkov <bp@...e.de>
CommitterDate: Sat, 23 May 2020 09:34:18 +02:00
x86/mm: Stop printing BRK addresses
This currently leaks kernel physical addresses into userspace.
Signed-off-by: Arvind Sankar <nivedita@...m.mit.edu>
Signed-off-by: Borislav Petkov <bp@...e.de>
Acked-by: Kees Cook <keescook@...omium.org>
Acked-by: Dave Hansen <dave.hansen@...el.com>
Link: https://lkml.kernel.org/r/20200229231120.1147527-1-nivedita@alum.mit.edu
---
arch/x86/mm/init.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c
index 1bba16c..a573a3e 100644
--- a/arch/x86/mm/init.c
+++ b/arch/x86/mm/init.c
@@ -121,8 +121,6 @@ __ref void *alloc_low_pages(unsigned int num)
} else {
pfn = pgt_buf_end;
pgt_buf_end += num;
- printk(KERN_DEBUG "BRK [%#010lx, %#010lx] PGTABLE\n",
- pfn << PAGE_SHIFT, (pgt_buf_end << PAGE_SHIFT) - 1);
}
for (i = 0; i < num; i++) {
Powered by blists - more mailing lists