CVE-2026-43219 net: cpsw_new: Fix potential unregister of netdev that has not been registered yet

Medium 5.5 Published Updated

A logic error in the Linux kernel CPSW driver could cause a null pointer dereference and system crash if network device registration fails.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-43219?

CVE-2026-43219 is a medium-severity vulnerability in Linux kernel, published on 6 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2026-43219?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-43219?

Apply the vendor's patch.

Is CVE-2026-43219 being exploited?

There is no known exploitation of CVE-2026-43219 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2026-43219, DEBIAN-CVE-2026-43219, GHSA-86c9-4w26-qf4c, ROOT-OS-DEBIAN-11-CVE-2026-43219, ROOT-OS-DEBIAN-12-CVE-2026-43219, ROOT-OS-DEBIAN-13-CVE-2026-43219 and 3 more.

Is CVE-2026-43219 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free