{"id":"CVE-2026-99200","revision":"eccdbd3aea1b4bdc926c37bd426e3ab4","records":[{"revision":"eccdbd3aea1b4bdc926c37bd426e3ab4","observedAt":"2026-10-28T11:27:43.363+00:00","statement":{"source":"cve-program","id":"CVE-2026-99200","aliases":[],"title":"net: hisilicon: hisi_femac: Move setting of netops to fix crash","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: hisilicon: hisi_femac: Move setting of netops to fix crash\n\nhisi_femac_drv_probe() connects the PHY before dev->netdev_ops is\nassigned. phy_attach_direct() -> phy_link_topo_add_phy() reads\ndev->netdev_ops through netdev_need_ops_lock() since the commit in\nquestion, so probing crashes with a NULL pointer dereference when\nCONFIG_NET_SHAPER is enabled.\n\n  phy_link_topo_add_phy from phy_attach_direct+0xec/0x37c\n  of_phy_get_and_connect from hisi_femac_drv_probe+0x1f4/0x558\n  Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b\n\nAssign netdev_ops before the PHY attach, as was done for emac in commit\n7c9f391ec89c (\"net: emac: move setting of netops to fix crash\").","state":0,"publishedAt":"2026-10-28T10:35:55.323+00:00","modifiedAt":"2026-10-28T10:35:55.323+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/ethernet/hisilicon/hisi_femac.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"ded86da4bbb78cad74cecc368fee3ae3a296e2ca\",\n                            \"lessThan\": \"06ef5b084b150c538bc84148e5d710eee012413c\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"ded86da4bbb78cad74cecc368fee3ae3a296e2ca\",\n                            \"lessThan\": \"444889dfa27b54b39026e962464b1f8f9093e1ea\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/ethernet/hisilicon/hisi_femac.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"7.2\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"7.2\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.13\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/06ef5b084b150c538bc84148e5d710eee012413c","https://git.kernel.org/stable/c/444889dfa27b54b39026e962464b1f8f9093e1ea"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-99200","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-99200","identifiers":["CVE-2026-99200"]},"retained":false,"historicalAffected":[]}],"coverage":[]}