From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796014502; b=oAHqYaCj/aDUapQQF88qDqvjsR8avNBgI+H7oQ1Tmu9e2djwbQx7v/JZL2n9H2QCpIQD obVwV0HNdP69lZi07DpJn2KO1MMLtanM5CoYzsD2Q0HWGbz4YOaBM4FClwLdPn7ejvcQK tZ+J6C2xysmuVyq/2nMrSpWouf9L5RIarXWXHewL7xSqKhV51WLQj9bmvryddkb/Bmtoj 1oqD1qyZYj/zGkybxHfl9kyJ6gxKfJMT0Y6QwOxc5ErC0RPnvocyDTiaxKIt7sX2sn+1H r4sEHpTFBmafsQqg7EMgOI5zPaSdTKF6u19XrS/2VBp7FjvMFBJKcKjAUHRvfpp8DBA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796014502; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=RDShzDSUXoDQHtu0qx9wSMUy183/np5tgdyciqrXABs=; b=hVxsJgrNsiTpkoaaNeKmCTsESt6mpKvKzS4YEHMvFFv2bkxg5OYpS5eNxFPGgo38WYUj GLK/PA16KXUs1Zo2jF5t0s0LkuzJqBvuUEwm4VF9zmW+qfGYBKwbp0/n9ePgGqDKWAI2k sI1x9qYLzJYn/zJN+SfQjdp0RETbwEN3XvArtTQgcQ4PShE7SUGnmWqW/nO8vYmmQKhod nK/ztVU3jR21IvnEw4GEGGu0LuMx3C4rVTM6FXfC/vDuchVELzXwI4yEQ/gJ4FoVYY34t yxoRrAJ2yrbSZ8yDFbzfYwFfqXwzK8dk8NCXkxyKjtWFVgOz5sDa25fsQlSXApCv4bA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=idLwhc8h; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 55D71606A31C for ; Mon, 30 Nov 2026 04:55:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=idLwhc8h Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA49B1F0089B; Mon, 30 Nov 2026 04:55:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796014501; bh=RDShzDSUXoDQHtu0qx9wSMUy183/np5tgdyciqrXABs=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=idLwhc8hkgUTjTP5O8GOMIFIc9Y1x68s8lx7yVCdegbZhqYlaocALIEGCwKAP93Gx nfja4LcOYZ3yEMH1iDS4IHUrI3ZOTdxAG8Pso86nGpge4oQD7cLhHO4dH4EJDhcsLh 0V/deH9WyWZ+8BTdd0j/w4CMFBvX+LCu1+kB/Uojl2ZT6XJ9pNF5bu8b4pJFoCCPc1 myE2j8YlsXNaomF5Z91KNtnsuyGFXZ5qLsri8CPmlMY6OgWueb9AH+dJTaV/I0a3Ol VTXGg0DDl1KnXq+jQSajSkOgnTz4gqCXHuYXaNwHLUVoSlwL5pFVvvymFuu7zrrc89 1nX8wbB18ws0Q== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v3 rdma-rc] RDMA/iwcm: Handle CLOSE before passive establishment Reply-To: sashiko-reviews@lists.linux.dev To: "Andrew Stellman" Cc: linux-rdma@vger.kernel.org In-Reply-To: <20261130044601.28226-1-bugs@stellman-greene.com> References: <20261129135257.80754-1-bugs@stellman-greene.com> <20261130044601.28226-1-bugs@stellman-greene.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Mon, 30 Nov 2026 04:55:01 +0000 X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > From: Andrew Stellman >=20 > 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(): >=20 > 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. >=20 > Fixes: 6c52fdc244b5 ("rdma/siw: connection management") > Signed-off-by: Andrew Stellman Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261130044601.2822= 6-1-bugs@stellman-greene.com?part=3D1