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 7893239E9C8 for ; Sun, 19 Jul 2026 14:57:58 +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=1784473079; cv=none; b=OW1FFs+u9CJopqapshx7qx0bXoTkxoYwyt++EXcpqbdJqZgkqB57a3d8K9jyyfGGY9h1hsaPGmcOtapxT55sMptHevC0uKAh3ShAZ7sgAjyF9nYly5UJRaxVK5qy0AFf0npRfH5j7f3fjY6HT6d2bYEy15p+jtnr9fBXlZ1lC6Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473079; c=relaxed/simple; bh=aMDfUVQhh1h8hAVX6+EsJ8wetyiNnWwZKyyVwa/ZMj0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=W42LDLLLZE634EtYtmW0o0acNMMENSIkQiuAwcodno8dZ3dgTpGGyr7T3tYhnXzogT+clFksrlnxbXc5WTa/Hf99fhFZ18o0zUSmSo5c4HD81KcMzTM36vGndd2GnayC7ReJ5bD4RzSZ9hhIIVxkhr8C8C3VGwf8TSPeMHhFKB0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hgqS4vKT; 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="hgqS4vKT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7762C1F000E9; Sun, 19 Jul 2026 14:57:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784473078; bh=7jI8lAZ6WneK3VtwnZAV5EF2X5pVD1lYshMtOa4TcQk=; h=From:To:Cc:Subject:Date:Reply-To; b=hgqS4vKTHjNxXamNhdYX1SU/h59GQypronDL/1zAsbyC/IBjYGh7Z7PAeN0v6ceww KV4MjijfrD4HmI85m6dmXv+ESTjBUuHkYT8GnzsMQ92NzZS+AuWBgteVZ4Nb/xNsMu kXhhH0Xbmxic96NLhNBciD/Te2NySfx7YQHqAe90= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63889: scsi: scsi_transport_fc: Widen FPIN pname walker counter to u32 Date: Sun, 19 Jul 2026 16:55:49 +0200 Message-ID: <2026071941-CVE-2026-63889-b894@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=3812; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SbkbrXf3i+eIxZQozarxtyPMgH7XNiy0vV00PJ43o1Y=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxT3O5P4su1LLMaha9v2LOKS4nkyf/t2fF2BheijgQW Xzn7YMbHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRGjmGBat+eEk8Lf737sfG ieecz9jlaW5N2swwT3lX8aU7rCK8U0wM3uX1TS4PqiyZCQA= 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: scsi_transport_fc: Widen FPIN pname walker counter to u32 An adjacent Fibre Channel fabric actor that can deliver an FPIN ELS frame to an lpfc or qla2xxx Linux initiator can trigger a non-return in the generic FC transport. This is not a local userspace or IP network path; the attacker must be able to inject fabric traffic, for example as a compromised switch or fabric controller, or as a same-zone N_Port on a fabric that permits source spoofing. The Link-Integrity and Peer-Congestion FPIN walkers used a u8 loop counter against the 32-bit on-wire pname_count field, and did not bound pname_count by the descriptor body already validated by the TLV walker. A pname_count of 256 therefore wraps the counter and keeps the loop condition true indefinitely. Factor the shared pname_list[] walk into one helper, widen the counter to u32, and clamp pname_count against the entries that fit in the descriptor body before iterating. The Linux kernel CVE team has assigned CVE-2026-63889 to this issue. Affected and fixed versions =========================== Issue introduced in 5.11 with commit 3dcfe0de5a9752e646a61f4ce513ac059960c7c3 and fixed in 5.15.210 with commit 07776b7779c9426982c1ad74aad91bd531593790 Issue introduced in 5.11 with commit 3dcfe0de5a9752e646a61f4ce513ac059960c7c3 and fixed in 6.1.176 with commit 29f126f09e34a425b376b3646c89aa7cc18b142c Issue introduced in 5.11 with commit 3dcfe0de5a9752e646a61f4ce513ac059960c7c3 and fixed in 6.6.143 with commit 163bd704d7515c3df6c2e03bcba93d1db79edbff Issue introduced in 5.11 with commit 3dcfe0de5a9752e646a61f4ce513ac059960c7c3 and fixed in 6.12.93 with commit ee57b89e5da9fffbe0d26647e4ff0750dacb9943 Issue introduced in 5.11 with commit 3dcfe0de5a9752e646a61f4ce513ac059960c7c3 and fixed in 6.18.35 with commit 35461d23744175a78b6280293892cca357c22793 Issue introduced in 5.11 with commit 3dcfe0de5a9752e646a61f4ce513ac059960c7c3 and fixed in 7.0.12 with commit bdff76dff6ec23d6fe35812fa33e5c4ce2cdb770 Issue introduced in 5.11 with commit 3dcfe0de5a9752e646a61f4ce513ac059960c7c3 and fixed in 7.1 with commit a9a39233ec1fc9f97ea1340a4d09bb7ec2be5153 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-63889 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/scsi_transport_fc.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/07776b7779c9426982c1ad74aad91bd531593790 https://git.kernel.org/stable/c/29f126f09e34a425b376b3646c89aa7cc18b142c https://git.kernel.org/stable/c/163bd704d7515c3df6c2e03bcba93d1db79edbff https://git.kernel.org/stable/c/ee57b89e5da9fffbe0d26647e4ff0750dacb9943 https://git.kernel.org/stable/c/35461d23744175a78b6280293892cca357c22793 https://git.kernel.org/stable/c/bdff76dff6ec23d6fe35812fa33e5c4ce2cdb770 https://git.kernel.org/stable/c/a9a39233ec1fc9f97ea1340a4d09bb7ec2be5153