[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164267580986.26718.1893811896925655041.git-patchwork-notify@kernel.org>
Date: Thu, 20 Jan 2022 10:50:09 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Congyu Liu <liu3101@...due.edu>
Cc: davem@...emloft.net, kuba@...nel.org, yajun.deng@...ux.dev,
edumazet@...gle.com, willemb@...gle.com, mkl@...gutronix.de,
rsanger@...d.net.nz, wanghai38@...wei.com, pablo@...filter.org,
jiapeng.chong@...ux.alibaba.com, xemul@...nvz.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 net] net: fix information leakage in /proc/net/ptype
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
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
Powered by blists - more mailing lists