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 91542374C4 for ; Sun, 29 Dec 2024 08:49:20 +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=1735462160; cv=none; b=c0+3csj2rNqKF1Pbab0uMFpfqplgGmy4dQvZfw298/t6m8inUWMNJpyZEWsz3adkvzNeRx5EQoUtfXNjAaFiWZcFgeCX4hKS9GUAYrb+bMQ+CN6slHLAGFX9Ftd4TDbHpwgkFr6u21MJb1qKHBBHaWpZAofN5G8Sz5JNHFxTKVQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735462160; c=relaxed/simple; bh=F894u3PxfR9j2BUvBKK8Y7fiw0aK8xOAgK1IaLzr8eU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SKx9PmuP+cTT26578zNHilW1ERPtcrRU6NTnTkMr4YJPinHmJhCYbacelJEar7+NE/dj/ZIR9ShqWBYAmmYqirZG8sKPI328Q3TR+e4vspxMwjT285QFaopMRUuxcQ9QW4OwH5LagLIUiIwd0k3pIhk90Sb5tc7ndUPuBPVMT/U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0zffwh5Z; 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="0zffwh5Z" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 18AB9C4CED1; Sun, 29 Dec 2024 08:49:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735462160; bh=F894u3PxfR9j2BUvBKK8Y7fiw0aK8xOAgK1IaLzr8eU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=0zffwh5Zxlb+qI2IdJjUdvJUxQwAyomPddrZDVBqzpY1+NWeixraUubMEFgjPS6/8 qtzMl1PRtOE1LwdrpruRgIaysB159PxlOXLWQFYDFWKfOKNvrCEizW9LOGmVQgVVST 1vXhkxpkZd8uTYF4OJAK7S2WLDvBp2AEe3l2SgkQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56715: ionic: Fix netdev notifier unregister on failure Date: Sun, 29 Dec 2024 09:48:19 +0100 Message-ID: <2024122915-CVE-2024-56715-7db1@gregkh> X-Mailer: git-send-email 2.47.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=2468; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=F894u3PxfR9j2BUvBKK8Y7fiw0aK8xOAgK1IaLzr8eU=; b=owGbwMvMwCRo6H6F97bub03G02pJDOmFPOfvucy8ZnmzO/PuvT/SXys+mnsltD/5J6B8dL7Jx vn1FSsqO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiLRoM8916T1wXei/WK3zx m+7JIs4jGs/3fWGYzZ4+J65axnFm1a3Ff9jvCz5zb75bBQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: ionic: Fix netdev notifier unregister on failure If register_netdev() fails, then the driver leaks the netdev notifier. Fix this by calling ionic_lif_unregister() on register_netdev() failure. This will also call ionic_lif_unregister_phc() if it has already been registered. The Linux kernel CVE team has assigned CVE-2024-56715 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit 30b87ab4c0b30e0f681cb7dfaab6c642dd17e454 and fixed in 6.1.122 with commit da93a12876f8b969df7316dc93aac7e725f88252 Issue introduced in 5.10 with commit 30b87ab4c0b30e0f681cb7dfaab6c642dd17e454 and fixed in 6.6.68 with commit da5736f516a664a9e1ff74902663c64c423045d2 Issue introduced in 5.10 with commit 30b87ab4c0b30e0f681cb7dfaab6c642dd17e454 and fixed in 6.12.7 with commit ee2e931b2b46de9af7f681258e8ec8e2cd81cfc6 Issue introduced in 5.10 with commit 30b87ab4c0b30e0f681cb7dfaab6c642dd17e454 and fixed in 6.13-rc4 with commit 9590d32e090ea2751e131ae5273859ca22f5ac14 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-2024-56715 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/pensando/ionic/ionic_lif.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/da93a12876f8b969df7316dc93aac7e725f88252 https://git.kernel.org/stable/c/da5736f516a664a9e1ff74902663c64c423045d2 https://git.kernel.org/stable/c/ee2e931b2b46de9af7f681258e8ec8e2cd81cfc6 https://git.kernel.org/stable/c/9590d32e090ea2751e131ae5273859ca22f5ac14