Re: [PATCH net] netlink, mmap: fix edge-case leakages in nf queue zero-copy

2015-09-09 Thread David Miller
From: Daniel Borkmann Date: Thu, 10 Sep 2015 02:10:57 +0200 > When netlink mmap on receive side is the consumer of nf queue data, > it can happen that in some edge cases, we write skb shared info into > the user space mmap buffer: > > Assume a possible rx ring frame size of only 4096, and the ne

[PATCH net] netlink, mmap: fix edge-case leakages in nf queue zero-copy

2015-09-09 Thread Daniel Borkmann
When netlink mmap on receive side is the consumer of nf queue data, it can happen that in some edge cases, we write skb shared info into the user space mmap buffer: Assume a possible rx ring frame size of only 4096, and the network skb, which is being zero-copied into the netlink skb, contains pag