Re: [bpf-next 3/3] bpf: Fix a use after free in bpf_check()

From: Alexei Starovoitov
Date: Wed Jul 07 2021 - 23:09:56 EST


On Wed, Jul 7, 2021 at 8:00 PM He Fengqing <hefengqing@xxxxxxxxxx> wrote:
>
> Ok, I will change this in next version.

before you spam the list with the next version
please explain why any of these changes are needed?
I don't see an explanation in the patches and I don't see a bug in the code.
Did you check what is the prog clone ?
When is it constructed? Why verifier has anything to do with it?