aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2018-09-22 13:46:48 +0000
committerDavid S. Miller <[email protected]>2018-10-02 05:34:14 +0000
commitaeadd93f2b0a609f603ac33e574b97a9832d1b90 (patch)
tree32784e4248856c3d4ca4d65f413d4ef301fb3c06 /net/tipc/node.c
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse... (diff)
downloadkernel-aeadd93f2b0a609f603ac33e574b97a9832d1b90.tar.gz
kernel-aeadd93f2b0a609f603ac33e574b97a9832d1b90.zip
net: sched: act_ipt: check for underflow in __tcf_ipt_init()
If "td->u.target_size" is larger than sizeof(struct xt_entry_target) we return -EINVAL. But we don't check whether it's smaller than sizeof(struct xt_entry_target) and that could lead to an out of bounds read. Fixes: 7ba699c604ab ("[NET_SCHED]: Convert actions from rtnetlink to new netlink API") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions