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 881C6274FCB for ; Thu, 4 Sep 2025 15:35:26 +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=1757000126; cv=none; b=JdgVAceIV8MWnlMX80Yl9gfEb7Lnybmg0WjSdXW5swZjVAvdEYe4OhEYF+N0O64Jwjri8yRMDQKQt1NEnVu632/qNk4FzQfe2zO43b5qRY158EkW73/kW75/iorAE+ctRxdvU6j/TwikHegTe/TlWUopMwxgkcjwD7qBEfJSHk8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757000126; c=relaxed/simple; bh=eOanC+m/yLOdDJMZrQqI27d7Fq9aw+WqRvPo8HBQLmY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Z+xN63D91SbfRof/36EK3I/OqSSSJEq7ZgCN2stuJ60d1/aWrUZV7cNQ9iE0GH7Wphy5N7MK5JoLmW3wv9vlVG4vmKliuNB+c+g5hQ2/vfOIlsxBFDMHHYR++Jn+VYbVQ0FcvmwULPNyZR3oxl/5euJfkCZd6skl2d7+8WuFnUo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rrLzZ+KS; 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="rrLzZ+KS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10CF0C4CEF0; Thu, 4 Sep 2025 15:35:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757000126; bh=eOanC+m/yLOdDJMZrQqI27d7Fq9aw+WqRvPo8HBQLmY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=rrLzZ+KS4dzcIqfRnuILTitfvNSHlg8ohZ/e7QfDU/DlSGBQO+RE9xCtV+sRS4+gc iNDAeTjbA4IFgmER3bUaHnlYB9HgfjWseOKKesoOWq4KG6NkzHEx0aPNs6pN62f1HN ZK9kLxTR1qxymwdhvt42BqPAKDkaXyo5EhfkkdXw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38726: net: ftgmac100: fix potential NULL pointer access in ftgmac100_phy_disconnect Date: Thu, 4 Sep 2025 17:33:31 +0200 Message-ID: <2025090402-CVE-2025-38726-e4a8@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=2456; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Q7kaGbP2QHd77aTMWIKKpzgwtHKjuGxduhtxP36E/XY=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk7N+p5SooLWzXOSM+6eeGM/YvVj99lfZpR/8Q3lW3ly +5D3+/f6ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ6BxjmJ99IHUCn9XKOb7q V8ICtj/cO5HxoCXD/ND3aeVyR9+qOxk/nhmbvH7R16ImMwA= 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: ftgmac100: fix potential NULL pointer access in ftgmac100_phy_disconnect After the call to phy_disconnect() netdev->phydev is reset to NULL. So fixed_phy_unregister() would be called with a NULL pointer as argument. Therefore cache the phy_device before this call. The Linux kernel CVE team has assigned CVE-2025-38726 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit e24a6c874601efb3de6e535895dd8e4f56fa98f1 and fixed in 6.12.43 with commit ae59ec969c07c73f0610f8bd7e648f01e798d222 Issue introduced in 6.12 with commit e24a6c874601efb3de6e535895dd8e4f56fa98f1 and fixed in 6.15.11 with commit 44bcd397ad9cd1a6b25fabb7f5edbee4fb0cfc2e Issue introduced in 6.12 with commit e24a6c874601efb3de6e535895dd8e4f56fa98f1 and fixed in 6.16.2 with commit 9ad90dd34b4e8e5be1e45a4559f4de0f14e53af2 Issue introduced in 6.12 with commit e24a6c874601efb3de6e535895dd8e4f56fa98f1 and fixed in 6.17-rc1 with commit e88fbc30dda1cb7438515303704ceddb3ade4ecd 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-38726 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/faraday/ftgmac100.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/ae59ec969c07c73f0610f8bd7e648f01e798d222 https://git.kernel.org/stable/c/44bcd397ad9cd1a6b25fabb7f5edbee4fb0cfc2e https://git.kernel.org/stable/c/9ad90dd34b4e8e5be1e45a4559f4de0f14e53af2 https://git.kernel.org/stable/c/e88fbc30dda1cb7438515303704ceddb3ade4ecd