Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793187715; b=4z7YSoOys4TUV08180ZeDnZw57nEVCGncBUIslGpLEXWopASGEs+2eX0OkkAnKZkLf+G 7sQkvtcFvlJ7znkLfa0XSFMIxvxmcIleOReUXjO8fXZLCX9ueFr4mvKgQrNUHbz/QhxWv mUv0JLZ/eJ/ZsEv1EDNpxE+mWNSeacA3+sDcEUOVdoSdWrZ46uoVxjtVkZbMei9ka10OH 4QmDOtwOWlCybMlomz5fiAw/ftNVGrVDF8dIGbsqW5PNnI1tGgFUkNUksq3oBig6+2vFW GWWFgv9V9fIxIjnygnIBXZrj5FOGoSpRbcTW+ILUTda7dK6i+PtXiFESJBAeSlauQuQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793187715; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=KZx4syj0JSqboBWGWLnEtUHEYw5++Gp8qb5u2Y87ACA=; b=l7ljWNRLgFg/zMA2aTaJFYrdIq6RG4yir1qL39I3e+PJtxHS5t4A0lrXis7zFW/Fez0F GhOtB4TCLdLYWjUO80Rte/8nGEMc7perHbOmtDF0fjd31K4oiqV5lOBVsDnNHdvNv7WEd C7gnevxHaM92+LsrmWNmSNuhRER+7HjU+1sV2i7c3lby6uUF8WrYXAoaD1JBREnBtv/Mw eRuMf4mwfowOOIjDsfagbX8mBgdqObDJGzdX4YOZkQST8YqgOWUaKKJ6ycbJvdSdq1EPB On/t5QDugiZNkJ257nJVZD0fUX1R/sONEQddN8KyFB/S8krBCrMtjb0Y05KoEbw2BfA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=t7f6bWVJ; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E6A8C606A31A for ; Wed, 28 Oct 2026 11:41:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=t7f6bWVJ Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3591E1F01825; Wed, 28 Oct 2026 11:41:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793187714; bh=KZx4syj0JSqboBWGWLnEtUHEYw5++Gp8qb5u2Y87ACA=; h=From:To:Cc:Subject:Date:Reply-To; b=t7f6bWVJf5OV/MZQ1To8jyB2RNfVodPhS9KrJXWXObcOF0BFPM3hQxc2r3/y4oBsD ROWpr2wcEO0DC9KoddyeQXBHWZ32kKnmWYGcWPlrgQW1dA4uLi39xY0H95gSSuNDzu ZlNHHGo55feE2WlyxpTncXmrY76mRJNrFR9+Zvao= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99200: net: hisilicon: hisi_femac: Move setting of netops to fix crash Date: Wed, 28 Oct 2026 11:36:27 +0100 Message-ID: <2026102813-CVE-2026-99200-acf1@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2423; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=TQMwGlS4l4pgYbnPnmOyTmUaxah8Y/ZBhHPu5nIy2lE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkPzz9UlmJ5dez+Tp43Us5fVMXCNHWiz15I651/Tz6NW TW3ry+5I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYS6sawYNOZ9pMihwVeGfw/ JXWjPSmzKe5jDMOCrW+VDTX6P5qm1PMdvrd01dH5PxO2AgA= 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: hisilicon: hisi_femac: Move setting of netops to fix crash hisi_femac_drv_probe() connects the PHY before dev->netdev_ops is assigned. phy_attach_direct() -> phy_link_topo_add_phy() reads dev->netdev_ops through netdev_need_ops_lock() since the commit in question, so probing crashes with a NULL pointer dereference when CONFIG_NET_SHAPER is enabled. phy_link_topo_add_phy from phy_attach_direct+0xec/0x37c of_phy_get_and_connect from hisi_femac_drv_probe+0x1f4/0x558 Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b Assign netdev_ops before the PHY attach, as was done for emac in commit 7c9f391ec89c ("net: emac: move setting of netops to fix crash"). The Linux kernel CVE team has assigned CVE-2026-99200 to this issue. Affected and fixed versions =========================== Issue introduced in 7.2 with commit ded86da4bbb78cad74cecc368fee3ae3a296e2ca and fixed in 7.2.13 with commit 06ef5b084b150c538bc84148e5d710eee012413c Issue introduced in 7.2 with commit ded86da4bbb78cad74cecc368fee3ae3a296e2ca and fixed in 7.3 with commit 444889dfa27b54b39026e962464b1f8f9093e1ea 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-99200 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/hisilicon/hisi_femac.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/06ef5b084b150c538bc84148e5d710eee012413c https://git.kernel.org/stable/c/444889dfa27b54b39026e962464b1f8f9093e1ea