Re: [PATCH bpf-next v6] bpf: Fix use-after-free on mm_struct in bpf_find_vma()

From: sun jian

Date: Mon Jul 20 2026 - 21:39:03 EST


On Tue, Jul 21, 2026 at 9:05 AM Sanghyun Park
<sanghyun.park.cnu@xxxxxxxxx> wrote:
>
> Hi Sun,
>
> > Sanghyun, I saw that you planned to look into this after the current
> > patch is sorted out. If you are already working on it, I would be happy
> > to share the PoC and my observations.
>
> Thanks for looking into this.
>
> I am working on a patch for this race and expect to post it soon.
>
> Could you send me your PoC and debug diff off-list so I can test the
> patch with your exact reproducer? I will post v1 as a new BPF thread
> and Cc you there. If you have time, I would also appreciate it if you
> could test v1 with your setup and reply to that thread with the result.

Hi Sanghyun,

Thanks for the reply. I'll send the PoC and temporary debug diff to
you off-list.

I would be happy to test v1 with the same setup once you post it and reply
with the results on that thread.

Thanks,
Sun Jian