Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 172021CD15 for ; Fri, 18 Apr 2025 07:02:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744959747; cv=none; b=bJQP9bs4RwRXP2GWTEfbMiCtKqPsXIrjLAIXmYY+NROGtReypu0MREmcbsOO2z5iBBMHZNRQ1BLEU/8efvS94S98pefPIg2+YWwfRmemNcbB/GqGBfy8zArNUBeMYRuS7vdG6jgH1U8TiBg0ElF+XpFgyGQXtxDZ6oZSmGb+V14= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744959747; c=relaxed/simple; bh=s9R6MIziom6Trx2UmQedXneUMlM6SUrynQs4UDcGPXM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LZG85r4+Q9FzofZatZQKgSVMy0C2ynI/GW+8heItkhYUl/i6rlBmdOEEEf5PLx4m8wNaIrlpZB68xvN6j8SRuGdoF2KtkG7VXGZLKBSlNrEFsxjjLI6eEc6YIvCFuvSYGv6nnpbue5oHvR/XG1B6toJijG7uVfm3eJ3s0ytSqQE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mqpGU3a5; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="mqpGU3a5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1BEA6C4CEE2; Fri, 18 Apr 2025 07:02:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744959746; bh=s9R6MIziom6Trx2UmQedXneUMlM6SUrynQs4UDcGPXM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=mqpGU3a55lZtYxubWIMdEjlpLGj2uqIXMU4aKlIrYVBsD7rG05IjolGMgqO4YBYVX 9E6z2j0Y/Pwxs1VcOpCjqqEmdFpPNQ9VgKRjFTN6o2dtE12Qed4GLFqs2MVacFYw0i csg+WB2UEH3d9A6sdy+sx9QcFESLo7RYraSvC/tY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37860: sfc: fix NULL dereferences in ef100_process_design_param() Date: Fri, 18 Apr 2025 09:02:15 +0200 Message-ID: <2025041816-CVE-2025-37860-9af2@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2142; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=mof8XExmRFB9x51jvXEoNe88Kkvl6cEqaQi9QZvF9TE=; b=owGbwMvMwCRo6H6F97bub03G02pJDBmMP37EfVr721Nlv+mh6/ys9Uc+3lG/9l56/8O74XMW8 0wNuzD/Z0csC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBM5IEzw4KrTyXurpwgrxf6 p61JUOXCHFXODh6G+T6Hcv7+dAnpUuJh2PXRekr+uuMr+wA= 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: sfc: fix NULL dereferences in ef100_process_design_param() Since cited commit, ef100_probe_main() and hence also ef100_check_design_params() run before efx->net_dev is created; consequently, we cannot netif_set_tso_max_size() or _segs() at this point. Move those netif calls to ef100_probe_netdev(), and also replace netif_err within the design params code with pci_err. The Linux kernel CVE team has assigned CVE-2025-37860 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit 98ff4c7c8ac7f5339aac6114105395fea19f992e and fixed in 6.14.2 with commit e56391011381d6d029da377a65ac314cb3d5def2 Issue introduced in 6.0 with commit 98ff4c7c8ac7f5339aac6114105395fea19f992e and fixed in 6.15-rc1 with commit 8241ecec1cdc6699ae197d52d58e76bddd995fa5 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-2025-37860 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/net/ethernet/sfc/ef100_netdev.c drivers/net/ethernet/sfc/ef100_nic.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/e56391011381d6d029da377a65ac314cb3d5def2 https://git.kernel.org/stable/c/8241ecec1cdc6699ae197d52d58e76bddd995fa5