[PATCH 0/5] rust_binder: fix 32-bit truncation and alignment bugs
From: Alice Ryhl
Date: Thu Nov 26 2026 - 04:54:26 EST
This series fixes several bugs that only affect 32-bit platforms.
Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
---
Alice Ryhl (5):
rust_binder: read u64 pointer in BC_FREE_BUFFER
rust_binder: clamp write_read buffer sizes to usize::MAX
rust_binder: reject transaction sizes exceeding usize::MAX
rust_binder: align scatter-gather buffers to u64
rust_binder: use u64 for node and handle reference counts
drivers/android/binder/node.rs | 22 +++++++++++-----------
drivers/android/binder/process.rs | 7 ++++---
drivers/android/binder/rust_binder_main.rs | 5 +++++
drivers/android/binder/thread.rs | 26 +++++++++++++++-----------
4 files changed, 35 insertions(+), 25 deletions(-)
---
base-commit: 917fcbf033154a6c8d83cfa6c88f012b71eb37b2
change-id: 20261125-binder-32bit-fixes-8545e4a3066a
Best regards,
--
Alice Ryhl <aliceryhl@xxxxxxxxxx>