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 E4F553A1A29 for ; Sun, 19 Jul 2026 15:01:56 +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=1784473318; cv=none; b=ZdbJQavqHYJVvIutuSA1yBxKBmzQo3TNssDhqHECuZZ6w0/Sxd33YvVrmU2bdxnMm8QYZrX7X/OQqOkWo8N6i54AfW/5rMV9BCfyKYil/sVJDPIvwz6bvvY0juQJfNUcKqwE7stAfH+Sp1kLOzc8lUnk2kdwo2k7Wmg6KKiQlJg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473318; c=relaxed/simple; bh=0Z3U3ihwBp/E0zH591qN2wZOLMrHAy7WPtv9jQ1gqg8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aj1I1kWaOua5ScuxRcvuCDaFtVfwbhlqPY7usktO2OSpDMHesBnIozYqmrLSE+XQHupTJ+IlnEDiCzjfVdsQ0sKKJBYlS0QaVUooMiB24k/ERTxuuCRXUPffsW3FxzLuQ9jgyT1b4VFnUBqaA9HBCRFHpCLyAIqiZSv88FufGoY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yzTcB+xL; 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="yzTcB+xL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 540F71F000E9; Sun, 19 Jul 2026 15:01:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784473316; bh=royBL5YvItgszTPob6a3WzSpEq0atQvoMU7aCH7No/8=; h=From:To:Cc:Subject:Date:Reply-To; b=yzTcB+xLl5spFcuy4CO20TMsat87lLeiKGUJQ2/QCaCfi7+9loCR2jxHaeCjtB8Xh 8/yZ181uUGUKnCrUqxnM/IwIB3K7eta9UYJPgaG95LrZUiZ+g4bSgNCtfgh0Wm59TF i6EdAd42JbWBB3t5NvB5AThxb42N18qpNDtrn3NM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63973: net: mana: Add NULL guards in teardown path to prevent panic on attach failure Date: Sun, 19 Jul 2026 16:57:13 +0200 Message-ID: <2026071900-CVE-2026-63973-1018@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=3637; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WZyZbsr10pTTis5JmFww9QhgVF83e2LIlvJpbv40uUw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxTxsywp4K//3u8VBi6dNIhmOnMld8mZjTlcD7502Xs +DOxf61HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR+hiGuWLx81pK5U5/3/bx vPSze5pZx3nm3WRYcFy8Sah78vZ7okLWIgWHHznneq47AAA= 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: net: mana: Add NULL guards in teardown path to prevent panic on attach failure When queue allocation fails partway through, the error cleanup frees and NULLs apc->tx_qp and apc->rxqs. Multiple teardown paths such as mana_remove(), mana_change_mtu() recovery, and internal error handling in mana_alloc_queues() can subsequently call into functions that dereference these pointers without NULL checks: - mana_chn_setxdp() dereferences apc->rxqs[0], causing a NULL pointer dereference panic (CR2: 0000000000000000 at mana_chn_setxdp+0x26). - mana_destroy_vport() iterates apc->rxqs without a NULL check. - mana_fence_rqs() iterates apc->rxqs without a NULL check. - mana_dealloc_queues() iterates apc->tx_qp without a NULL check. Add NULL guards for apc->rxqs in mana_fence_rqs(), mana_destroy_vport(), and before the mana_chn_setxdp() call. Add a NULL guard for apc->tx_qp in mana_dealloc_queues() to skip TX queue draining when TX queues were never allocated or already freed. The Linux kernel CVE team has assigned CVE-2026-63973 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f and fixed in 6.1.176 with commit da7e4a1aaf397af6a094f640c92d6bc7564c10db Issue introduced in 5.13 with commit ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f and fixed in 6.6.143 with commit 95e414f8324385771bdfd6d497a01d5593813ccb Issue introduced in 5.13 with commit ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f and fixed in 6.12.93 with commit 26a96fa81496afe7d162d172ccdc8cb9dbc685d2 Issue introduced in 5.13 with commit ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f and fixed in 6.18.35 with commit da87896f34e0a51489811d1a684e2953099ca98f Issue introduced in 5.13 with commit ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f and fixed in 7.0.12 with commit 0a9c520fdcb1cb2e79c163c12d359b5e1ee40007 Issue introduced in 5.13 with commit ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f and fixed in 7.1 with commit 17bfe0a8c014ee1d542ad352cd6a0a505361664a 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-63973 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/microsoft/mana/mana_en.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/da7e4a1aaf397af6a094f640c92d6bc7564c10db https://git.kernel.org/stable/c/95e414f8324385771bdfd6d497a01d5593813ccb https://git.kernel.org/stable/c/26a96fa81496afe7d162d172ccdc8cb9dbc685d2 https://git.kernel.org/stable/c/da87896f34e0a51489811d1a684e2953099ca98f https://git.kernel.org/stable/c/0a9c520fdcb1cb2e79c163c12d359b5e1ee40007 https://git.kernel.org/stable/c/17bfe0a8c014ee1d542ad352cd6a0a505361664a