Description
In the Linux kernel, the following vulnerability has been resolved:

net: ethernet: mtk_eth_soc: unregister net_devices in case of probe failure

If register_netdev() fails for one of the MTK_MAX_DEVS devices in
mtk_probe(), the error path jumps to err_deinit_ppe, skipping
mtk_unreg_dev(). The previously registered net_devices are then freed by
mtk_free_dev() while still in NETREG_REGISTERED state, hitting the
BUG_ON(dev->reg_state != NETREG_UNREGISTERED).

Route the register_netdev() failure to err_unreg_netdev so the net_devices
registered so far are properly unregistered before being freed.
Published: 2026-10-18
Score: n/a
EPSS: n/a
KEV: No
Impact: Denial of Service via kernel crash
Action: Apply Patch
AI Analysis

Impact

This vulnerability is a defect in the MediaTek Ethernet driver within the Linux kernel. When the driver registers multiple network interfaces, a failure of register_netdev() for any device causes the error path to skip the proper cleanup of previously registered devices. The remaining devices are freed while still marked as registered, triggering the kernel BUG_ON that checks for an unregistered state and crashing the kernel. The bug was identified by the patch that reroutes the failure to an appropriate unregister routine.

Affected Systems

The flaw affects all Linux systems that include the MediaTek Ethernet driver in the kernel code base, regardless of distribution, as the knowledge base lists only 'Linux:Linux' with no specific version constraints. Because the CPE refers to the generic Linux kernel, any kernel release that has not applied the fix is eligible for exploitation. Administrators should therefore verify whether their kernel sources contain the mtk_eth_soc driver and whether the fix from the commit referenced in the advisory is present.

Risk and Exploitability

The vulnerability does not have a published CVSS score or EPSS value, and it is not cataloged in the CISA KEV, which suggests no confirmed exploitation activity. Nevertheless, a local attacker with the ability to influence the device probe sequence—such as through privileged code or by booting a custom kernel—could trigger the crash and cause a denial of service. The absence of remote exploitation evidence implies this is a local privilege escalation or denial vector, so the primary risk is system downtime until the driver is updated or disabled.

Generated by OpenCVE AI on October 18, 2026 at 18:23 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel update that contains the fix for the MediaTek Ethernet driver.
  • If an update is not available, blacklist or remove the mtk_eth_soc module to prevent it from loading at boot.
  • Restart the system and verify the module no longer loads; monitor logs for any error messages.

Generated by OpenCVE AI on October 18, 2026 at 18:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 18:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-378
CWE-399

Sun, 18 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: ethernet: mtk_eth_soc: unregister net_devices in case of probe failure If register_netdev() fails for one of the MTK_MAX_DEVS devices in mtk_probe(), the error path jumps to err_deinit_ppe, skipping mtk_unreg_dev(). The previously registered net_devices are then freed by mtk_free_dev() while still in NETREG_REGISTERED state, hitting the BUG_ON(dev->reg_state != NETREG_UNREGISTERED). Route the register_netdev() failure to err_unreg_netdev so the net_devices registered so far are properly unregistered before being freed.
Title net: ethernet: mtk_eth_soc: unregister net_devices in case of probe failure
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-18T15:19:40.320Z

Reserved: 2026-09-25T10:25:14.360Z

Link: CVE-2026-98620

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:14.890

Modified: 2026-10-18T16:17:14.890

Link: CVE-2026-98620

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T18:30:14Z

Weaknesses
  • CWE-378

    Creation of Temporary File With Insecure Permissions

  • CWE-399