Netdev List
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Baul Lee <baul.lee@xbow.com>
Cc: netdev@vger.kernel.org, ms@dev.tdt.de, davem@davemloft.net,
	edumazet@google.com, pabeni@redhat.com, horms@kernel.org,
	federico.kirschbaum@xbow.com, stable@vger.kernel.org
Subject: Re: [PATCH net] net/x25: fix use-after-free in x25_kill_by_neigh()
Date: Mon, 27 Jul 2026 15:55:09 -0700	[thread overview]
Message-ID: <20260727155509.1c5235ee@kernel.org> (raw)
In-Reply-To: <20260726053330.41736-1-baul.lee@xbow.com>

On Sun, 26 Jul 2026 14:33:30 +0900 Baul Lee wrote:
> x25_kill_by_neigh() walks x25_list under x25_list_lock and, for every
> socket bound to the dying neighbour, drops the lock to call lock_sock() /
> x25_disconnect() / release_sock() before re-acquiring it and continuing
> the iteration.  It holds no reference on the socket across this window.

already fixed.

  reply	other threads:[~2026-07-27 22:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-26  5:33 [PATCH net] net/x25: fix use-after-free in x25_kill_by_neigh() Baul Lee
2026-07-27 22:55 ` Jakub Kicinski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-07-13 10:47 David Lee
2026-07-14  6:42 ` Martin Schiller
2026-07-23  9:58 ` Paolo Abeni
2026-07-23 10:00 ` patchwork-bot+netdevbpf

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=20260727155509.1c5235ee@kernel.org \
    --to=kuba@kernel.org \
    --cc=baul.lee@xbow.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=federico.kirschbaum@xbow.com \
    --cc=horms@kernel.org \
    --cc=ms@dev.tdt.de \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=stable@vger.kernel.org \
    /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