[PATCH 0/3] rust_binder: fix unsoundness due to combining List::remove with mem:take

From: Alice Ryhl

Date: Tue Nov 11 2025 - 09:23:44 EST


See the first patch for details on the bug.

Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
---
Alice Ryhl (3):
rust_binder: fix race condition on death_list
rust_binder: avoid mem::take on delivered_deaths
rust: list: add warning to List::remove docs about mem::take

drivers/android/binder/node.rs | 6 +++---
drivers/android/binder/process.rs | 8 ++++++--
rust/kernel/list.rs | 3 +++
3 files changed, 12 insertions(+), 5 deletions(-)
---
base-commit: 211ddde0823f1442e4ad052a2f30f050145ccada
change-id: 20251111-binder-fix-list-remove-41c29c75ffc9

Best regards,
--
Alice Ryhl <aliceryhl@xxxxxxxxxx>