CVE-2026-99197

net: mv643xx: 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: mv643xx: move setting of netops to fix crash

mv643xx_eth_probe() connects the PHY before dev->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

The flaw lies in the order that the mv643xx Ethernet driver initializes its network operations and attaches the physical layer. During probe, the driver connects the PHY before its netdev_ops structure is assigned. When the CONFIG_NET_SHAPER option is enabled, phy_link_topo_add_phy reads the incomplete netdev_ops pointer, causing a null pointer dereference that leads to a kernel panic. The resulting denial of service arises from a crash, disabling network services and potentially the entire system.

Affected Systems

All Linux kernels that include the mv643xx driver and are built with the CONFIG_NET_SHAPER configuration are affected. The issue is present until the patch that moves the netdev_ops assignment before the PHY attachment is applied. No specific kernel version numbers are listed, so any release before the fix is susceptible.

Risk and Exploitability

The vulnerability results in a local denial of service; it does not provide remote code execution or privilege escalation capabilities. The risk is moderate because the attacker must be able to load the driver or reboot the system with the offending configuration, a scenario typical of local or privileged users. No exploit is publicly known and the EPSS score is < 1%. The CVSS score is 4.4, indicating moderate severity. The issue is not listed in the CISA KEV catalog. The likely attack vector is exploiting the crash during system startup or network reconfiguration when CONFIG_NET_SHAPER is enabled.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the commit that assigns netdev_ops before the PHY attach
  • Rebuild or reinstall the kernel with the fixed mv643xx driver if a full update is not available
  • If the net shaper function is unnecessary, disable CONFIG_NET_SHAPER in the kernel configuration to eliminate the crash path

Generated by OpenCVE AI on October 29, 2026 at 16:28 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: mv643xx: move setting of netops to fix crash mv643xx_eth_probe() connects the PHY before dev->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: mv643xx: 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, 12:00 AM