CVE-2026-74718

devlink: fix net namespace reference leak in reload

Published Aug 22, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability arises when a devlink reload operation requests a net namespace different from the current one without triggering a driver reinitialization. devlink_nl_reload_doit() obtains a reference to the target net namespace but fails to release it when the operation returns –EOPNOTSUPP. This resource leak (a CWE‑399 Resource Management – Incomplete Release weakness) can accumulate over time, potentially exhausting kernel resources and destabilizing the system. The impact is local and requires privileged access to issue devlink reload commands.

Affected Systems

All Linux kernel builds that include the devlink subsystem are affected, from early stable releases up through the current mainline kernel. No specific sub‑versions are listed, but the issue exists in any kernel that has not yet incorporated the modern fix for this reference leak.

Risk and Exploitability

The EPSS score of <1% suggests a very low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Because the bug occurs during an operation that typically requires root or CAP_SYS_MODULE privileges, the attack vector is local with elevated privileges. An attacker with sufficient permissions could repeatedly trigger the problematic code path, incrementally leaking net namespace references and eventually causing kernel instability, crash, or denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a release that includes the reference‑leak fix (e.g., commit 1c4dac9bf1d2ac31da63b794bdec697777cbd0fd)
  • Reboot or reload networking services to clear any leaked references in the current session
  • Configure monitoring to detect repeated devlink reload failures, as a sign of a potential exploitation attempt

Generated by OpenCVE AI on August 25, 2026 at 14:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4788-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6466-1 linux security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-911
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-399
CWE-401
Type Values Removed Values 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.
Title devlink: fix net namespace reference leak in reload
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-399
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-911

    Improper Update of Reference Count

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 22, 2026, 3:33 PM
Reserved
Aug 15, 2026, 5:44 AM
Status
Received
Published
Aug 22, 2026, 4:16 PM
Modified
Oct 14, 2026, 1:10 PM
Severity
Low
Public date
Aug 22, 2026, 12:00 AM