[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161208.133133.498441460961253034.davem@davemloft.net>
Date: Thu, 08 Dec 2016 13:31:33 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: ast@...com
Cc: daniel@...earbox.net, jbacik@...com, tgraf@...g.ch,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next] bpf: fix state equivalence
From: Alexei Starovoitov <ast@...com>
Date: Wed, 7 Dec 2016 10:57:59 -0800
> Commmits 57a09bf0a416 ("bpf: Detect identical PTR_TO_MAP_VALUE_OR_NULL registers")
> and 484611357c19 ("bpf: allow access into map value arrays") by themselves
> are correct, but in combination they make state equivalence ignore 'id' field
> of the register state which can lead to accepting invalid program.
>
> Fixes: 57a09bf0a416 ("bpf: Detect identical PTR_TO_MAP_VALUE_OR_NULL registers")
> Fixes: 484611357c19 ("bpf: allow access into map value arrays")
> Signed-off-by: Alexei Starovoitov <ast@...nel.org>
> Acked-by: Daniel Borkmann <daniel@...earbox.net>
Applied.
Powered by blists - more mailing lists