Messages in this thread | | | Subject | Re: [PATCH v2 net] net: fix information leakage in /proc/net/ptype | From | patchwork-bot+netdevbpf@kernel ... | Date | Thu, 20 Jan 2022 10:50:09 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by David S. Miller <davem@davemloft.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
| |