diff options
author | Vasiliy Kulikov <segoon@openwall.com> | 2011-03-15 13:37:13 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-14 16:53:37 -0700 |
commit | a41e7f1daf624745ffbad7e7ae576620951c499b (patch) | |
tree | ce47d617d79f69aff2075b27876a52bcc1c03bee /drivers/mfd/ab3100-core.c | |
parent | 8fd563c4a38f2a9d3cec689add4294cbc18a1dad (diff) |
ipv6: netfilter: ip6_tables: fix infoleak to userspace
commit 6a8ab060779779de8aea92ce3337ca348f973f54 upstream.
Structures ip6t_replace, compat_ip6t_replace, and xt_get_revision are
copied from userspace. Fields of these structs that are
zero-terminated strings are not checked. When they are used as argument
to a format string containing "%s" in request_module(), some sensitive
information is leaked to userspace via argument of spawned modprobe
process.
The first bug was introduced before the git epoch; the second was
introduced in 3bc3fe5e (v2.6.25-rc1); the third is introduced by
6b7d31fc (v2.6.15-rc1). To trigger the bug one should have
CAP_NET_ADMIN.
Signed-off-by: Vasiliy Kulikov <segoon@openwall.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/mfd/ab3100-core.c')
0 files changed, 0 insertions, 0 deletions