Received: by 10.223.176.5 with SMTP id f5csp1550710wra; Fri, 9 Feb 2018 23:25:03 -0800 (PST) X-Google-Smtp-Source: AH8x227Rpea9J03BiJs6mT+nqUm7AlvPSooFZ6X7aKAPcEWJ3iZG7cGY6RMEGAqY0c9OA0MHyr8G X-Received: by 10.99.119.5 with SMTP id s5mr1063376pgc.71.1518247503140; Fri, 09 Feb 2018 23:25:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518247503; cv=none; d=google.com; s=arc-20160816; b=Cw6FRT1jLn52uyJkLiZNeFvckykF0a6zSid1enPDHmR2bE7L42R9NgnAsQhXzb3V5+ GFJ7I3AadGbWGAUgUy+oWZizP0grS3qr+alykeJ75fFE5qr1tdxl3lK9pUXCv+hCo7h1 7KqN3P2+QUEHwfvpeNLQ+6P5GuKgY/vpKY5j2hCF63nyCNTSoxOZ71G7jYe5iYg0mpy3 a/VYxz6+TC6apuvWOnStGBNvawwOpxTArfSxrAkZRnYb9pEV2WlNMKeLCT/xHX01f0IK umfbKODsY24fmZ6sXROm0TFt+TYPQGYz1cdmR89KRqL153+PMhVRTrXrO/g5V9tx+S7F Zv1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=xELPoGcGwgOcQAMVIgo8Xcd98OfC7f09Bihf5VGw2G8=; b=DJiZEVYkOnpZJDlY9T7XRrIqmL6Qp++bbTgzEoL/Jt3W9Gy604sZv4ImTDOQqbh6Hj KiqK5/0R5QDgV6bkVGrIFX4QD9PWRbDrirtTFs3L+yUfT4ivL04x6raphyoWqz5NBXDM 1L24ov1ghWkeU9snjAehgpxW5JnekSoEpH0V6nc0QrvJyvbn0rn9EmgmYK5GvlcROfB4 zGB12xMfkHSpWxizOcNBIKNGyaTI3Oa/+98tMRpaWKnGrZl91Jtl3iS3dKasbhV64PQx asW7xw7v1YfYTzfCTr84vuvLNK0MzGomPBMhi1vv05NDdvIsCfvc5WIGdesKgMsWG9Nx xCLg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k189si2419852pgc.505.2018.02.09.23.24.49; Fri, 09 Feb 2018 23:25:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751189AbeBJHXm (ORCPT + 99 others); Sat, 10 Feb 2018 02:23:42 -0500 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 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id BBF5210C0; Sat, 10 Feb 2018 07:23:40 +0000 (UTC) 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: User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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