{"id":"CVE-2026-99195","summary":"net: ethoc: move setting of netops to fix crash","details":"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-\u003enetdev_ops is assigned. phy_attach_direct() -\u003e\nphy_link_topo_add_phy() reads dev-\u003enetdev_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\").","modified":"2026-10-30T02:47:24.178699710Z","published":"2026-10-28T10:35:51.485Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99195.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/c51b13299b4d45226efb09e532fb33e7109f78d7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c9f8ce62a5faa73515ff5457716bd7306d20fd93"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99195.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99195"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ded86da4bbb78cad74cecc368fee3ae3a296e2ca"},{"fixed":"c51b13299b4d45226efb09e532fb33e7109f78d7"},{"fixed":"c9f8ce62a5faa73515ff5457716bd7306d20fd93"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99195.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.2.0"},{"fixed":"7.2.13"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99195.json"}}],"schema_version":"1.9.2"}