mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Adhyansh Verma <adhyanshverma2010@gmail.com>
To: aliceryhl@google.com
Cc: cmllamas@google.com, gregkh@linuxfoundation.org,
	arve@android.com, tkjos@android.com, brauner@kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] rust_binderfs: fix minor number leak on binder-control creation failure
Date: Fri, 27 Nov 2026 15:29:43 +0530	[thread overview]
Message-ID: <20261127095943.63884-1-adhyanshverma2010@gmail.com> (raw)
In-Reply-To: <20261126075835.3414193-1-aliceryhl@google.com>

On Thu, Nov 26, 2026 at 07:58:35AM +0000, Alice Ryhl wrote:
> Reviewed-by: Alice Ryhl <aliceryhl@google.com>

Hi Alice,

Thanks for the review and the context regarding commit fd2bc059ed46!
Much appreciated.

I am back at the workstation today and was following up on the thread.
While auditing the open and initialization error paths in the Rust
binder driver, I also noticed a process leak in rust_binder_open() when
BinderfsProcFile::new() fails (where Process::open() registers the
process into ctx.manager.all_procs, but on subsequent failure we return
without deregistering, permanently leaking the Process and credentials).

I have verified a fix for that against char-misc-next and will post it
shortly as a separate patch for review.

Thanks again,
Adhyansh

      reply	other threads:[~2026-11-27  9:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-02 14:45 Adhyansh Verma
2026-11-09 19:45 ` Carlos Llamas
2026-11-26  7:58   ` Alice Ryhl
2026-11-26  7:58 ` Alice Ryhl
2026-11-27  9:59   ` Adhyansh Verma [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261127095943.63884-1-adhyanshverma2010@gmail.com \
    --to=adhyanshverma2010@gmail.com \
    --cc=aliceryhl@google.com \
    --cc=arve@android.com \
    --cc=brauner@kernel.org \
    --cc=cmllamas@google.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tkjos@android.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®