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

net: cpsw_new: Fix potential unregister of netdev that has not been registered yet

If an error occurs during register_netdev() for the first MAC in
cpsw_register_ports(), even though cpsw->slaves[0].ndev is set to NULL,
cpsw->slaves[1].ndev would remain unchanged. This could later cause
cpsw_unregister_ports() to attempt unregistering the second MAC.
To address this, add a check for ndev->reg_state before calling
unregister_netdev(). With this change, setting cpsw->slaves[i].ndev
to NULL becomes unnecessary and can be removed accordingly.
Published: 2026-05-06
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The bug in the Linux kernel’s cpsw_new driver allows an erroneous call to unregister a network device that has never been registered. If an error occurs during the registration of the first MAC address, the driver may later attempt to unregister the second MAC, which could then reference a null or uninitialized interface and trigger a kernel panic. This flaw represents a logic or validation error rather than an information disclosure or remote code execution flaw; an attacker would need to cause the register_netdev failure locally to exploit it.

Affected Systems

All Linux kernel builds that include the cpsw_new driver – the issue was fixed by the commit that added a check for the device’s registration state before calling unregister_netdev. No specific version range is listed, so any kernel revision prior to the patch is potentially vulnerable.

Risk and Exploitability

The CVSS score of 5.5 indicates a moderate severity. The EPSS score of <1% indicates a very low probability of exploitation. The flaw necessitates a local or privileged context to trigger the error during network device registration. If exploited, it causes a kernel crash, resulting in a loss of availability. The vulnerability is not listed in the CISA KEV catalog, implying no known public exploits at the time of analysis.

Generated by OpenCVE AI on May 12, 2026 at 21:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes the patched cpsw_new driver (commit that adds the registration state check).
  • If an immediate kernel upgrade is not possible, rebuild the kernel or compile the network device driver excluding the vulnerable cpsw_new path or apply the patch manually to the source tree.
  • As a temporary measure, disable the cpsw_new driver or the affected network interface if it is not required for operation, thereby preventing the bug from being triggered.

Generated by OpenCVE AI on May 12, 2026 at 21:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 12 May 2026 19:15:00 +0000

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
Metrics cvssV3_1

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


Fri, 08 May 2026 02:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-703

Fri, 08 May 2026 00:15:00 +0000


Wed, 06 May 2026 15:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-703

Wed, 06 May 2026 12:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: cpsw_new: Fix potential unregister of netdev that has not been registered yet If an error occurs during register_netdev() for the first MAC in cpsw_register_ports(), even though cpsw->slaves[0].ndev is set to NULL, cpsw->slaves[1].ndev would remain unchanged. This could later cause cpsw_unregister_ports() to attempt unregistering the second MAC. To address this, add a check for ndev->reg_state before calling unregister_netdev(). With this change, setting cpsw->slaves[i].ndev to NULL becomes unnecessary and can be removed accordingly.
Title net: cpsw_new: Fix potential unregister of netdev that has not been registered yet
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-05-11T22:20:18.535Z

Reserved: 2026-05-01T14:12:55.993Z

Link: CVE-2026-43219

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-05-06T12:16:41.543

Modified: 2026-05-12T19:12:37.900

Link: CVE-2026-43219

cve-icon Redhat

Severity :

Publid Date: 2026-05-06T00:00:00Z

Links: CVE-2026-43219 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-12T21:45:05Z

Weaknesses