CVE-2026-68301 json
net: hsr: fix memory leak on slave unregistration by removing synced VLANs
published 2026-08-10 2 mo ago modified 2026-11-06 2 d ago also EUVD-2026-55402
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 6%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.15.216, 6.1.183, 6.6.148, 6.12.101, 6.18.42, 7.1.6, 7.2
- linux Debian 12 6.1.187-1
- linux Debian 13 6.12.101-1
- linux Debian 14 7.1.6-1
- linux-6.12 Debian 12 6.12.101-1~deb12u1
debian advisories DEBIAN-CVE-2026-68301
- linux Ubuntu 22.04 LTS 5.15.0-198.208
- linux Ubuntu 24.04 LTS 6.8.0-147.147
- linux Ubuntu 26.04 LTS 7.0.0-38.38
- linux-aws Ubuntu 22.04 LTS 5.15.0-1117.124
- linux-aws Ubuntu 24.04 LTS 6.8.0-1067.70
- linux-aws Ubuntu 26.04 LTS 7.0.0-1014.14
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1118.128
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1071.79
ubuntu advisories UBUNTU-CVE-2026-68301
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git.kernel.org/stable/c/ccc822e9e4f09a6c2ca73ad5334570441947f94f commit
- git.kernel.org/stable/c/79ff0547676acdeceda445c3fce4071b0a887b70 commit
- git.kernel.org/stable/c/f72c312af6c7897ab0f8a2b5a63f917a207a4143 commit
- git.kernel.org/stable/c/21d48408479a17eb65568a765930adea37e4d804 commit
- git.kernel.org/stable/c/b5ded444621b6180df9f3d4e07045fc1fc1e8cd9 commit
- git.kernel.org/stable/c/ae995b8002d3af134560a706c0e111a89e26317c commit
- git.kernel.org/stable/c/dcf15eaf5641812f1cfc5e96537380132a7da89d commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-68301 updated cvss 5.5
kernel: net: hsr: fix memory leak on slave unregistration by removing synced VLANs
-
Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +82 more Red Hat Enterprise Linux 10 kernelaffected: no fix available “Fix deferred”
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 kernel-rt, kernel-rt-selftests-internalnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 d ago
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-08).
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/ccc822e9e4f09a6c2ca73ad5334570441947f94f
- git.kernel.org /stable/c/79ff0547676acdeceda445c3fce4071b0a887b70
- git.kernel.org /stable/c/f72c312af6c7897ab0f8a2b5a63f917a207a4143
- git.kernel.org /stable/c/21d48408479a17eb65568a765930adea37e4d804
- git.kernel.org /stable/c/b5ded444621b6180df9f3d4e07045fc1fc1e8cd9
- git.kernel.org /stable/c/ae995b8002d3af134560a706c0e111a89e26317c
- git.kernel.org /stable/c/dcf15eaf5641812f1cfc5e96537380132a7da89d
Sources
- CVE List CVE-2026-68301
- NVD CVE-2026-68301
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.