CVE-2026-74718
devlink: fix net namespace reference leak in reload
Description
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.
INFO
Published Date :
Aug. 22, 2026, 4:16 p.m.
Last Modified :
Aug. 22, 2026, 4:16 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply the patch to the Linux kernel.
- Ensure put_net() is called in error paths.
- Review net namespace handling logic.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-74718.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-74718 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-74718
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-74718 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-74718 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 22, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2edd92570441dd33246210042dc167319a5cf7e3', 'lessThan': '7b6552e53426ea0539c667bbc5a524fdf7feae6f', 'versionType': 'git'}, {'status': 'affected', 'version': '2edd92570441dd33246210042dc167319a5cf7e3', 'lessThan': 'bf0797b92be591ac71d7c0f610e695caca3c72c9', 'versionType': 'git'}, {'status': 'affected', 'version': '2edd92570441dd33246210042dc167319a5cf7e3', 'lessThan': '7b02c6d2a3cd2cd669f5c16685779f84328ae60c', 'versionType': 'git'}, {'status': 'affected', 'version': '2edd92570441dd33246210042dc167319a5cf7e3', 'lessThan': 'eda60c85b4f4c7d66b7141a5fe020b1a7f395341', 'versionType': 'git'}, {'status': 'affected', 'version': '2edd92570441dd33246210042dc167319a5cf7e3', 'lessThan': '1c4dac9bf1d2ac31da63b794bdec697777cbd0fd', 'versionType': 'git'}], 'programFiles': ['net/devlink/dev.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.3'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.3', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.152', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.104', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.45', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.9', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/devlink/dev.c'], 'defaultStatus': 'affected'}] Added Description 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. Added Reference https://git.kernel.org/stable/c/1c4dac9bf1d2ac31da63b794bdec697777cbd0fd Added Reference https://git.kernel.org/stable/c/7b02c6d2a3cd2cd669f5c16685779f84328ae60c Added Reference https://git.kernel.org/stable/c/7b6552e53426ea0539c667bbc5a524fdf7feae6f Added Reference https://git.kernel.org/stable/c/bf0797b92be591ac71d7c0f610e695caca3c72c9 Added Reference https://git.kernel.org/stable/c/eda60c85b4f4c7d66b7141a5fe020b1a7f395341