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
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.271, 5.15.222, 6.1.189, 6.12.111, 6.18.53, 6.6.158
- CVEs
- CVE-2026-98909
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 03:46 UTC · Revision 1
Source evidence
net: cpsw_new: unregister devlink on port registration failure
core-osv · Original sourcePublished 23 Oct 2026, 11:54 UTC
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.
osv:CVE-2026-98909
Kernel
Fixed versions: 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.111, 6.18.53
Complete source record
{
"id": "ed0597202aa97c9dd290c8d6a0a304bd339fc4266dee0aa19817a4b92c173e92",
"url": "https://osv.dev/vulnerability/CVE-2026-98909",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "net: cpsw_new: unregister devlink on port registration failure",
"summary": "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.",
"evidence": "osv:CVE-2026-98909",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.271",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.222",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.189",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.158",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.111",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.53",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-98909",
"aliases": [
"CVE-2026-98909"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "ed3525eda4c4983fb8509e488de0a351788041ba"
},
{
"fixed": "b020390b4ef39adc40c800301042baf812280da1"
},
{
"fixed": "5a5ac0defdd42e566f1c871272370b6a3a8eef5c"
},
{
"fixed": "43d4af5c5331ea739a49cb1097d41e502ed91ec4"
},
{
"fixed": "8af61d5bd87fd1a3bdc81fe948e7acdc8aa5bcf0"
},
{
"fixed": "2bcf21ede6b097ca96cb1f7679761acca6510555"
},
{
"fixed": "0a44945b0d3422f5d81b49c97e293f3e21a8c585"
},
{
"fixed": "b64f763b607426ac97e44b114f0b8844ac3b86dd"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98909.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.271"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.222"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.189"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.158"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.111"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.53"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98909.json"
}
}
],
"modified": "2026-10-28T02:30:32.818577026Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/0a44945b0d3422f5d81b49c97e293f3e21a8c585",
"https://git.kernel.org/stable/c/2bcf21ede6b097ca96cb1f7679761acca6510555",
"https://git.kernel.org/stable/c/43d4af5c5331ea739a49cb1097d41e502ed91ec4",
"https://git.kernel.org/stable/c/5a5ac0defdd42e566f1c871272370b6a3a8eef5c",
"https://git.kernel.org/stable/c/8af61d5bd87fd1a3bdc81fe948e7acdc8aa5bcf0",
"https://git.kernel.org/stable/c/b020390b4ef39adc40c800301042baf812280da1",
"https://git.kernel.org/stable/c/b64f763b607426ac97e44b114f0b8844ac3b86dd",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98909.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-98909",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98909.json"
}
},
"related_cves": [
{
"value": "CVE-2026-98909",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 500095,
"published_at": "2026-10-23T11:54:47.326+00:00"
}