Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757622Ab1COMhr (ORCPT ); Tue, 15 Mar 2011 08:37:47 -0400 Received: from stinky.trash.net ([213.144.137.162]:42472 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757480Ab1COMhp (ORCPT ); Tue, 15 Mar 2011 08:37:45 -0400 Message-ID: <4D7F5D98.1060105@trash.net> Date: Tue, 15 Mar 2011 13:37:44 +0100 From: Patrick McHardy User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5 MIME-Version: 1.0 To: Vasiliy Kulikov CC: linux-kernel@vger.kernel.org, security@kernel.org, "David S. Miller" , Alexey Kuznetsov , James Morris , Hideaki YOSHIFUJI , netfilter-devel@vger.kernel.org, netfilter@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org Subject: Re: [PATCH] ipv6: netfilter: ip6_tables: fix infoleak to userspace References: <1299780827-344-1-git-send-email-segoon@openwall.com> In-Reply-To: <1299780827-344-1-git-send-email-segoon@openwall.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 899 Lines: 19 On 10.03.2011 19:13, Vasiliy Kulikov wrote: > 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. Also applied, thanks Vasiliy. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/