{"id":"CVE-2026-99195","revision":"54050ec4dd734ee98f6b9deaf07237d7","records":[{"revision":"54050ec4dd734ee98f6b9deaf07237d7","observedAt":"2026-10-28T11:27:43.363+00:00","statement":{"source":"cve-program","id":"CVE-2026-99195","aliases":[],"title":"net: ethoc: move setting of netops to fix crash","description":"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\").","state":0,"publishedAt":"2026-10-28T10:35:51.485+00:00","modifiedAt":"2026-10-28T10:35:51.485+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/ethoc.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"ded86da4bbb78cad74cecc368fee3ae3a296e2ca\",\n                            \"lessThan\": \"c51b13299b4d45226efb09e532fb33e7109f78d7\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"ded86da4bbb78cad74cecc368fee3ae3a296e2ca\",\n                            \"lessThan\": \"c9f8ce62a5faa73515ff5457716bd7306d20fd93\",\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/ethoc.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/c51b13299b4d45226efb09e532fb33e7109f78d7","https://git.kernel.org/stable/c/c9f8ce62a5faa73515ff5457716bd7306d20fd93"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-99195","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-99195","identifiers":["CVE-2026-99195"]},"retained":false,"historicalAffected":[]}],"coverage":[]}