lkml.org 
[lkml]   [2022]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 net] net: fix information leakage in /proc/net/ptype
From
Date
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


\
 
 \ /
  Last update: 2022-01-20 11:51    [W:0.034 / U:7.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site