3
0
Fork 0
forked from mirrors/linux
kernel/drivers/android
Carlos Llamas 170d1a3738 binder: fix offset calculation in debug log
The vma start address should be substracted from the buffer's user data
address and not the other way around.

Cc: Tiffany Y. Yang <ynaffit@google.com>
Cc: stable <stable@kernel.org>
Fixes: 162c797314 ("binder: avoid user addresses in debug logs")
Signed-off-by: Carlos Llamas <cmllamas@google.com>
Reviewed-by: Tiffany Y. Yang <ynaffit@google.com>
Link: https://lore.kernel.org/r/20250325184902.587138-1-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-04-15 15:11:12 +02:00
..
binder.c binder: fix offset calculation in debug log 2025-04-15 15:11:12 +02:00
binder_alloc.c binder: use per-vma lock in page reclaiming 2024-12-24 09:35:23 +01:00
binder_alloc.h binder: rename alloc->buffer to vm_start 2024-12-24 09:35:23 +01:00
binder_alloc_selftest.c binder: rename alloc->buffer to vm_start 2024-12-24 09:35:23 +01:00
binder_internal.h binder: remove unneeded <linux/export.h> inclusion from binder_internal.h 2025-02-20 15:25:12 +01:00
binder_trace.h binder: rename alloc->buffer to vm_start 2024-12-24 09:35:23 +01:00
binderfs.c binderfs: fix use-after-free in binder_devices 2025-02-20 15:20:11 +01:00
dbitmap.h binder: fix descriptor lookup for context manager 2024-07-31 13:47:48 +02:00
Kconfig remove CONFIG_ANDROID 2022-07-01 10:41:09 +02:00
Makefile