Description
In the Linux kernel, the following vulnerability has been resolved:

net: shaper: reject duplicate leaves in GROUP request

net_shaper_nl_group_doit() does not deduplicate NET_SHAPER_A_LEAVES
entries. When userspace supplies the same leaf handle twice, the same
old-parent pointer lands twice in old_nodes[]. The cleanup loop double
frees the parent. Of course the same parent may still be in old_nodes[]
twice if we are moving multiple of its leaves.

Note that this patch also implicitly fixes the fact that the
i >= leaves_count path forgets to set ret.
Published: 2026-07-19
Score: 7.0 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability occurs in the Linux kernel networking shaper subsystem. When a userspace application submits a netlink GROUP request that lists the same leaf handle more than once, the kernel fails to deduplicate the entries. The duplicate leaf handles cause the same parent pointer to be pushed twice into the old_nodes[] array, leading the cleanup loop to double-free the parent object. This double-free can corrupt kernel memory, possibly triggering a crash or providing an attack surface for more advanced exploitation.

Affected Systems

All Linux kernel installations that include the net_shaper module and that have not yet applied the patch are potentially affected. The specific kernel version ranges are not disclosed in the CVE record, so any kernel prior to the change that implements the double-free fix is at risk. Administrators should review whether their deployments use net_shaper functionality and identify the current kernel version.

Risk and Exploitability

The CVSS score of 7.0 indicates a moderate to high risk level, while the EPSS score of less than 1% suggests that exploitation is not widely observed but still possible. This issue is not listed in the CISA KEV catalog, implying it has not yet been publicly exploited on a wide scale. Based on the description, it is inferred that the attack requires a user with sufficient privileges to send a netlink GROUP request that includes duplicate leaf handles. The attack vector is inferred to be local, as it depends on a local userspace process interacting with the shaper subsystem. The double-free could produce a denial-of-service by crashing the kernel or could be leveraged for privilege escalation if an attacker can control the freed memory.

Generated by OpenCVE AI on July 30, 2026 at 20:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the net_shaper double-free fix.
  • As a temporary measure, remove or simplify the current shaper configuration to avoid submitting duplicate leaf handles; ensure userspace tools validate the leaves list before sending a GROUP request.
  • Monitor system logs for kernel Oops or panic events, and investigate any unexpected crashes promptly.

Generated by OpenCVE AI on July 30, 2026 at 20:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Tue, 21 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1341
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Sun, 19 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: shaper: reject duplicate leaves in GROUP request net_shaper_nl_group_doit() does not deduplicate NET_SHAPER_A_LEAVES entries. When userspace supplies the same leaf handle twice, the same old-parent pointer lands twice in old_nodes[]. The cleanup loop double frees the parent. Of course the same parent may still be in old_nodes[] twice if we are moving multiple of its leaves. Note that this patch also implicitly fixes the fact that the i >= leaves_count path forgets to set ret.
Title net: shaper: reject duplicate leaves in GROUP request
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-19T15:39:36.475Z

Reserved: 2026-07-19T07:54:57.029Z

Link: CVE-2026-64054

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-64054 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T21:00:22Z

Weaknesses
  • CWE-1341

    Multiple Releases of Same Resource or Handle