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

From: Sanghyun Park

Date: Wed Jun 10 2026 - 00:24:15 EST


This looks like a separate pre-existing issue. This patch only fixes the
mm_struct lifetime/UAF bug by pinning the foreign task's mm before using it.

I can look into check_stable_address_space(mm) as a separate follow-up if
maintainers think it is needed here.

Thanks,
Sanghyun