Skip to content

fix null-ptr-deref in binder_alloc and others

Carlos Llamas lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7binder: fix alloc->vma_vm_mm null-ptr dereferencedrivers/android/binder_alloc.c+2 -26 replies
2/7binder: fix trivial kernel-doc typodrivers/android/binder_alloc.h+2 -22 replies
3/7binder: rename alloc->vma_vm_mm to alloc->mmdrivers/android/binder_alloc.c drivers/android/binder_alloc.h+19 -192 replies
4/7binder: remove binder_alloc_set_vma()drivers/android/binder_alloc.c+2 -232 replies
5/7binder: remove unused binder_alloc->buffer_freedrivers/android/binder_alloc.h+0 -12 replies
6/7binder: fix binder_alloc kernel-doc warningsdrivers/android/binder_alloc.h+2 -32 replies
7/7binderfs: remove unused INTSTRLEN macrodrivers/android/binderfs.c+0 -11 reply

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchChristian Brauner (Microsoft)Liam R. HowlettTodd Kjos
1/7R-b A-b
2/7R-b A-b
3/7R-b A-b
4/7
5/7R-b A-b
6/7R-b A-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/7] fix null-ptr-deref in binder_alloc and others

This patch series fixes primarily a null dereference of alloc->vma_vm_mm reported by syzbot which unfortunately is quite easy to reproduce. Also, included here are several other patches for more trivial things I found along the way.

--
Carlos Llamas

Cc Greg Kroah-Hartman <[email protected]>
Cc "Arve Hjønnevåg" <[email protected]>
Cc Todd Kjos <[email protected]>
Cc Martijn Coenen <[email protected]>
Cc Joel Fernandes <[email protected]>
Cc Christian Brauner <[email protected]>
Cc Suren Baghdasaryan <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Liam Howlett <[email protected]>

Carlos Llamas (7):
binder: fix alloc->vma_vm_mm null-ptr dereference
binder: fix trivial kernel-doc typo
binder: rename alloc->vma_vm_mm to alloc->mm
binder: remove binder_alloc_set_vma()
binder: remove unused binder_alloc->buffer_free
binder: fix binder_alloc kernel-doc warnings
binderfs: remove unused INTSTRLEN macro

 drivers/android/binder_alloc.c | 55 +++++++++++-----------------------
 drivers/android/binder_alloc.h | 12 ++++----
 drivers/android/binderfs.c     |  1 -
 3 files changed, 22 insertions(+), 46 deletions(-)
Signature · 1 line
2.37.2.672.g94769d06f0-goog