Linux Kernel Devlink Resource Leak on CPSW Port Reg Fail
CVE-2026-98909 Published on October 23, 2026
net: cpsw_new: unregister devlink on port registration failure
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.
Products Associated with CVE-2026-98909
stack.watch emails you whenever new vulnerabilities are published in Linux Kernel or Canonical Ubuntu Linux. Just hit a watch button to start following.
Affected Versions
Linux:- Version ed3525eda4c4983fb8509e488de0a351788041ba and below b020390b4ef39adc40c800301042baf812280da1 is affected.
- Version ed3525eda4c4983fb8509e488de0a351788041ba and below 5a5ac0defdd42e566f1c871272370b6a3a8eef5c is affected.
- Version ed3525eda4c4983fb8509e488de0a351788041ba and below 43d4af5c5331ea739a49cb1097d41e502ed91ec4 is affected.
- Version ed3525eda4c4983fb8509e488de0a351788041ba and below 8af61d5bd87fd1a3bdc81fe948e7acdc8aa5bcf0 is affected.
- Version ed3525eda4c4983fb8509e488de0a351788041ba and below 2bcf21ede6b097ca96cb1f7679761acca6510555 is affected.
- Version ed3525eda4c4983fb8509e488de0a351788041ba and below 0a44945b0d3422f5d81b49c97e293f3e21a8c585 is affected.
- Version ed3525eda4c4983fb8509e488de0a351788041ba and below b64f763b607426ac97e44b114f0b8844ac3b86dd is affected.
- Version 5.5 is affected.
- Before 5.5 is unaffected.
- Version 5.10.271, <= 5.10.* is unaffected.
- Version 5.15.222, <= 5.15.* is unaffected.
- Version 6.1.189, <= 6.1.* is unaffected.
- Version 6.6.158, <= 6.6.* is unaffected.
- Version 6.12.111, <= 6.12.* is unaffected.
- Version 6.18.53, <= 6.18.* is unaffected.
- Version 7.2, <= * is unaffected.