Re: [PATCH v3 0/5] binder: fix issues with mremap()
From: Carlos Llamas
Date: Tue Sep 01 2026 - 16:47:21 EST
On Tue, Sep 01, 2026 at 04:35:13PM +0000, Carlos Llamas wrote:
> This is a follow up series fixing some pre-existing issues found by
> sashiko during a review of an unrelated patchset here:
> https://sashiko.dev/#/patchset/20260813193433.3318288-1-surenb@xxxxxxxxxx
>
> The goal is to safely reject mremap() requests on binder's vma to
> prevent pages from temporary leaking and accidental IPC tear-down.
>
> --
Dang! Sashiko keeps finding pre-existing issues. AFAICT, all these are
real issues. It's seems we also, need to reject partial range munmap().
This should be easy though via ->may_split().
I'll send out a v4 with this addition.
--
Carlos Llamas