CVE-2026-99195

net: ethoc: move setting of netops to fix crash

Published Oct 28, 2026 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
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").

Analysis

AI-generated

Technical impact

A null pointer dereference occurs when the ethoc driver probes a PHY device; the network device operations structure is not yet assigned, so the PHY attach step dereferences a NULL pointer. This crash is triggered only when CONFIG_NET_SHAPER is enabled and leads to an immediate kernel panic, disabling networking and typically forcing a reboot.

Affected Systems

All Linux kernel builds that include the ethoc network driver with CONFIG_NET_SHAPER enabled and that have not yet incorporated the commit that assigns netdev_ops before attaching the PHY. Any kernel prior to the fix may be impacted.

Risk and Exploitability

The CVSS score of 4.4 marks the vulnerability as medium severity. The EPSS score of less than 1% indicates a low chance of exploitation, and the flaw is not listed in CISA KEV. The likely attack vector is local, such as an attacker with the ability to load or probe the ethoc driver. Based on the description, it is inferred that such an attacker could cause a kernel crash and local denial of service. While the likelihood of a successful exploit is low, the impact is significant if the bug is triggered.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that contains the commit moving netdev_ops before the PHY attachment, ensuring ethoc netdev_ops is assigned early
  • Rebuild or reconfigure the kernel to disable CONFIG_NET_SHAPER if a full patch is not immediately available
  • Disable or unload the ethoc driver on systems that do not require it to avoid accidental triggering of the crash

Generated by OpenCVE AI on November 3, 2026 at 02:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Description 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").
Title net: ethoc: move setting of netops to fix crash
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 28, 2026, 10:35 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 28, 2026, 11:17 AM
Modified
Oct 28, 2026, 11:17 AM
Severity
Moderate
Public date
Oct 28, 2026, 10:35 AM