CVE-2026-43219

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

MEDIUM
5.5
CVSS Score
Published: May 6, 2026 at 11:28 AM UTC
Updated: July 4, 2026 at 12:24 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.5 ≤ v < 5.10.2605.5 ≤ v < 5.15.2105.5 ≤ v < 6.1.1765.5 ≤ v < 6.12.935.5 ≤ v < 6.18.165.5 ≤ v < 6.19.65.5 ≤ v < 6.6.1435.5 ≤ v < 7.06.19 ≤ v < 6.19.65.5ed3525eda4c4983fb8509e488de0a351788041ba
Vendor states this is fixed in 14645799ad5253a028cf662e2f9cd18a68f74b31 (fixed)
Vendor states this is fixed in 23acc565186ee27e788408cbd81b92730b6aaa3a (fixed)
Vendor states this is fixed in 29739ec197ed66535bc0b86f14ab66c5f4512138 (fixed)
Vendor states this is fixed in 349c4cac6f54a81fc107589771f88136a2b20415 (fixed)
Vendor states this is fixed in 67cca9df4d17f2c824655d31195b2e75334ae286 (fixed)
Vendor states this is fixed in 9d724b34fbe13b71865ad0906a4be97571f19cf5 (fixed)
Vendor states this is fixed in d31a12cee10bbc12b4b523a4709fd1fdee8b7d0f (fixed)
Vendor states this is fixed in da8e1623a3028e1d8c75eec7898d94c6f17dce40 (fixed)
Vendor states this is fixed in 5.10.260 (unaffected)
Vendor states this is fixed in 5.15.210 (unaffected)
Vendor states this is fixed in 5.5 (unaffected)
Vendor states this is fixed in 6.1.176 (unaffected)
Vendor states this is fixed in 6.12.93 (unaffected)
Vendor states this is fixed in 6.18.16 (unaffected)
Vendor states this is fixed in 6.19.6 (unaffected)
Vendor states this is fixed in 6.6.143 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card