commit | 442fad9423b78319e0019a7f5047eddf3317afbc | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Mon Feb 11 23:22:38 2013 +0000 |
committer | Pablo Neira Ayuso <pablo@gnumonks.org> | Tue Feb 12 23:18:15 2013 +0100 |
tree | 7668d4cdb5ba8400065f8464d708b9541e61a073 | |
parent | 547b4e718115eea74087e28d7fa70aec619200db [diff] |
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 <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>