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 343763A1A2D for ; Sun, 19 Jul 2026 15:01:54 +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=1784473315; cv=none; b=jTNfQTomdZiW8D1anmLYB0jHLnr3M22s5gWDqoWvvO36cqPxW3XIAtJ8wEbQ4wMkwAlsfffz7+BELqcIyL8WG//rb9OPXGRz5EtD3MQPgvXVa9dSRHHLt3SYaK76kX+0ikWrQKSx+qtDoaDysKqBHHdR6ADiK7F2eGXtCqXzkXg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473315; c=relaxed/simple; bh=oq+aZwM7K0bi2ZGmoBatET3qUuEt00xqmoW0yd6Ferk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kV02APjK2gqKQBBPzd0WKsUqwe1a9BgZAE00tRb5gRk+6mhTYU0hwiFscl8vMKQ4pylVA1jcZOG8bL3gNTsy3X3XxVVHE5zqMM7XBA9CLi7//iLOOzvUSa3ocRW7xO9wtwAfmmXN/tcqYj9ZFD3B6IcEnsOiOCaTvE5KS9/qrWc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=VxcWGd/r; 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="VxcWGd/r" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9865B1F000E9; Sun, 19 Jul 2026 15:01:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784473314; bh=HtCtJV/ROgMpFf3CeMTMYLNV5ELUPiab2mwV7P33QuM=; h=From:To:Cc:Subject:Date:Reply-To; b=VxcWGd/rgpOmJK1GW4Mg4KBFLgEyRdlcdZ+dxNFVhba3aVcsRWHGKHBg6/++ysqqJ 5gF3bgcS1IJro6RK5oIfYX2mHtUucsK2tdcq623IHiILvIDFGbB2ux/SEgsbmaJ45n 8fCJmx8aoAOJS8gty8/QtF1SAyt558SZGRq1oqiM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63972: net: mana: Skip redundant detach on already-detached port Date: Sun, 19 Jul 2026 16:57:12 +0200 Message-ID: <2026071900-CVE-2026-63972-403c@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=2594; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=LGGOc+JIyHHxD73FXt6xttqHBujddWDj6gbHOPa0kOI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxTxu8t91wP7Ph88lLWxddS3zAm/y+x+b1dKdN00Ijn nPc1hMy6ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ1JoyLJihuGHekQp7xw5n 9V2i8SKNR4xaFBnmx39N/95+MrHpQ3zypHKGyHXBwcenAwA= 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: Skip redundant detach on already-detached port When mana_per_port_queue_reset_work_handler() runs after a previous detach succeeded but attach failed, the port is left in a detached state with apc->tx_qp and apc->rxqs already freed. Calling mana_detach() again unconditionally leads to NULL pointer dereferences during queue teardown. Add an early exit in mana_detach() when the port is already in detached state (!netif_device_present) for non-close callers, making it safe to call idempotently. This allows the queue reset handler and other recovery paths to simply retry mana_attach() without redundant teardown. The Linux kernel CVE team has assigned CVE-2026-63972 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18.33 with commit fb9f98e1041a30dd5766620a2a64cb472b54caa9 and fixed in 6.18.35 with commit c4152b4e28b3e550ec99351bf900e2c24c2608cc Issue introduced in 7.0 with commit 3b194343c25084a8d2fa0c0f2c9e80f3080fd732 and fixed in 7.0.12 with commit 7ae590797f9b5c240aaea5773f5f00977a42a846 Issue introduced in 7.0 with commit 3b194343c25084a8d2fa0c0f2c9e80f3080fd732 and fixed in 7.1 with commit 5b05aa36ee24297d7296ca58dfd8c448d0e4cda3 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-63972 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/c4152b4e28b3e550ec99351bf900e2c24c2608cc https://git.kernel.org/stable/c/7ae590797f9b5c240aaea5773f5f00977a42a846 https://git.kernel.org/stable/c/5b05aa36ee24297d7296ca58dfd8c448d0e4cda3