[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140618.170522.253556263376208566.davem@davemloft.net>
Date: Wed, 18 Jun 2014 17:05:22 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: keescook@...omium.org
Cc: linux-kernel@...r.kernel.org, ast@...mgrid.com,
dborkman@...hat.com, edumazet@...gle.com, chema@...gle.com,
netdev@...r.kernel.org
Subject: Re: [PATCH] net: filter: fix upper BPF instruction limit
From: Kees Cook <keescook@...omium.org>
Date: Wed, 18 Jun 2014 15:34:57 -0700
> The original checks (via sk_chk_filter) for instruction count uses ">",
> not ">=", so changing this in sk_convert_filter has the potential to break
> existing seccomp filters that used exactly BPF_MAXINSNS many instructions.
>
> Fixes: bd4cf0ed331a ("net: filter: rework/optimize internal BPF interpreter's instruction set")
> Signed-off-by: Kees Cook <keescook@...omium.org>
Applied, 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