CVE-2026-43219
net: cpsw_new: Fix potential unregister of netdev that has not been registered yet
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
5.5
References 8
git.kernel.org
- stable/c/da8e1623a3028e1d8c75eec7898d94c6f17dce40
- stable/c/d31a12cee10bbc12b4b523a4709fd1fdee8b7d0f
- stable/c/23acc565186ee27e788408cbd81b92730b6aaa3a
- stable/c/67cca9df4d17f2c824655d31195b2e75334ae286
- stable/c/14645799ad5253a028cf662e2f9cd18a68f74b31
- stable/c/29739ec197ed66535bc0b86f14ab66c5f4512138
- stable/c/349c4cac6f54a81fc107589771f88136a2b20415
- stable/c/9d724b34fbe13b71865ad0906a4be97571f19cf5