# CVE-2026-98909: net: cpsw_new: unregister devlink on port registration failure

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-10-23T11:54:47.326Z
- Modified: 2026-10-26T07:17:16.250Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from ed3525eda4c4983fb8509e488de0a351788041ba before b020390b4ef39adc40c800301042baf812280da1; from ed3525eda4c4983fb8509e488de0a351788041ba before 5a5ac0defdd42e566f1c871272370b6a3a8eef5c; from ed3525eda4c4983fb8509e488de0a351788041ba before 43d4af5c5331ea739a49cb1097d41e502ed91ec4; from ed3525eda4c4983fb8509e488de0a351788041ba before 8af61d5bd87fd1a3bdc81fe948e7acdc8aa5bcf0; from ed3525eda4c4983fb8509e488de0a351788041ba before 2bcf21ede6b097ca96cb1f7679761acca6510555; from ed3525eda4c4983fb8509e488de0a351788041ba before 0a44945b0d3422f5d81b49c97e293f3e21a8c585; from ed3525eda4c4983fb8509e488de0a351788041ba before b64f763b607426ac97e44b114f0b8844ac3b86dd; 5.5 (not affected: before 5.5; from 5.10.271 up to 5.10.*; from 5.15.222 up to 5.15.*; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-98909](https://www.cve.org/CVERecord?id=CVE-2026-98909), CVE Terms of Use, modified 2026-10-26
- NVD: [CVE-2026-98909](https://nvd.nist.gov/vuln/detail/CVE-2026-98909), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-98909 · Whole record: https://cve.day/CVE-2026-98909.json · Rebuilt by cve.day 2026-11-25T22:59:46.893Z
