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 DCEBFBE46 for ; Sat, 16 Aug 2025 11:14:44 +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=1755342884; cv=none; b=luJEQPYuRh+eq5cNhSeHULLeNkAFyWr9u0WMZy35U9ZdDuYjfhJIqEUPEAGX7dxGGVrHUq63z1HNTFACkZbSmVg6LY0K4JM/9kKNHeG7lgib5JQ1rSx01tepdO9zKyXXDHLaknD4IQ4sd5CNkVa98ojT/G6E+hzJLxLlhkloiOI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755342884; c=relaxed/simple; bh=LViSD2dRqRaJibF6fMrexOC2JGBmQ93gdAhpK0u+z6U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KB0mz797N/wiQrGfD2QIirhS0mkuC39NgfhQ5czX6Y2nye/RR5OzXg8yM+yv9Bvcx/U0occjEqaxo+AgOezXHcnrGw6cZDgPtNKBYG8I7VDn2qxDVoFOqX70dHwZs8I0D240M2qar92uksl1s00SswWqLv1LB5AyxZ7VV/cfiXk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hqG8fO0v; 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="hqG8fO0v" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5ACDFC4CEEF; Sat, 16 Aug 2025 11:14:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755342884; bh=LViSD2dRqRaJibF6fMrexOC2JGBmQ93gdAhpK0u+z6U=; h=From:To:Cc:Subject:Date:Reply-to:From; b=hqG8fO0v0HRntXYq4ygW8NFHMXGy/Z2bhwrFixR5z8cGlx5Xxw3QDrkY/bXccg4/l TbMrTAxGR02JnvvsSNXFvY77WcLZXP96kSfbDh5LrOyYyKj9+XaUjd9hrU6kmA4xUz XYJG+HnU/Ki+itKp+6Ujs2sIAF1szNjdoTdIvyRk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38526: ice: add NULL check in eswitch lag check Date: Sat, 16 Aug 2025 13:13:57 +0200 Message-ID: <2025081653-CVE-2025-38526-f115@gregkh> X-Mailer: git-send-email 2.50.1 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=2476; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4bsINSHd5edNR3OV8L23rAhFB0kYjzX5fkvagUVkkpE=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkL0j+q/zYuEv3CePitjErqYdsps6zF5mmryZtJ2pw6r xG86b9CRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExk1wyGBY32v9wMXv6XPhvG 1NVaqNrzcGVeKMMc/tRvC94odXL6bGBctkUhaSa/YdQrAA== 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: ice: add NULL check in eswitch lag check The function ice_lag_is_switchdev_running() is being called from outside of the LAG event handler code. This results in the lag->upper_netdev being NULL sometimes. To avoid a NULL-pointer dereference, there needs to be a check before it is dereferenced. The Linux kernel CVE team has assigned CVE-2025-38526 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit 776fe19953b0e0af00399e50fb3b205101d4b3c1 and fixed in 6.6.100 with commit 27591d926191e42b2332e4bad3bcd3a49def393b Issue introduced in 6.6 with commit 776fe19953b0e0af00399e50fb3b205101d4b3c1 and fixed in 6.12.40 with commit 5a5d64f0eec82076b2c09fee2195d640cfbe3379 Issue introduced in 6.6 with commit 776fe19953b0e0af00399e50fb3b205101d4b3c1 and fixed in 6.15.8 with commit 245917d3c5ed7c6ae720302b64eac5c6f0c85177 Issue introduced in 6.6 with commit 776fe19953b0e0af00399e50fb3b205101d4b3c1 and fixed in 6.16 with commit 3ce58b01ada408b372f15b7c992ed0519840e3cf 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-38526 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/intel/ice/ice_lag.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/27591d926191e42b2332e4bad3bcd3a49def393b https://git.kernel.org/stable/c/5a5d64f0eec82076b2c09fee2195d640cfbe3379 https://git.kernel.org/stable/c/245917d3c5ed7c6ae720302b64eac5c6f0c85177 https://git.kernel.org/stable/c/3ce58b01ada408b372f15b7c992ed0519840e3cf