net: ethoc: move setting of netops to fix crash
In the Linux kernel, the following vulnerability has been resolved: net: ethoc: move setting of netops to fix crash ethoc_probe() calls ethoc_mdio_probe(), which connects the PHY, before netdev->netdev_ops is assigned. phy_attach_direct() -> phy_link_topo_add_phy() reads dev->netdev_ops through netdev_need_ops_lock() since the commit in question, so probing crashes with a NULL pointer dereference when CONFIG_NET_SHAPER is enabled. Assign netdev_ops before the PHY attach, as was done for emac in commit 7c9f391ec89c ("net: emac: move setting of netops to fix crash").
- Products
- Linux
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-99195
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 02:45 UTC · Revision 1
Source evidence
net: ethoc: move setting of netops to fix crash
core-cve · Original sourcePublished 28 Oct 2026, 10:35 UTC
In the Linux kernel, the following vulnerability has been resolved: net: ethoc: move setting of netops to fix crash ethoc_probe() calls ethoc_mdio_probe(), which connects the PHY, before netdev->netdev_ops is assigned. phy_attach_direct() -> phy_link_topo_add_phy() reads dev->netdev_ops through netdev_need_ops_lock() since the commit in question, so probing crashes with a NULL pointer dereference when CONFIG_NET_SHAPER is enabled. Assign netdev_ops before the PHY attach, as was done for emac in commit 7c9f391ec89c ("net: emac: move setting of netops to fix crash").
cve:CVE-2026-99195
Linux
Fixed versions: Not specified
Linux
Fixed versions: Not specified
Complete source record
{
"id": "a5804c41ef4f9ac9171d08eb5863e65310e90be40042dc31f2e9ad7fcc683f91",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-99195",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "net: ethoc: move setting of netops to fix crash",
"summary": "In the Linux kernel, the following vulnerability has been resolved: net: ethoc: move setting of netops to fix crash ethoc_probe() calls ethoc_mdio_probe(), which connects the PHY, before netdev->netdev_ops is assigned. phy_attach_direct() -> phy_link_topo_add_phy() reads dev->netdev_ops through netdev_need_ops_lock() since the commit in question, so probing crashes with a NULL pointer dereference when CONFIG_NET_SHAPER is enabled. Assign netdev_ops before the PHY attach, as was done for emac in commit 7c9f391ec89c (\"net: emac: move setting of netops to fix crash\").",
"evidence": "cve:CVE-2026-99195",
"products": [
{
"name": {
"value": "Linux",
"evidence": "/containers/cna/affected/0/product"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
},
{
"name": {
"value": "Linux",
"evidence": "/containers/cna/affected/1/product"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-99195",
"aliases": [
"CVE-2026-99195"
],
"metrics": [],
"affected": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "ded86da4bbb78cad74cecc368fee3ae3a296e2ca",
"lessThan": "c51b13299b4d45226efb09e532fb33e7109f78d7",
"versionType": "git"
},
{
"status": "affected",
"version": "ded86da4bbb78cad74cecc368fee3ae3a296e2ca",
"lessThan": "c9f8ce62a5faa73515ff5457716bd7306d20fd93",
"versionType": "git"
}
],
"programFiles": [
"drivers/net/ethernet/ethoc.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "7.2"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "7.2",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "7.2.13",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/net/ethernet/ethoc.c"
],
"defaultStatus": "affected"
}
],
"modified": "2026-10-28T10:35:51.485Z",
"provider": "cve",
"references": [
"https://git.kernel.org/stable/c/c51b13299b4d45226efb09e532fb33e7109f78d7",
"https://git.kernel.org/stable/c/c9f8ce62a5faa73515ff5457716bd7306d20fd93"
],
"provider_metadata": {
"cna": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-10-28T10:35:51.485Z"
}
}
},
"related_cves": [
{
"value": "CVE-2026-99195",
"evidence": "/cveMetadata/cveId"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-cve",
"document_id": 425370,
"published_at": "2026-10-28T10:35:51.485+00:00"
}