]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ipv4: netfilter: arp_tables: fix information leak to userland
authorVasiliy Kulikov <segooon@gmail.com>
Wed, 3 Nov 2010 07:44:12 +0000 (08:44 +0100)
committerPatrick McHardy <kaber@trash.net>
Wed, 3 Nov 2010 07:44:12 +0000 (08:44 +0100)
commit1a8b7a67224eb0c9dbd883b9bfc4938278bad370
tree31697d77831109c760001a8a78053dab0fb74ac5
parentd817d29d0b37290d90b3a9e2a61162f1dbf2be4f
ipv4: netfilter: arp_tables: fix information leak to userland

Structure arpt_getinfo is copied to userland with the field "name"
that has the last elements unitialized.  It leads to leaking of
contents of kernel stack memory.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv4/netfilter/arp_tables.c