Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1248728pxb; Fri, 21 Jan 2022 13:19:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJxHeKxQsi1IQT/GdcW2zKy/Uzoj/7uHLNhrWwMxU9apzDk4Gp6FPQHERsxuTTk6L5UG1e2N X-Received: by 2002:a63:b407:: with SMTP id s7mr4211642pgf.202.1642799969178; Fri, 21 Jan 2022 13:19:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642799969; cv=none; d=google.com; s=arc-20160816; b=pSVi6EpUIhi8k3iGEl3hb/uszbeg+V9v+8jJ84TVDlQdDbneSNtx9cv5Lub8RnXtf5 Zu8gBW8yUtxyEWQ1REXhQAY3pBFyMMYDAVAV4DgJd5fVUoWAvF8xLMHbQgSPSY1Bh1N4 5hIxtgI01PS2D4xsWecGMu5eFBLsEENqdBjdy2d4JSx5UuRsORXVfu774g047Jo8t02s YXjKV50GSIVXryjRoWprNolN27XvDHpFXpKwthJU3ga8QnhFid1xlDlAPrNfb4LwZl8H Y5Z2fLolTAU/+er+FlgEIE9dM1bd0OGDWbHXJIvq0jjZw2FCV9B5D/tKhaK8BHbkHswI 8Y/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=d2rZy+vD9tCugRvlFx140ItT4J6UN01dujSgpcirR3c=; b=z0DVUTnUGxk1XPAx8/Em5LaGJ3XPqu+EcwWUezM25q9AGGXdK3Pz0lcVY6zm8rb3mj 1FNu4aMauJ2dt0QIVJKr8Tts1f6TpY9nJkW8mi44BvkLFayWNynKYlyYv68K8J8ZoSqm 0oOBdycL0Mh2xBwtFyapsxVmgaWkwuvX9IHxaMYLv0siQPCUKhhJLeRxx3LFU8k9j3N3 0Cups/WAE4S2sYqk+Yl01UKh95+n214pk57v8pBqK/8OUZtvEFuH7c5uHSCLveQ12T1u c5IpGvfXDkRU0SttccGXklmARlyaDXmKpqe06VQfuVsEaN4x72J7lnodh3F4Z0CeN6Td U+Iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KPhUmUvm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u12si5901751pjg.110.2022.01.21.13.19.17; Fri, 21 Jan 2022 13:19:29 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KPhUmUvm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229847AbiATKu6 (ORCPT + 99 others); Thu, 20 Jan 2022 05:50:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232804AbiATKuL (ORCPT ); Thu, 20 Jan 2022 05:50:11 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05978C061574; Thu, 20 Jan 2022 02:50:11 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8B6F76151B; Thu, 20 Jan 2022 10:50:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id EC172C340E2; Thu, 20 Jan 2022 10:50:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1642675810; bh=NqowiAMeZDXoTZn1mzYNvP3gKL0n2MW5IpjY4dst0aM=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=KPhUmUvmhNZwdfeBhmuWepa9loN49yjSHyzxSsGBDHoEEBHh4Wmnj9JwVv/GYOjVx IGDGwXg8o47UXbtLS0W3R83VJWqigS8+zPGs5zUPzEO/t13Z5vMvl2c3NjUplu0Bgx f/5Op1rf8WDFiVsp4hZxdAKDcv67mnGcAw520rkk7xUGfg4ReNQMrZ5h0tU8caetl0 GK0lp5Q5h3rhXe5AOEONRQ9FGOBlBBtpNDFDeS3GNbKGIw5VJH+J0p5aJFa+XavXOr cfuqRqc3DvpBNw+Dv3z1TzCXWQg8JKFkQIEYV93o9f9Fh0MmKGTOT+xRK7XFBgUrM1 kBnqtHlPPln+g== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id D5CC7F6079B; Thu, 20 Jan 2022 10:50:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2 net] net: fix information leakage in /proc/net/ptype From: patchwork-bot+netdevbpf@kernel.org Message-Id: <164267580986.26718.1893811896925655041.git-patchwork-notify@kernel.org> Date: Thu, 20 Jan 2022 10:50:09 +0000 References: <20220118192013.1608432-1-liu3101@purdue.edu> In-Reply-To: <20220118192013.1608432-1-liu3101@purdue.edu> To: Congyu Liu Cc: davem@davemloft.net, kuba@kernel.org, yajun.deng@linux.dev, edumazet@google.com, willemb@google.com, mkl@pengutronix.de, rsanger@wand.net.nz, wanghai38@huawei.com, pablo@netfilter.org, jiapeng.chong@linux.alibaba.com, xemul@openvz.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (master) by David S. Miller : On Tue, 18 Jan 2022 14:20:13 -0500 you wrote: > In one net namespace, after creating a packet socket without binding > it to a device, users in other net namespaces can observe the new > `packet_type` added by this packet socket by reading `/proc/net/ptype` > file. This is minor information leakage as packet socket is > namespace aware. > > Add a net pointer in `packet_type` to keep the net namespace of > of corresponding packet socket. In `ptype_seq_show`, this net pointer > must be checked when it is not NULL. > > [...] Here is the summary with links: - [v2,net] net: fix information leakage in /proc/net/ptype https://git.kernel.org/netdev/net/c/47934e06b656 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html