From: Willem de Bruijn <will...@google.com> Date: Thu, 20 Aug 2015 10:36:39 -0400
> Datapath integrity does not otherwise depend on payload, with three > exceptions: checksums, optional sk_filter/tc u32/.. and device + > driver logic. The effect of wrong checksums is limited to the > misbehaving process. Filters may have to be addressed by inserting a > preventative skb_copy_ubufs(). Device drivers can be whitelisted, > similar to scatter-gather support (NETIF_F_SG). Consider a userland NFS implementation sending over loopback while constantly modifying the page. The sunrpc code could be tricked into seeing one thing during validation of the RPC headers then doing another after the user makes changes. I really don't think this is completely safe as-is. -- 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