From: Florian Westphal Date: Mon, 11 Feb 2013 23:22:38 +0000 (+0000) Subject: netfilter: ctnetlink: don't permit ct creation with random tuple X-Git-Tag: v3.9-rc1~139^2~29^2~8^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=442fad9423b78319e0019a7f5047eddf3317afbc;p=pandora-kernel.git netfilter: ctnetlink: don't permit ct creation with random tuple Userspace can cause kernel panic by not specifying orig/reply tuple: kernel will create a tuple with random stack values. Problem is that tuple.dst.dir will be random, too, which causes nf_ct_tuplehash_to_ctrack() to return garbage. Signed-off-by: Florian Westphal Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed