From: sashiko-bot@kernel.org
To: "Andrew Stellman" <bugs@stellman-greene.com>
Cc: linux-rdma@vger.kernel.org
Subject: Re: [PATCH v4 rdma-rc] RDMA/iwcm: Handle CLOSE before passive establishment
Date: Wed, 02 Dec 2026 18:07:55 +0000 [thread overview]
Message-ID: <sashiko-outbox-246406@kernel.org> (raw)
In-Reply-To: <20261202175345.70627-1-bugs@stellman-greene.com>
> From: Andrew Stellman <astellman@stellman-greene.com>
>
> An accepted siw MPA v2 connection enters RDMA mode before it receives
> the peer's RTR frame. If that frame is malformed, siw reports CLOSE
> while the passive IWCM ID is still in CONN_RECV, and cm_close_handler()
> hits the BUG() for unexpected states:
>
> [ 4.767386] ------------[ cut here ]------------
> [ 4.767396] kernel BUG at drivers/infiniband/core/iwcm.c:966!
> [ 4.767406] Internal error: Oops - BUG: 00000000f2000800 [#1] SMP
> [ 4.770343] Modules linked in:
> [ 4.770836] CPU: 0 UID: 0 PID: 60 Comm: kworker/u32:1 Not tainted 7.4.0-rc4-gf93eb7cfc4bf #14 PREEMPT(full)
> [ 4.771994] Hardware name: linux,dummy-virt (DT)
> [ 4.773423] Workqueue: iw_cm_wq cm_work_handler
> [ 4.774044] pstate: 814000c5 (Nzcv daIF +PAN -UAO -TCO +DIT -SSBS BTYPE=--)
> [ ... ]
> arrives after CLOSE or a destroy has already moved the ID to IDLE or
> DESTROYING.
>
> Fixes: 6c52fdc244b5 ("rdma/siw: connection management")
> Signed-off-by: Andrew Stellman <astellman@stellman-greene.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261202175345.70627-1-bugs@stellman-greene.com?part=1
prev parent reply other threads:[~2026-12-02 18:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 17:53 [PATCH v4 rdma-rc] RDMA/iwcm: Handle CLOSE before passive establishment Andrew Stellman
2026-12-02 18:07 ` sashiko-bot [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=sashiko-outbox-246406@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=bugs@stellman-greene.com \
--cc=linux-rdma@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.