mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kyuwon Cho <kyuwoncho18@gmail.com>
To: netdev-bot+sashiko@kernel.org
Cc: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>,
	Xin Long <lucien.xin@gmail.com>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Simon Horman <horms@kernel.org>, Jun Yang <junvyyang@tencent.com>,
	linux-sctp@vger.kernel.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [BUG] sctp: auth: NULL asoc->shkey after a failed SCTP_CMD_ASSOC_SHKEY makes close() oops
Date: Mon, 23 Nov 2026 00:05:33 -0800 (PST)	[thread overview]
Message-ID: <179542086425.3214459.13730708805653555091@gmail.com> (raw)
In-Reply-To: <179540440300.3135.8565987128928534228@kernel.org>

On Mon, 23 Nov 2026 03:26:43 +0000, netdev-bot+sashiko@kernel.org wrote:
> [Severity: High]
> Is this check enough to cover the keyless state?

No. As Xin suggested, v2 and v3 replace this approach: when processing
the INIT-ACK or setting up the association key fails,
sctp_sf_do_5_1C_ack() now fails the association with
SCTP_CMD_INIT_FAILED, so no keyless AUTH-capable association is left:
https://lore.kernel.org/netdev/179539544818.3016044.13738712075053349592@gmail.com/

The I-DATA key selection in sctp_datamsg_from_user() is a separate
issue; we will look at it.

Kyuwon Cho

pw-bot: cr

      reply	other threads:[~2026-11-23  8:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-19  3:04 Kyuwon Cho
2026-11-19 20:01 ` Xin Long
2026-11-20  4:55   ` [PATCH net v2] sctp: fail the association when the INIT-ACK cannot be processed Kyuwon Cho
2026-11-23  3:26 ` [BUG] sctp: auth: NULL asoc->shkey after a failed SCTP_CMD_ASSOC_SHKEY makes close() oops netdev-bot+sashiko
2026-11-23  8:05   ` Kyuwon Cho [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=179542086425.3214459.13730708805653555091@gmail.com \
    --to=kyuwoncho18@gmail.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=horms@kernel.org \
    --cc=junvyyang@tencent.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sctp@vger.kernel.org \
    --cc=lucien.xin@gmail.com \
    --cc=marcelo.leitner@gmail.com \
    --cc=netdev-bot+sashiko@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.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®