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 813F6314A62 for ; Thu, 18 Sep 2025 16:05:58 +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=1758211558; cv=none; b=tFuu7jetsY0cfkfsHC85osx1+OP4w8EiaUelRHc0lP+iUO5QkjBvC+yvv36cxt7NUIIB7eqOpWHZvKCnVor6BT8P7jh7E4lgCMxK8Uw+b+fOFfByZVGD7qDfdqeBXcSz8k8p/Q7d6Acul39UfmwsJ1rX4iKF1ZISUC0QKvjCFVY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758211558; c=relaxed/simple; bh=U+JgV5kCS0Rc+AVzSt6yxZwkT2FQhaSQFw17zXlRbvM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lg4odAt6Arknykm5JckArRm1Rgjz4+HgxCHHa65CfM1/qblOUhXDkF3ZCyTWZ8Q4o3p7yjEexNPHhvh5AwwjgPPWLuW0Aoa+lqwoJcRB6/jm1iX/7Z1HImS9EEEoy+7bofnLM4dneQGTI+4gpyUP+Pwg4XEhI1ivxxxkhmOq73E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=em8orgBs; 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="em8orgBs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6566C4CEE7; Thu, 18 Sep 2025 16:05:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758211558; bh=U+JgV5kCS0Rc+AVzSt6yxZwkT2FQhaSQFw17zXlRbvM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=em8orgBs9k9efmhcRq6mCxAJJmwCdFqpVsL0UfWPk+R5QxI7PfCzSMqDifPZMEM+f wjZ6yAatdSPtlt7D8tpSL7X3qGo+ZulZXc1p+D8lT+5Y6YneI7hq3Odh6+Ik3YTxeb cOgF13ToGvmyg+tOixt2q1zf6DwLeFO4I0QTsj+E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53442: ice: Block switchdev mode when ADQ is active and vice versa Date: Thu, 18 Sep 2025 18:04:33 +0200 Message-ID: <2025091859-CVE-2023-53442-8a1f@gregkh> X-Mailer: git-send-email 2.51.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=2318; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VAmc/IMyejWip1ztQHX0RexYRroYdv92L4kgUZxs6Hg=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlndPN5dzlsCX5uViT9+mRR+VlbceZD1t02+irdkxcZ8 LGliLN0xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwEQmcTAsOL1Gyb8lyMjqsOLc u/d9W89yauk5MswVjcqo+RG562nXCfGpPpzb9KIevLYEAA== 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: Block switchdev mode when ADQ is active and vice versa ADQ and switchdev are not supported simultaneously. Enabling both at the same time can result in nullptr dereference. To prevent this, check if ADQ is active when changing devlink mode to switchdev mode, and check if switchdev is active when enabling ADQ. The Linux kernel CVE team has assigned CVE-2023-53442 to this issue. Affected and fixed versions =========================== Issue introduced in 5.16 with commit fbc7b27af0f9fb181811424e29caf6825594a841 and fixed in 6.1.47 with commit 1c82d1b736ce85e77fd4da05eca6f1f4a52a2bc3 Issue introduced in 5.16 with commit fbc7b27af0f9fb181811424e29caf6825594a841 and fixed in 6.4.12 with commit 24f0d69da35d812b3a1104918014a29627140cb1 Issue introduced in 5.16 with commit fbc7b27af0f9fb181811424e29caf6825594a841 and fixed in 6.5 with commit 43d00e102d9ecbe2635d7e3f2e14d2e90183d6af 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-2023-53442 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_eswitch.c drivers/net/ethernet/intel/ice/ice_main.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/1c82d1b736ce85e77fd4da05eca6f1f4a52a2bc3 https://git.kernel.org/stable/c/24f0d69da35d812b3a1104918014a29627140cb1 https://git.kernel.org/stable/c/43d00e102d9ecbe2635d7e3f2e14d2e90183d6af