[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2023100715-blade-valiant-714d@gregkh>
Date: Sat, 7 Oct 2023 08:44:27 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Kassey Li <quic_yingangl@...cinc.com>
Cc: gregkh@...gle.com, cmllamas@...gle.com, surenb@...gle.com,
arve@...roid.com, joel@...lfernandes.org, brauner@...nel.org,
tkjos@...roid.com, maco@...roid.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] binder: add mutex_lock for mmap and NULL when free
On Sat, Oct 07, 2023 at 11:40:46AM +0800, Kassey Li wrote:
> Enforce alloc->mutex in binder_alloc_mmap_handler when add
> the entry to list.
>
> Assign the freed pages/page_ptr to NULL to catch possible
> use after free with NULL pointer access.
>
> Signed-off-by: Kassey Li <quic_yingangl@...cinc.com>
> ---
> drivers/android/binder_alloc.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
What commit id does this fix?
thanks,
greg k-h
Powered by blists - more mailing lists