devlink: fix net namespace reference leak in reload
In the Linux kernel, the following vulnerability has been resolved: devlink: fix net namespace reference leak in reload devlink_nl_reload_doit() calls devlink_netns_get(), which returns a net with a held reference. When the requested namespace differs from the current one and the reload action is not DRIVER_REINIT, the function returns -EOPNOTSUPP without releasing the reference. Add the missing put_net() on this error path.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.104, 6.18.45, 6.6.152, 7.1.9
- CVEs
- CVE-2026-74718
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 20:49 UTC · Revision 1
Source evidence
devlink: fix net namespace reference leak in reload
core-osv · Original sourcePublished 22 Aug 2026, 15:33 UTC
In the Linux kernel, the following vulnerability has been resolved: devlink: fix net namespace reference leak in reload devlink_nl_reload_doit() calls devlink_netns_get(), which returns a net with a held reference. When the requested namespace differs from the current one and the reload action is not DRIVER_REINIT, the function returns -EOPNOTSUPP without releasing the reference. Add the missing put_net() on this error path.
osv:CVE-2026-74718
Kernel
Fixed versions: 6.6.152, 6.12.104, 6.18.45, 7.1.9
Complete source record
{
"id": "b2d1f1b4c5a92028150696f63c9941113ae924f7684d21ca2de4818f0369de75",
"url": "https://osv.dev/vulnerability/CVE-2026-74718",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "devlink: fix net namespace reference leak in reload",
"summary": "In the Linux kernel, the following vulnerability has been resolved: devlink: fix net namespace reference leak in reload devlink_nl_reload_doit() calls devlink_netns_get(), which returns a net with a held reference. When the requested namespace differs from the current one and the reload action is not DRIVER_REINIT, the function returns -EOPNOTSUPP without releasing the reference. Add the missing put_net() on this error path.",
"evidence": "osv:CVE-2026-74718",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.6.152",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.104",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.45",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.9",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-74718",
"aliases": [
"CVE-2026-74718"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "2edd92570441dd33246210042dc167319a5cf7e3"
},
{
"fixed": "7b6552e53426ea0539c667bbc5a524fdf7feae6f"
},
{
"fixed": "bf0797b92be591ac71d7c0f610e695caca3c72c9"
},
{
"fixed": "7b02c6d2a3cd2cd669f5c16685779f84328ae60c"
},
{
"fixed": "eda60c85b4f4c7d66b7141a5fe020b1a7f395341"
},
{
"fixed": "1c4dac9bf1d2ac31da63b794bdec697777cbd0fd"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74718.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.3.0"
},
{
"fixed": "6.6.152"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.104"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.45"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.9"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74718.json"
}
}
],
"modified": "2026-10-28T02:30:51.484245002Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/1c4dac9bf1d2ac31da63b794bdec697777cbd0fd",
"https://git.kernel.org/stable/c/7b02c6d2a3cd2cd669f5c16685779f84328ae60c",
"https://git.kernel.org/stable/c/7b6552e53426ea0539c667bbc5a524fdf7feae6f",
"https://git.kernel.org/stable/c/bf0797b92be591ac71d7c0f610e695caca3c72c9",
"https://git.kernel.org/stable/c/eda60c85b4f4c7d66b7141a5fe020b1a7f395341",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74718.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-74718",
"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/74xxx/CVE-2026-74718.json"
}
},
"related_cves": [
{
"value": "CVE-2026-74718",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 520368,
"published_at": "2026-08-22T15:33:12.106+00:00"
}