CVE-2026-43219

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

MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.13 % · centile 2 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected ed3525eda4c4983fb8509e488de0a351788041ba < da8e1623a3028e1d8c75eec7898d94c6f17dce40 ; affected ed3525eda4c4983fb8509e488de0a351788041ba < d31a12cee10bbc12b4b523a4709fd1fdee8b7d0f ; affected ed3525eda4c4983fb8509e488de0a351788041ba < 23acc565186ee27e788408cbd81b92730b6aaa3a ; affected ed3525eda4c4983fb8509e488de0a351788041ba < 67cca9df4d17f2c824655d31195b2e75334ae286 ; affected ed3525eda4c4983fb8509e488de0a351788041ba < 14645799ad5253a028cf662e2f9cd18a68f74b31 ; affected ed3525eda4c4983fb8509e488de0a351788041ba < 29739ec197ed66535bc0b86f14ab66c5f4512138
Linux · Linuxaffected 5.5 ; unaffected 0 < 5.5 ; unaffected 5.10.260 ≤ 5.10.* ; unaffected 5.15.210 ≤ 5.15.* ; unaffected 6.1.176 ≤ 6.1.* ; unaffected 6.6.143 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD