devlink: fix net namespace reference leak in reload

Summary

CVECVE-2026-74718
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-22 16:16:46 UTC
Updated2026-08-22 16:16:46 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 2edd92570441dd33246210042dc167319a5cf7e3 7b6552e53426ea0539c667bbc5a524fdf7feae6f git Not specified
CNA Linux Linux affected 2edd92570441dd33246210042dc167319a5cf7e3 bf0797b92be591ac71d7c0f610e695caca3c72c9 git Not specified
CNA Linux Linux affected 2edd92570441dd33246210042dc167319a5cf7e3 7b02c6d2a3cd2cd669f5c16685779f84328ae60c git Not specified
CNA Linux Linux affected 2edd92570441dd33246210042dc167319a5cf7e3 eda60c85b4f4c7d66b7141a5fe020b1a7f395341 git Not specified
CNA Linux Linux affected 2edd92570441dd33246210042dc167319a5cf7e3 1c4dac9bf1d2ac31da63b794bdec697777cbd0fd git Not specified
CNA Linux Linux affected 6.3 Not specified
CNA Linux Linux unaffected 6.3 semver Not specified
CNA Linux Linux unaffected 6.6.152 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.104 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.45 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.9 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/1c4dac9bf1d2ac31da63b794bdec697777cbd0fd 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/bf0797b92be591ac71d7c0f610e695caca3c72c9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7b02c6d2a3cd2cd669f5c16685779f84328ae60c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/eda60c85b4f4c7d66b7141a5fe020b1a7f395341 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7b6552e53426ea0539c667bbc5a524fdf7feae6f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report