Files
linux/drivers
Alice Ryhl 6c37bebd8c rust_binder: avoid mem::take on delivered_deaths
Similar to the previous commit, List::remove is used on
delivered_deaths, so do not use mem::take on it as that may result in
violations of the List::remove safety requirements.

I don't think this particular case can be triggered because it requires
fd close to run in parallel with an ioctl on the same fd. But let's not
tempt fate.

Cc: stable@vger.kernel.org
Fixes: eafedbc7c0 ("rust_binder: add Rust Binder driver")
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Acked-by: Miguel Ojeda <ojeda@kernel.org>
Link: https://patch.msgid.link/20251111-binder-fix-list-remove-v1-2-8ed14a0da63d@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-11-26 13:26:59 +01:00
..
2025-10-22 07:54:33 +02:00
2025-10-27 07:48:19 +01:00
2025-10-27 07:48:19 +01:00
2025-10-22 07:55:16 +02:00
2025-10-01 00:00:45 +00:00
2025-10-19 18:56:14 -07:00
2025-09-29 00:17:22 +02:00
2025-10-27 07:48:19 +01:00
2025-09-22 09:35:21 -04:00
2025-10-01 07:24:43 -04:00