[GIT PULL] Char/Misc driver fixes for 6.4-rc4

From: Greg KH
Date: Sat May 27 2023 - 04:31:56 EST


The following changes since commit ac9a78681b921877518763ba0e89202254349d1b:

Linux 6.4-rc1 (2023-05-07 13:34:35 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git tags/char-misc-6.4-rc4

for you to fetch changes up to d1d8875c8c13517f6fd1ff8d4d3e1ac366a17e07:

binder: fix UAF of alloc->vma in race with munmap() (2023-05-20 17:56:23 +0100)

----------------------------------------------------------------
Char/Misc fixes for 6.4-rc4

Here are some small driver fixes for 6.4-rc4. They are just two
different types:
- binder fixes and reverts for reported problems and regressions in
the binder "driver".
- coresight driver fixes for reported problems.

All of these have been in linux-next for over a week with no reported
problems.

Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

----------------------------------------------------------------
Carlos Llamas (5):
binder: fix UAF caused by faulty buffer cleanup
Revert "binder_alloc: add missing mmap_lock calls when using the VMA"
Revert "android: binder: stop saving a pointer to the VMA"
binder: add lockless binder_alloc_(set|get)_vma()
binder: fix UAF of alloc->vma in race with munmap()

Dan Carpenter (1):
coresight: Fix signedness bug in tmc_etr_buf_insert_barrier_packet()

Greg Kroah-Hartman (1):
Merge tag 'coresight-fixes-v6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/coresight/linux into char-misc-linus

Ruidong Tian (1):
coresight: perf: Release Coresight path when alloc trace id failed

drivers/android/binder.c | 28 ++++++++---
drivers/android/binder_alloc.c | 64 +++++++++++-------------
drivers/android/binder_alloc.h | 4 +-
drivers/android/binder_alloc_selftest.c | 2 +-
drivers/hwtracing/coresight/coresight-etm-perf.c | 1 +
drivers/hwtracing/coresight/coresight-tmc-etr.c | 2 +-
6 files changed, 55 insertions(+), 46 deletions(-)