CVE-2026-68301
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
10/08/2026
Last modified:
06/11/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
net: hsr: fix memory leak on slave unregistration by removing synced VLANs<br />
<br />
When an HSR master device is brought UP, it auto-adds VLAN 0 via<br />
vlan_vid0_add(), which propagates VID 0 to its slave devices (slave A and B).<br />
<br />
If a slave device is later unregistered while HSR is active (e.g., during<br />
netns cleanup or interface destruction), hsr_del_port() is called to<br />
detach the slave port from the HSR master. However, hsr_del_port() currently<br />
does not delete the VLAN IDs that were synced to the slave device by HSR.<br />
<br />
As a result, the slave device retains a refcount on VID 0 (and any other<br />
synced VLANs). When the slave device is destroyed, its vlan_info /<br />
vlan_vid_info structure remains allocated, leading to a memory leak.<br />
<br />
Fix this by calling vlan_vids_del_by_dev(port->dev, master->dev) in<br />
hsr_del_port() before unlinking slave A or slave B ports, matching the<br />
propagation logic in hsr_ndo_vlan_rx_add_vid() / hsr_ndo_vlan_rx_kill_vid()<br />
and the cleanup behavior in bonding and team drivers.
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/21d48408479a17eb65568a765930adea37e4d804
- https://git.kernel.org/stable/c/79ff0547676acdeceda445c3fce4071b0a887b70
- https://git.kernel.org/stable/c/ae995b8002d3af134560a706c0e111a89e26317c
- https://git.kernel.org/stable/c/b5ded444621b6180df9f3d4e07045fc1fc1e8cd9
- https://git.kernel.org/stable/c/ccc822e9e4f09a6c2ca73ad5334570441947f94f
- https://git.kernel.org/stable/c/dcf15eaf5641812f1cfc5e96537380132a7da89d
- https://git.kernel.org/stable/c/f72c312af6c7897ab0f8a2b5a63f917a207a4143


