All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Andrew Stellman" <bugs@stellman-greene.com>
Cc: linux-rdma@vger.kernel.org
Subject: Re: [PATCH v3 rdma-rc] RDMA/iwcm: Handle CLOSE before passive establishment
Date: Mon, 30 Nov 2026 04:55:01 +0000	[thread overview]
Message-ID: <sashiko-outbox-240364@kernel.org> (raw)
In-Reply-To: <20261130044601.28226-1-bugs@stellman-greene.com>

> From: Andrew Stellman <astellman@stellman-greene.com>
> 
> An accepted siw MPA v2 connection enters RDMA mode before receiving the
> peer's RTR frame. If the peer sends a malformed RTR frame, siw reports
> CLOSE while the passive IWCM ID is still in CONN_RECV.
> cm_close_handler() treats that state as impossible and hits BUG():
> 
>   kernel BUG at drivers/infiniband/core/iwcm.c:966!
>   Internal error: Oops - BUG: 00000000f2000800 [#1]  SMP
>   Workqueue: iw_cm_wq cm_work_handler
>   pc : cm_work_handler+0xf40/0x1098
>   Call trace:
>    cm_work_handler+0xf40/0x1098 (P)
>    process_one_work+0x5f0/0xcb8
>    worker_thread+0x3ac/0xaa0
> [ ... ]
> siw bug. The fix was drafted with OpenAI GPT-6 (Codex) and this
> changelog with Claude Sonnet 5.5, and both were reviewed by me.
> 
> 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/20261130044601.28226-1-bugs@stellman-greene.com?part=1

      reply	other threads:[~2026-11-30  4:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29  0:17 [PATCH rdma-rc] RDMA/iwcm: Handle CLOSE before passive establishment Andrew Stellman
2026-11-29  0:37 ` sashiko-bot
2026-11-29 13:52 ` [PATCH v2 " Andrew Stellman
2026-11-29 14:07   ` sashiko-bot
2026-11-30  4:46   ` [PATCH v3 " Andrew Stellman
2026-11-30  4:55     ` 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-240364@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.