From: Hannes Frederic Sowa <han...@stressinduktion.org>
Date: Thu, 26 Nov 2015 12:08:18 +0100

> sendpage did not care about credentials at all. This could lead to
> situations in which because of fd passing between processes we could
> append data to skbs with different scm data. It is illegal to splice those
> skbs together. Instead we have to allocate a new skb and if requested
> fill out the scm details.
> 
> Fixes: 869e7c62486ec ("net: af_unix: implement stream sendpage support")
> Reported-by: Al Viro <v...@zeniv.linux.org.uk>
> Cc: Al Viro <v...@zeniv.linux.org.uk>
> Cc: Eric Dumazet <eduma...@google.com>
> Signed-off-by: Hannes Frederic Sowa <han...@stressinduktion.org>

Applied and queued up for -stable... but here we go with even more
complexity in arguably one of the most complex and often buggiest
protocol family implementations :-/

We seem to enjoy self-torture but putting hack on top of hack...
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to