[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130519.145039.1580470275401987257.davem@davemloft.net>
Date: Sun, 19 May 2013 14:50:39 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: pmoore@...hat.com
Cc: netdev@...r.kernel.org, linux-security-module@...r.kernel.org,
vlad.halilov@...il.com, selinux@...ho.nsa.gov
Subject: Re: [PATCH] netlabel: improve domain mapping validation
From: Paul Moore <pmoore@...hat.com>
Date: Fri, 17 May 2013 15:08:50 -0400
> The net/netlabel/netlabel_domainhash.c:netlbl_domhsh_add() function
> does not properly validate new domain hash entries resulting in
> potential problems when an administrator attempts to add an invalid
> entry. One such problem, as reported by Vlad Halilov, is a kernel
> BUG (found in netlabel_domainhash.c:netlbl_domhsh_audit_add()) when
> adding an IPv6 outbound mapping with a CIPSO configuration.
>
> This patch corrects this problem by adding the necessary validation
> code to netlbl_domhsh_add() via the newly created
> netlbl_domhsh_validate() function.
>
> Ideally this patch should also be pushed to the currently active
> -stable trees.
>
> Reported-by: Vlad Halilov <vlad.halilov@...il.com>
> Signed-off-by: Paul Moore <pmoore@...hat.com>
Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists