]> git.baikalelectronics.ru Git - kernel.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)
commit7cff9315f4df02119d390f9f3846e5195b568e7d
tree31697d77831109c760001a8a78053dab0fb74ac5
parenta85796ef1e24934822d2e057325f78019c7d180b
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