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.
CVSS
5.5 MEDIUM (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
from ed3525eda4c4983fb8509e488de0a351788041ba before da8e1623a3028e1d8c75eec7898d94c6f17dce40; from ed3525eda4c4983fb8509e488de0a351788041ba before d31a12cee10bbc12b4b523a4709fd1fdee8b7d0f; from ed3525eda4c4983fb8509e488de0a351788041ba before 23acc565186ee27e788408cbd81b92730b6aaa3a; from ed3525eda4c4983fb8509e488de0a351788041ba before 67cca9df4d17f2c824655d31195b2e75334ae286; from ed3525eda4c4983fb8509e488de0a351788041ba before 14645799ad5253a028cf662e2f9cd18a68f74b31; from ed3525eda4c4983fb8509e488de0a351788041ba before 29739ec197ed66535bc0b86f14ab66c5f4512138; from ed3525eda4c4983fb8509e488de0a351788041ba before 349c4cac6f54a81fc107589771f88136a2b20415; from ed3525eda4c4983fb8509e488de0a351788041ba before 9d724b34fbe13b71865ad0906a4be97571f19cf5
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.
Printed from infosecsignals.com. Every record links back to the agency that published it.
Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.