Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 27E6225B09E for ; Sun, 19 Jul 2026 14:58:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473082; cv=none; b=AUQWdd/4dNUcFAFWrzRNhOMDhrpujmUDiqmIxEvTc1nonv6dVgqtnGfCo8EUdK10/iQSNLqV4fvDDw08cZFB0I4/B7JxMv0qoez5SqUJsNewlNZ0K9MyKWDQ+sx1sp3GaACn+i8p5iiwNJ1cjFAS44ZKr2mNLPEZk4E4A8SaOGU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473082; c=relaxed/simple; bh=Q7E/r9SS6Z0ftNL2lnbKa2zpUODHUGWGCtfZ3zOvdgA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pgLbGfVtMtHBCdIZFPuJTTsxY89cUvxD6KF2Mc7W/TyJKsmWCe7OPLhigpgfTYqQDE/us9h8oLHwYEVU1MNlxe+muNwRdwCzH7Ur8s9lc7t+7+BQQ3DX5BDdVpp7LdXRTUV12L8q7ZmcB9kcHdnrfEkOOy+1QsOwtl1HBboNpQw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=n7oxcXUK; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="n7oxcXUK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4C7FA1F000E9; Sun, 19 Jul 2026 14:58:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784473080; bh=TD40QZ51Px3s/ClZ3Tx5EDN09zdD0gNP8l9fHB1XicA=; h=From:To:Cc:Subject:Date:Reply-To; b=n7oxcXUKNzvnvrTutqrS1MTfPHVZeXmpruiNnw0bVHuV+5SALeHFpI3ekj+Yf0S5U Vaji2Eojb696zHq1v1poWraFE66l9jle8BRl0e91FzxtvN0eCNQUM1CuLwj6pHyQxz 73D/MapF+Qn83mJInxy4LpXH/dYIRfHZsvwCTTG4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63890: scsi: fcoe: Reject FIP descriptors with zero fip_dlen in CVL walker Date: Sun, 19 Jul 2026 16:55:50 +0200 Message-ID: <2026071941-CVE-2026-63890-9acc@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4346; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/RbMcxkmfr3f9qXpjfOmsabogZFpjSLjmtFc6VkTPW0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxT3MDK0923+pTvndgw5UHDSw6U15Nvrk96NiMoFn+W 0+x707j7IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ+CoyLOjb+dcvqODHulDb KUIihmcknpxP3c+w4PTLrZ9151btfxfnLH17fcm1e+vCawE= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: scsi: fcoe: Reject FIP descriptors with zero fip_dlen in CVL walker drivers/scsi/fcoe/fcoe_ctlr.c::fcoe_ctlr_recv_clr_vlink() advanced the descriptor cursor by an attacker-supplied fip_dlen without ever requiring dlen >= sizeof(struct fip_desc) in the default branch. The named descriptor cases (FIP_DT_MAC, FIP_DT_NAME, FIP_DT_VN_ID) checked their per-type minimum lengths, but a FIP_DT_NON_CRITICAL descriptor (fip_dtype >= 128, which the standard requires receivers to silently ignore) skipped that check entirely. An unauthenticated L2 peer on the FCoE control VLAN could hang fcoe_ctlr_recv_work on an fcoe, qedf, or bnx2fc initiator indefinitely by emitting one FIP CVL frame whose single descriptor had fip_dtype == FIP_DT_NON_CRITICAL and fip_dlen == 0: the cursor advanced zero bytes per iteration and the loop condition rlen >= sizeof(*desc) stayed true forever, blocking every subsequent FIP frame on that controller. Tighten the outer dlen guard to also reject dlen < sizeof(struct fip_desc), so a malformed descriptor whose length cannot even cover the descriptor header is rejected before the switch. This is the same lower-bound the named cases already apply and is the minimum scope that closes the loop. The Linux kernel CVE team has assigned CVE-2026-63890 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.30 with commit 97c8389d54b9665c38105ea72a428a44b97ff2f6 and fixed in 5.10.259 with commit d179949d2175d2857d1c3a275a22bea58bcc5d36 Issue introduced in 2.6.30 with commit 97c8389d54b9665c38105ea72a428a44b97ff2f6 and fixed in 5.15.210 with commit fda976f7390bb5d1e9b84ef11ebb17323038e0c6 Issue introduced in 2.6.30 with commit 97c8389d54b9665c38105ea72a428a44b97ff2f6 and fixed in 6.1.176 with commit 80a0cd307205236ca28aa49bc553f58edcb9bf3a Issue introduced in 2.6.30 with commit 97c8389d54b9665c38105ea72a428a44b97ff2f6 and fixed in 6.6.143 with commit 0e3c6e5a8fc15a74dfb1e0c1df9f1da73600a81a Issue introduced in 2.6.30 with commit 97c8389d54b9665c38105ea72a428a44b97ff2f6 and fixed in 6.12.93 with commit 549859a1131052b07dff11a448e9f3221a40f260 Issue introduced in 2.6.30 with commit 97c8389d54b9665c38105ea72a428a44b97ff2f6 and fixed in 6.18.35 with commit 14dd80a20a72ce334adcc2d67402360527065948 Issue introduced in 2.6.30 with commit 97c8389d54b9665c38105ea72a428a44b97ff2f6 and fixed in 7.0.12 with commit d537d29d51c8b808469e5adacf3e5a0092700738 Issue introduced in 2.6.30 with commit 97c8389d54b9665c38105ea72a428a44b97ff2f6 and fixed in 7.1 with commit 9eed1bd59937e6828b00d2f2dfef631d964f3636 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-63890 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/scsi/fcoe/fcoe_ctlr.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/d179949d2175d2857d1c3a275a22bea58bcc5d36 https://git.kernel.org/stable/c/fda976f7390bb5d1e9b84ef11ebb17323038e0c6 https://git.kernel.org/stable/c/80a0cd307205236ca28aa49bc553f58edcb9bf3a https://git.kernel.org/stable/c/0e3c6e5a8fc15a74dfb1e0c1df9f1da73600a81a https://git.kernel.org/stable/c/549859a1131052b07dff11a448e9f3221a40f260 https://git.kernel.org/stable/c/14dd80a20a72ce334adcc2d67402360527065948 https://git.kernel.org/stable/c/d537d29d51c8b808469e5adacf3e5a0092700738 https://git.kernel.org/stable/c/9eed1bd59937e6828b00d2f2dfef631d964f3636