CVE-2026-43219
MEDIUMnet: cpsw_new: Fix potential unregister of netdev that has not been registered yet
Title source: cnaDescription
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.
Scores
CVSS v3
5.5
EPSS
0.0001
EPSS Percentile
2.3%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
Status
published
Products (9)
Linux/Linux
< 5.5
Linux/Linux
5.5
Linux/Linux
6.18.16 - 6.18.*
Linux/Linux
6.19.6 - 6.19.*
Linux/Linux
7.0
Linux/Linux
ed3525eda4c4983fb8509e488de0a351788041ba - 29739ec197ed66535bc0b86f14ab66c5f4512138
Linux/Linux
ed3525eda4c4983fb8509e488de0a351788041ba - 349c4cac6f54a81fc107589771f88136a2b20415
Linux/Linux
ed3525eda4c4983fb8509e488de0a351788041ba - 9d724b34fbe13b71865ad0906a4be97571f19cf5
linux/linux_kernel
5.5 - 6.18.16
Published
May 06, 2026
Tracked Since
May 06, 2026