Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp2542296pxb; Sat, 2 Oct 2021 21:30:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqjGBhFL4h/C8TlIRu4BMS/0mbeU6UQ8JJ5ZaZ8i9XNxdPsdER5wMXD5I6UHspxFJs9TW4 X-Received: by 2002:a17:902:8647:b0:139:edc9:ed43 with SMTP id y7-20020a170902864700b00139edc9ed43mr17228169plt.23.1633235403554; Sat, 02 Oct 2021 21:30:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633235403; cv=none; d=google.com; s=arc-20160816; b=NZ2LDypOHdFzE/A/dqcT0/9ovJHarbGkeeHpHIKkefuhm+WQgkrTkHrM4ro7J0Gh2i lTynzJCm0Cyylnle9qdEPsdVI+xHyGtB0hT8fgRaWKqT2Z5beE8DKklWHQ1xwOZZTVnc XJZA/Bx0n2MTCS8R7LluZdjf2Vv+sfIpZEMdyDzsFqvd+sejXHGNCLDdwLvePb/U69gG c8+K4ZiWKRU6JConl4w+PyXgMkkC7hzW3tfq2rKhQM09wvfWvwkfscEH5WDCU+eZIV8i 79WN+8FMOFKqt49nMIF/YmDLShsBfTt+RFQnYNm1nxirxNJTF2wGWgm+JrT1s0gW7d/F f/Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=1L5tHCQQdpuCT6/CZ/6AGDrI5xMhzMjx8fQ7mjRChus=; b=F5XNijsth2AjCxJP7wdXxhP0XSWirvug4tMtu1oyQ07ivZT+eVtpweLQE/Qjx8KGPI gxS5QBCMNFoxKMAPR3hkxsQB190cA31+704yy//wNdwEqsIx3jl1d5jFhrWI34OZYfvS lq2cMjAtednl4NUNDcea1GdR6bOfzWgVh+dR7v7CMJFV9y9C7C52K2QlLN02KiI0NciJ 1m4i580IMxrHcPUVCkJHnR1kShqMEN4Ls4DMK3suyjuW/4cxfDBASdMd9+/bz9n33YeW MwDN6KzJILhanwIYo804QoZbK4RhAzpp3AYxOEZk0GKIcP2SyNJzSKvmyFHcouL9Auym 9Gcw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id np5si19644900pjb.129.2021.10.02.21.29.37; Sat, 02 Oct 2021 21:30:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229735AbhJCDt1 (ORCPT + 99 others); Sat, 2 Oct 2021 23:49:27 -0400 Received: from zeniv-ca.linux.org.uk ([142.44.231.140]:42012 "EHLO zeniv-ca.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbhJCDt0 (ORCPT ); Sat, 2 Oct 2021 23:49:26 -0400 Received: from viro by zeniv-ca.linux.org.uk with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mWsTQ-009XeT-HF; Sun, 03 Oct 2021 03:47:36 +0000 Date: Sun, 3 Oct 2021 03:47:36 +0000 From: Al Viro To: Guo Zhi Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fs/elf: Fix kernel pointer leak Message-ID: References: <20210929131703.1163417-1-qtxuning1999@sjtu.edu.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210929131703.1163417-1-qtxuning1999@sjtu.edu.cn> Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 29, 2021 at 09:17:02PM +0800, Guo Zhi wrote: > Pointers should be printed with %p rather than %px > which printed kernel pointer directly. > Change %px to %p to print the secured pointer. Huh? What makes it a kernel pointer? It's a userland address...