[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181012104024.7kzqyyhcjrnwljtd@pathway.suse.cz>
Date: Fri, 12 Oct 2018 12:40:24 +0200
From: Petr Mladek <pmladek@...e.com>
To: Geert Uytterhoeven <geert+renesas@...der.be>
Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
"Tobin C . Harding" <me@...in.cc>,
Andrew Morton <akpm@...ux-foundation.org>,
Jonathan Corbet <corbet@....net>, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 3/3] lib/vsprintf: Hash printed address for netdev
bits fallback
On Thu 2018-10-11 10:42:49, Geert Uytterhoeven wrote:
> The handler for "%pN" falls back to printing the raw pointer value when
> using a different format than the (sole supported) special format
> "%pNF", potentially leaking sensitive information regarding the kernel
> layout in memory.
>
> Avoid this leak by printing the hashed address instead.
> Note that there are no in-tree users of the fallback.
>
> Fixes: ad67b74d2469d9b8 ("printk: hash addresses printed with %p")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
> Reviewed-by: Petr Mladek <pmladek@...e.com>
I have pushed this patch into printk.git,
branch for-4.20-vsprintf-hash-fixes.
Best Regards,
Petr
Powered by blists - more mailing lists