aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorFlorian Westphal <[email protected]>2019-05-05 18:47:33 +0200
committerPablo Neira Ayuso <[email protected]>2019-05-09 08:54:49 +0200
commit680f6af5337c98d116e4f127cea7845339dba8da (patch)
tree96319097dc1597f6995b1a8f189c61cd9fc6625e /include/linux/debugobjects.h
parent8cd2bc981c5335cacc432cba7666c2741c3e912f (diff)
netfilter: ebtables: CONFIG_COMPAT: reject trailing data after last rule
If userspace provides a rule blob with trailing data after last target, we trigger a splat, then convert ruleset to 64bit format (with trailing data), then pass that to do_replace_finish() which then returns -EINVAL. Erroring out right away avoids the splat plus unneeded translation and error unwind. Fixes: 81e675c227ec ("netfilter: ebtables: add CONFIG_COMPAT support") Reported-by: Tetsuo Handa <[email protected]> Signed-off-by: Florian Westphal <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions