{"id":"CVE-2026-99195","aliases":["CVE-2026-99195"],"related":[],"kind":"vulnerability","state":"published","title":"net: ethoc: move setting of netops to fix crash","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ethoc: move setting of netops to fix crash\n\nethoc_probe() calls ethoc_mdio_probe(), which connects the PHY,\nbefore netdev->netdev_ops is assigned. phy_attach_direct() ->\nphy_link_topo_add_phy() reads dev->netdev_ops through\nnetdev_need_ops_lock() since the commit in question, so probing crashes\nwith a NULL pointer dereference when CONFIG_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: ethoc: move setting of netops to fix crash\n\nethoc_probe() calls ethoc_mdio_probe(), which connects the PHY,\nbefore netdev->netdev_ops is assigned. phy_attach_direct() ->\nphy_link_topo_add_phy() reads dev->netdev_ops through\nnetdev_need_ops_lock() since the commit in question, so probing crashes\nwith a NULL pointer dereference when CONFIG_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:51.485Z","modified":"2026-10-28T11:17:40.547Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ded86da4bbb78cad74cecc368fee3ae3a296e2ca","fixed":"c51b13299b4d45226efb09e532fb33e7109f78d7","status":"affected"},{"type":"git","introduced":"ded86da4bbb78cad74cecc368fee3ae3a296e2ca","fixed":"c9f8ce62a5faa73515ff5457716bd7306d20fd93","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/c51b13299b4d45226efb09e532fb33e7109f78d7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c9f8ce62a5faa73515ff5457716bd7306d20fd93","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99195","url":"https://www.cve.org/CVERecord?id=CVE-2026-99195","licence":"CVE Terms of Use","modified":"2026-10-28T10:35:51.485Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99195","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99195","licence":"Public domain","modified":"2026-10-28T11:17:40.547Z"}],"updatedAt":"2026-11-25T22:59:47.597Z","epss":{"score":0.00145,"percentile":0.03989,"date":"2026-12-01T12:00:22.000Z"}}