CVE-2026-98620

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

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

Analysis

AI-generated

Technical impact

The 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 has a CVSS score of 4.4 and an EPSS score of <1%, and it is not listed in the CISA KEV, indicating no confirmed exploitation activity. Nevertheless, a local attacker able 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.

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.
  • Configure the kernel boot parameters or modprobe settings to disable loading of the mtk_eth_soc driver until a patch is applied.

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

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-378
CWE-399
Type Values Removed Values Added
Weaknesses CWE-617
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
Weaknesses CWE-378
CWE-399
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
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:22 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 18, 2026, 4:17 PM
Modified
Oct 19, 2026, 10:19 AM
Severity
Moderate
Public date
Oct 18, 2026, 12:00 AM