lkml.org 
[lkml]   [2018]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] lib/vsprintf: Hash remaining raw addresses
Date
	Hi all,

There are still two format specifiers that print unhanced kernel
addresses, potentially leaking sensitive information regarding the
kernel layout in memory.

This patch series fixes this by printing hashed addresses instead.

Thanks!

Geert Uytterhoeven (3):
lib/vsprintf: Prepare for more general use of ptr_to_id()
lib/vsprintf: Hash legacy clock addresses
lib/vsprintf: Hash printed address for netdev bits fallback

Documentation/core-api/printk-formats.rst | 5 ++---
lib/vsprintf.c | 17 ++++++++++-------
2 files changed, 12 insertions(+), 10 deletions(-)

--
2.17.1

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

\
 
 \ /
  Last update: 2018-10-08 13:06    [W:0.121 / U:4.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site