mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/5] rust_binder: fix 32-bit truncation and alignment bugs
@ 2026-11-26  9:53 Alice Ryhl
  2026-11-26  9:53 ` [PATCH 1/5] rust_binder: read u64 pointer in BC_FREE_BUFFER Alice Ryhl
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Alice Ryhl @ 2026-11-26  9:53 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Carlos Llamas
  Cc: Miguel Ojeda, Boqun Feng, Gary Guo, Björn Roy Baron,
	Benno Lossin, Andreas Hindborg, Alice Ryhl, Trevor Gross,
	Danilo Krummrich, Daniel Almeida, Tamir Duberstein,
	Alexandre Courbot, Onur Özkan, rust-for-linux, linux-kernel,
	stable

This series fixes several bugs that only affect 32-bit platforms.

Signed-off-by: Alice Ryhl <aliceryhl@google.com>
---
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@google.com>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-11-26  9:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-26  9:53 [PATCH 0/5] rust_binder: fix 32-bit truncation and alignment bugs Alice Ryhl
2026-11-26  9:53 ` [PATCH 1/5] rust_binder: read u64 pointer in BC_FREE_BUFFER Alice Ryhl
2026-11-26  9:53 ` [PATCH 2/5] rust_binder: clamp write_read buffer sizes to usize::MAX Alice Ryhl
2026-11-26  9:53 ` [PATCH 3/5] rust_binder: reject transaction sizes exceeding usize::MAX Alice Ryhl
2026-11-26  9:53 ` [PATCH 4/5] rust_binder: align scatter-gather buffers to u64 Alice Ryhl
2026-11-26  9:53 ` [PATCH 5/5] rust_binder: use u64 for node and handle reference counts Alice Ryhl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®