[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140731.131029.385699833260567908.davem@davemloft.net>
Date: Thu, 31 Jul 2014 13:10:29 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dborkman@...hat.com
Cc: netdev@...r.kernel.org, pablo@...filter.org, ast@...mgrid.com,
jiri@...nulli.us
Subject: Re: [PATCH net-next] team: fix releasing uninitialized pointer to
BPF prog
From: Daniel Borkmann <dborkman@...hat.com>
Date: Thu, 31 Jul 2014 21:48:59 +0200
> Commit 34c5bd66e5ed introduced the possibility that an
> uninitialized pointer on the stack (orig_fp) can call into
> sk_unattached_filter_destroy() when its value is non NULL.
>
> Before that commit orig_fp was only destroyed in the same
> block where it was assigned a valid BPF prog before. Fix it
> up by initializing it to NULL.
>
> Fixes: 34c5bd66e5ed ("net: filter: don't release unattached filter through call_rcu()")
> Signed-off-by: Daniel Borkmann <dborkman@...hat.com>
Applied, thanks Daniel.
--
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