{"id":"CVE-2026-99199","aliases":["CVE-2026-99199"],"related":[],"kind":"vulnerability","state":"published","title":"net: hisilicon: hip04_eth: Move setting of netops to fix crash","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: hisilicon: hip04_eth: Move setting of netops to fix crash\n\nhip04_mac_probe() calls of_phy_connect() before ndev->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\nAssign netdev_ops before the PHY attach, as was done for emac in commit\n7c9f391ec89c (\"net: emac: move setting of netops to fix crash\").","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: hisilicon: hip04_eth: Move setting of netops to fix crash\n\nhip04_mac_probe() calls of_phy_connect() before ndev->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\nAssign netdev_ops before the PHY attach, as was done for emac in commit\n7c9f391ec89c (\"net: emac: move setting of netops to fix crash\").","source":"cvelist"}],"published":"2026-10-28T10:35:54.538Z","modified":"2026-10-28T11:17:41.007Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ded86da4bbb78cad74cecc368fee3ae3a296e2ca","fixed":"1c2f9c3a63baabfb965a23a00f026f3ddcaadb24","status":"affected"},{"type":"git","introduced":"ded86da4bbb78cad74cecc368fee3ae3a296e2ca","fixed":"0d9342701f14ec0a9465772b7cd5d515c1ecd818","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.2","status":"unaffected"},{"type":"semver","introduced":"7.2.13","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/1c2f9c3a63baabfb965a23a00f026f3ddcaadb24","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0d9342701f14ec0a9465772b7cd5d515c1ecd818","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99199","url":"https://www.cve.org/CVERecord?id=CVE-2026-99199","licence":"CVE Terms of Use","modified":"2026-10-28T10:35:54.538Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99199","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99199","licence":"Public domain","modified":"2026-10-28T11:17:41.007Z"}],"updatedAt":"2026-11-25T22:59:47.597Z","epss":{"score":0.00145,"percentile":0.03989,"date":"2026-12-01T12:00:22.000Z"}}