summaryrefslogtreecommitdiff
path: root/net/sctp
diff options
context:
space:
mode:
authorIlya Maximets <i.maximets@ovn.org>2021-04-04 20:50:31 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-14 09:42:10 +0300
commitcc5418973cc9943c276a5ffef645a20f0aadf596 (patch)
treef9e550fb93dfd4e640c561b741a530eef9dc6bc4 /net/sctp
parent3e288c3a7d55943a02e1beb75f4dacbbb5a3fe65 (diff)
downloadlinux-cc5418973cc9943c276a5ffef645a20f0aadf596.tar.xz
openvswitch: fix send of uninitialized stack memory in ct limit reply
[ Upstream commit 4d51419d49930be2701c2633ae271b350397c3ca ] 'struct ovs_zone_limit' has more members than initialized in ovs_ct_limit_get_default_limit(). The rest of the memory is a random kernel stack content that ends up being sent to userspace. Fix that by using designated initializer that will clear all non-specified fields. Fixes: 11efd5cb04a1 ("openvswitch: Support conntrack zone limit") Signed-off-by: Ilya Maximets <i.maximets@ovn.org> Acked-by: Tonghao Zhang <xiangxia.m.yue@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/sctp')
0 files changed, 0 insertions, 0 deletions