rust_kernel: panicked at drivers/android/binder/node.rs:877:13: attempt to subtract with overflow ------------[ cut here ]------------ kernel BUG at rust/helpers/bug.c:7! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 UID: 0 PID: 332 Comm: kworker/0:3 Not tainted 6.12.30-syzkaller-g9d80e3254812 #0 0af3bb1b2b1f0d17039a87b1bb907b41f79d5270 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: events _RNvXs6_NtCs43vyB533jt3_6kernel9workqueueINtNtNtB7_4sync3arc3ArcNtNtCshgDM7dBCdno_11rust_binder7process7ProcessEINtB5_15WorkItemPointerKy0_E3runB13_ RIP: 0010:rust_helper_BUG+0x8/0x10 rust/helpers/bug.c:7 Code: 3e ca e7 02 cc 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 b8 1b c1 e3 d0 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 48 89 e5 <0f> 0b 66 0f 1f 44 00 00 b8 51 05 aa 5c 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000c116670 EFLAGS: 00010246 RAX: 0000000000000061 RBX: 1ffff92001822cd0 RCX: 69cdc4ca1a0ac900 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002 RBP: ffffc9000c116670 R08: ffffc9000c116367 R09: 1ffff92001822c6c R10: dffffc0000000000 R11: fffff52001822c6d R12: 0000000000000000 R13: dffffc0000000000 R14: ffffc9000c1166a0 R15: ffffc9000c1166d0 FS: 0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056020b8c4b98 CR3: 0000000104a6a000 CR4: 00000000003526b0 DR0: 00000000000006d8 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: __rustc::rust_begin_unwind+0x15b/0x160 rust/kernel/lib.rs:128 core::panicking::panic_fmt+0x84/0x90 usr/local/rustup/toolchains/1.87.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:75 core::panicking::panic_const::panic_const_sub_overflow+0xb2/0xc0 usr/local/rustup/toolchains/1.87.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:178 ::update drivers/android/binder/node.rs:877 [inline] ::update_ref+0x17e5/0x1860 drivers/android/binder/process.rs:913 ::cleanup_object drivers/android/binder/allocation.rs:442 [inline] ::drop+0xe89/0x47a0 drivers/android/binder/allocation.rs:258 core::ptr::drop_in_place:: usr/local/rustup/toolchains/1.87.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:523 [inline] core::ptr::drop_in_place::> usr/local/rustup/toolchains/1.87.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:523 [inline] core::mem::drop::> usr/local/rustup/toolchains/1.87.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/mem/mod.rs:935 [inline] ::cancel+0x17b/0x370 drivers/android/binder/transaction.rs:479 ::deferred_release drivers/android/binder/process.rs:1298 [inline] ::run+0xec1/0x2860 drivers/android/binder/process.rs:483 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0x7d2/0x1020 kernel/workqueue.c:3319 worker_thread+0xc58/0x1250 kernel/workqueue.c:3400 kthread+0x2ca/0x370 kernel/kthread.c:389 ret_from_fork+0x64/0xa0 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:rust_helper_BUG+0x8/0x10 rust/helpers/bug.c:7 Code: 3e ca e7 02 cc 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 b8 1b c1 e3 d0 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 48 89 e5 <0f> 0b 66 0f 1f 44 00 00 b8 51 05 aa 5c 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000c116670 EFLAGS: 00010246 RAX: 0000000000000061 RBX: 1ffff92001822cd0 RCX: 69cdc4ca1a0ac900 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002 RBP: ffffc9000c116670 R08: ffffc9000c116367 R09: 1ffff92001822c6c R10: dffffc0000000000 R11: fffff52001822c6d R12: 0000000000000000 R13: dffffc0000000000 R14: ffffc9000c1166a0 R15: ffffc9000c1166d0 FS: 0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056020b8c4b98 CR3: 000000010bb8a000 CR4: 00000000003526b0 DR0: 00000000000006d8 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400