[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170817.101611.23983207839678338.davem@davemloft.net>
Date: Thu, 17 Aug 2017 10:16:11 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: daniel@...earbox.net
Cc: ecree@...arflare.com, ast@...com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] bpf: fix liveness propagation to parent in
spilled stack slots
From: Daniel Borkmann <daniel@...earbox.net>
Date: Thu, 17 Aug 2017 14:59:40 +0200
> Using parent->regs[] when propagating REG_LIVE_READ for spilled regs
> doesn't work since parent->regs[] denote the set of normal registers
> but not spilled ones. Propagate to the correct regs.
>
> Fixes: dc503a8ad984 ("bpf/verifier: track liveness for pruning")
> Reported-by: Dan Carpenter <dan.carpenter@...cle.com>
> Signed-off-by: Daniel Borkmann <daniel@...earbox.net>
> Acked-by: Edward Cree <ecree@...arflare.com>
Applied.
Powered by blists - more mailing lists