CVE-2026-68301

net: hsr: fix memory leak on slave unregistration by removing synced VLANs

No CVSS score yet EPSS 0.17%

Published 10 Aug 2026 Updated 6 Nov 2026 CNA: Linux

Check your servers for CVE-2026-68301

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-68301 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

net: hsr: fix memory leak on slave unregistration by removing synced VLANs

When an HSR master device is brought UP, it auto-adds VLAN 0 via vlan_vid0_add(), which propagates VID 0 to its slave devices (slave A and B).

If a slave device is later unregistered while HSR is active (e.g., during netns cleanup or interface destruction), hsr_del_port() is called to detach the slave port from the HSR master. However, hsr_del_port() currently does not delete the VLAN IDs that were synced to the slave device by HSR.

As a result, the slave device retains a refcount on VID 0 (and any other synced VLANs). When the slave device is destroyed, its vlan_info / vlan_vid_info structure remains allocated, leading to a memory leak.

Fix this by calling vlan_vids_del_by_dev(port->dev, master->dev) in hsr_del_port() before unlinking slave A or slave B ports, matching the propagation logic in hsr_ndo_vlan_rx_add_vid() / hsr_ndo_vlan_rx_kill_vid() and the cleanup behavior in bonding and team drivers.

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.06% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 6 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1100242709d5644856131a9dd25d32672ebe7357, before ccc822e9e4f09a6c2ca73ad5334570441947f94f
affected from a2accc07bdcfb0c7ab2cacdca6a1fe8267816efa, before 79ff0547676acdeceda445c3fce4071b0a887b70
affected from 72dbae1f2f2159395089405c6c54632f2613f1be, before f72c312af6c7897ab0f8a2b5a63f917a207a4143
affected from c707d2c5541d2bb94131968ad5dfeb06427a1dba, before 21d48408479a17eb65568a765930adea37e4d804
affected from 1a8a63a5305e95519de6f941922dfcd8179f82e5, before b5ded444621b6180df9f3d4e07045fc1fc1e8cd9
affected from 1a8a63a5305e95519de6f941922dfcd8179f82e5, before ae995b8002d3af134560a706c0e111a89e26317c
affected from 1a8a63a5305e95519de6f941922dfcd8179f82e5, before dcf15eaf5641812f1cfc5e96537380132a7da89d
affected from 5.15.194, before 5.15.216
affected from 6.1.153, before 6.1.183
affected from 6.6.107, before 6.6.148
affected from 6.12.48, before 6.12.101
Other versions: unaffected
Linux
affected 6.13
unaffected before 6.13
unaffected from 5.15.216 up to and including 5.15.*
unaffected from 6.1.183 up to and including 6.1.*
unaffected from 6.6.148 up to and including 6.6.*
unaffected from 6.12.101 up to and including 6.12.*
unaffected from 6.18.42 up to and including 6.18.*
unaffected from 7.1.6 up to and including 7.1.*
unaffected 7.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-68301 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-68301

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-68301
trivy image --scanners vuln IMAGE | grep CVE-2026-68301

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-68301 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.