{"id":"CVE-2026-99200","state":"PUBLISHED","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\").","publishedAt":"2026-10-28T10:35:55.323Z","updatedAt":"2026-10-28T10:35:55.323Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ded86da4bbb78cad74cecc368fee3ae3a296e2ca","status":"affected","lessThan":"06ef5b084b150c538bc84148e5d710eee012413c","versionType":"git"},{"version":"ded86da4bbb78cad74cecc368fee3ae3a296e2ca","status":"affected","lessThan":"444889dfa27b54b39026e962464b1f8f9093e1ea","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/hisilicon/hisi_femac.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.2","versionType":"semver"},{"version":"7.2.13","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/hisilicon/hisi_femac.c"]}],"references":["https://git.kernel.org/stable/c/06ef5b084b150c538bc84148e5d710eee012413c","https://git.kernel.org/stable/c/444889dfa27b54b39026e962464b1f8f9093e1ea"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99200.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99200","state":"PUBLISHED","datePublished":"2026-10-28T10:35:55.323Z","dateUpdated":"2026-10-28T10:35:55.323Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.400Z"},"containers":{"cna":{"title":"net: hisilicon: hisi_femac: Move setting of netops to fix crash","descriptions":[{"lang":"en","value":"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\")."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ded86da4bbb78cad74cecc368fee3ae3a296e2ca","status":"affected","lessThan":"06ef5b084b150c538bc84148e5d710eee012413c","versionType":"git"},{"version":"ded86da4bbb78cad74cecc368fee3ae3a296e2ca","status":"affected","lessThan":"444889dfa27b54b39026e962464b1f8f9093e1ea","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/hisilicon/hisi_femac.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.2","versionType":"semver"},{"version":"7.2.13","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/hisilicon/hisi_femac.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/06ef5b084b150c538bc84148e5d710eee012413c"},{"url":"https://git.kernel.org/stable/c/444889dfa27b54b39026e962464b1f8f9093e1ea"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-28T10:35:55.323Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2","versionEndExcluding":"7.2.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}