Description
In the Linux kernel, the following vulnerability has been resolved: net: cpsw_new: unregister devlink on port registration failure cpsw_probe() registers devlink before registering the CPSW ports. If cpsw_register_ports() fails, the error path only unregisters the notifiers and then releases the lower level resources. It does not undo the successful cpsw_register_devlink() call, leaving the devlink instance and its parameters registered after probe has failed. Add a devlink cleanup label for the path where devlink registration has already succeeded, and use it when port registration fails.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <b020390b4ef39adc40c800301042baf812280da1 [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <5a5ac0defdd42e566f1c871272370b6a3a8eef5c [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <43d4af5c5331ea739a49cb1097d41e502ed91ec4 [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <8af61d5bd87fd1a3bdc81fe948e7acdc8aa5bcf0 [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <2bcf21ede6b097ca96cb1f7679761acca6510555 [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <0a44945b0d3422f5d81b49c97e293f3e21a8c585 [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <b64f763b607426ac97e44b114f0b8844ac3b86dd [affected]; 0 to <5.10.271 [affected]; 0 to <5.15.222 [affected]; 0 to <6.1.189 [affected]; 0 to <6.6.158 [affected]; 0 to <6.12.111 [affected]; 0 to <6.18.53 [affected] |
| Linux | Linux | 5.10.271 to <=5.10.* [unaffected]; 5.15.222 to <=5.15.* [unaffected]; 6.1.189 to <=6.1.* [unaffected]; 6.6.158 to <=6.6.* [unaffected]; 6.12.111 to <=6.12.* [unaffected]; 6.18.53 to <=6.18.* [unaffected]; 7.2 to <=* [unaffected] |
References
- https://git.kernel.org/stable/c/b020390b4ef39adc40c800301042baf812280da1
- https://git.kernel.org/stable/c/5a5ac0defdd42e566f1c871272370b6a3a8eef5c
- https://git.kernel.org/stable/c/43d4af5c5331ea739a49cb1097d41e502ed91ec4
- https://git.kernel.org/stable/c/8af61d5bd87fd1a3bdc81fe948e7acdc8aa5bcf0
- https://git.kernel.org/stable/c/2bcf21ede6b097ca96cb1f7679761acca6510555
- https://git.kernel.org/stable/c/0a44945b0d3422f5d81b49c97e293f3e21a8c585
- https://git.kernel.org/stable/c/b64f763b607426ac97e44b114f0b8844ac3b86dd
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 24 Oct 2026 07:01 UTC.