Re: Deadlock with icmpv6fuzz
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2009-02-06 08:54:23
On Fri, Feb 06, 2009 at 12:50:34AM -0800, David Miller wrote:
ipv6: Disallow rediculious flowlabel option sizes. Just like PKTINFO, limit the options area to 64K. Based upon report by Eric Sesterhenn and analysis by Roland Dreier. Signed-off-by: David S. Miller <davem@davemloft.net>
This should eliminate the backtrace as reported, but it'll just show up somewhere else. In particular, the control message (see sys_sendmsg) itself is copied to kernel memory via kmalloc and it's limited to INT_MAX :) (The option we're discussing here is stored in the control message). We either need to vmalloc it or have everyone read the user memory directly. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt