Skip to content
Low 1.9

net: cpsw_new: unregister devlink on port registration failure

CVE-2026-98909 First seen on SecPulse

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 5.5.0, < 5.10.271→ 5.10.271
≥ 5.11.0, < 5.15.222→ 5.15.222
≥ 5.16.0, < 6.1.189→ 6.1.189
≥ 6.2.0, < 6.6.158→ 6.6.158
≥ 6.7.0, < 6.12.111→ 6.12.111
≥ 6.13.0, < 6.18.53→ 6.18.53

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details