CVE-2026-43219 Details
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.
A vulnerability in the Linux kernel's CPSW (Ethernet) driver could lead to an improper unregistration of a network device that has not been successfully registered. This issue arises in the 'cpsw_register_ports()' function, where an error during the registration process for the first MAC can leave the second MAC's network device pointer unchanged. Consequently, the 'cpsw_unregister_ports()' function may attempt to unregister a device that was never properly registered. The vulnerability affects the Linux kernel stable tree.
The vulnerability has been addressed by adding a check for the network device's registration state before calling the unregistration function. This modification ensures that only properly registered devices are unregistered, preventing the issue from occurring.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.5, < 6.18.16 >= 6.19, < 6.19.6 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 4, 2026 | CVE Modified | kernel.org |
| Jun 19, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 9, 2026 | CVE Modified | kernel.org |
| May 12, 2026 | Initial Analysis | [email protected] |
| May 6, 2026 | New CVE Received | kernel.org |