Linux Kernel Net Shaper Late Hierarchy Creation Vulnerability

Vulnerability

A vulnerability in the Linux kernel's net shaper implementation can lead to a hierarchy creation leak. During the preparation of Netlink operations, a reference to a network device (netdev) is taken. However, the netdev may be unregistered before the reference is locked, potentially causing a leak if the hierarchy is allocated after a flush operation. This vulnerability affects the Linux kernel stable tree.

Impact

This vulnerability can cause a memory leak by improperly managing the hierarchy of network shapers, which could lead to increased memory usage and potential performance degradation.

Reproduction

The vulnerability can be reproduced by creating a network shaper operation that involves a netdev which is then unregistered before the operation is completed. This can be done by initiating a Netlink operation that requires locking the netdev, but allowing a flush operation to run in between, causing the hierarchy allocation to leak.

Remediation

Users can update to the latest version of the Linux kernel where this vulnerability has been addressed. Instructions for updating the Linux kernel can be found in the official Linux documentation.

Added: Apr 3, 2026, 5:12 PM
Updated: Apr 3, 2026, 5:12 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
3.9
remediation
7.7
relevance
5.2
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.