From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:39852 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751049AbeBJHXl (ORCPT ); Sat, 10 Feb 2018 02:23:41 -0500 Date: Sat, 10 Feb 2018 08:23:40 +0100 From: Greg Kroah-Hartman To: Kees Cook Cc: LKML , "# 3.4.x" , Borislav Petkov , Thomas Gleixner , Rik van Riel , Andi Kleen , Peter Zijlstra , David Woodhouse , Jiri Kosina , Andy Lutomirski , Dave Hansen , Linus Torvalds , Josh Poimboeuf , Tim Chen , Paul Turner , David Woodhouse Subject: Re: [PATCH 4.9 46/92] x86/alternative: Print unadorned pointers Message-ID: <20180210072340.GC8814@kroah.com> References: <20180209133931.211869118@linuxfoundation.org> <20180209133934.472824776@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: stable-owner@vger.kernel.org List-ID: On Fri, Feb 09, 2018 at 02:01:32PM -0800, Kees Cook wrote: > On Fri, Feb 9, 2018 at 5:39 AM, Greg Kroah-Hartman > wrote: > > 4.9-stable review patch. If anyone has any objections, please let me know. > > > > ------------------ > > > > From: Borislav Petkov > > > > (cherry picked from commit 0e6c16c652cadaffd25a6bb326ec10da5bcec6b4) > > > > After commit ad67b74d2469 ("printk: hash addresses printed with %p") > > pointers are being hashed when printed. However, this makes the alternative > > debug output completely useless. Switch to %px in order to see the > > unadorned kernel pointers. > > This missed a "Fixes:" tag so probably missed automated checking on > how far back to port this. It shouldn't go back beyond 4.15 (where > ad67b74d2469 first appeared). Good point. Should we instead be using %pK for this change instead? Or should we just backport commit ad67b74d2469 to 4.14? :) Thanks for letting me know this. greg k-h