All reports
Medium

kernel: net: shaper: reject duplicate leaves in GROUP request

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-64054

Probability of exploitation in the next 30 days: 0.13%

FIRST EPSS · 2026-11-19

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.

A flaw was found in the net/shaper component of the Linux kernel. This vulnerability occurs because the net_shaper_nl_group_doit() function does not properly handle duplicate leaf entries in a GROUP request. A local attacker could exploit this by supplying the same leaf handle multiple times, leading to a double free of the parent pointer. This memory corruption can result in a denial of service or potentially lead to further compromise of the system.