# CVE-2026-68301: net: hsr: fix memory leak on slave unregistration by removing synced VLANs

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-08-10T12:02:35.155Z
- **Modified:** 2026-11-06T17:19:28.183Z

## Who should check

- Anyone running Linux \>= 1100242709d5644856131a9dd25d32672ebe7357, \< ccc822e9e4f09a6c2ca73ad5334570441947f94f; \>= a2accc07bdcfb0c7ab2cacdca6a1fe8267816efa, \< 79ff0547676acdeceda445c3fce4071b0a887b70; \>= 72dbae1f2f2159395089405c6c54632f2613f1be, \< f72c312af6c7897ab0f8a2b5a63f917a207a4143; \>= c707d2c5541d2bb94131968ad5dfeb06427a1dba, \< 21d48408479a17eb65568a765930adea37e4d804; \>= 1a8a63a5305e95519de6f941922dfcd8179f82e5, \< b5ded444621b6180df9f3d4e07045fc1fc1e8cd9; \>= 1a8a63a5305e95519de6f941922dfcd8179f82e5, \< ae995b8002d3af134560a706c0e111a89e26317c; \>= 1a8a63a5305e95519de6f941922dfcd8179f82e5, \< dcf15eaf5641812f1cfc5e96537380132a7da89d; \>= 5.15.194, \< 5.15.216; \>= 6.1.153, \< 6.1.183; \>= 6.6.107, \< 6.6.148; …
- Anyone running Linux 6.13

## 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.

## Affected and fixed versions

- Linux: \>= 1100242709d5644856131a9dd25d32672ebe7357, \< ccc822e9e4f09a6c2ca73ad5334570441947f94f; \>= a2accc07bdcfb0c7ab2cacdca6a1fe8267816efa, \< 79ff0547676acdeceda445c3fce4071b0a887b70; \>= 72dbae1f2f2159395089405c6c54632f2613f1be, \< f72c312af6c7897ab0f8a2b5a63f917a207a4143; \>= c707d2c5541d2bb94131968ad5dfeb06427a1dba, \< 21d48408479a17eb65568a765930adea37e4d804; \>= 1a8a63a5305e95519de6f941922dfcd8179f82e5, \< b5ded444621b6180df9f3d4e07045fc1fc1e8cd9; \>= 1a8a63a5305e95519de6f941922dfcd8179f82e5, \< ae995b8002d3af134560a706c0e111a89e26317c; \>= 1a8a63a5305e95519de6f941922dfcd8179f82e5, \< dcf15eaf5641812f1cfc5e96537380132a7da89d; \>= 5.15.194, \< 5.15.216; \>= 6.1.153, \< 6.1.183; \>= 6.6.107, \< 6.6.148; … (cvelist)
- Linux: 6.13 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-68301. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68301.md
Affected: Linux >= 1100242709d5644856131a9dd25d32672ebe7357, < ccc822e9e4f09a6c2ca73ad5334570441947f94f; >= a2accc07bdcfb0c7ab2cacdca6a1fe8267816efa, < 79ff0547676acdeceda445c3fce4071b0a887b70; >= 72dbae1f2f2159395089405c6c54632f2613f1be, < f72c312af6c7897ab0f8a2b5a63f917a207a4143; >= c707d2c5541d2bb94131968…
Fixed in: Linux 79ff0547676acdeceda445c3fce4071b0a887b70, Linux 21d48408479a17eb65568a765930adea37e4d804, Linux 5.15.216, Linux 6.1.183, Linux 6.6.148

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-68301 being exploited?

There is no confirmed exploitation: CVE-2026-68301 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-68301?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-68301?

Linux \>= 1100242709d5644856131a9dd25d32672ebe7357, \< ccc822e9e4f09a6c2ca73ad5334570441947f94f; \>= a2accc07bdcfb0c7ab2cacdca6a1fe8267816efa, \< 79ff0547676acdeceda445c3fce4071b0a887b70; \>= 72dbae1f2f2159395089405c6c54632f2613f1be, \< f72c312af6c7897ab0f8a2b5a63f917a207a4143; \>= c707d2c5541d2bb94131968ad5dfeb06427a1dba, \< 21d48408479a17eb65568a765930adea37e4d804; \>= 1a8a63a5305e95519de6f941922dfcd8179f82e5, \< b5ded444621b6180df9f3d4e07045fc1fc1e8cd9; \>= 1a8a63a5305e95519de6f941922dfcd8179f82e5, \< ae995b8002d3af134560a706c0e111a89e26317c; \>= 1a8a63a5305e95519de6f941922dfcd8179f82e5, \< dcf15eaf5641812f1cfc5e96537380132a7da89d; \>= 5.15.194, \< 5.15.216; \>= 6.1.153, \< 6.1.183; \>= 6.6.107, \< 6.6.148; …; Linux 6.13.

### Is there a fix for CVE-2026-68301?

Yes. Fixed in Linux 79ff0547676acdeceda445c3fce4071b0a887b70, Linux 21d48408479a17eb65568a765930adea37e4d804, Linux 5.15.216, Linux 6.1.183, Linux 6.6.148. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-68301?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/ccc822e9e4f09a6c2ca73ad5334570441947f94f>
- other: <https://git.kernel.org/stable/c/79ff0547676acdeceda445c3fce4071b0a887b70>
- other: <https://git.kernel.org/stable/c/f72c312af6c7897ab0f8a2b5a63f917a207a4143>
- other: <https://git.kernel.org/stable/c/21d48408479a17eb65568a765930adea37e4d804>
- other: <https://git.kernel.org/stable/c/b5ded444621b6180df9f3d4e07045fc1fc1e8cd9>
- other: <https://git.kernel.org/stable/c/ae995b8002d3af134560a706c0e111a89e26317c>
- other: <https://git.kernel.org/stable/c/dcf15eaf5641812f1cfc5e96537380132a7da89d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-68301>

HTML: <https://flawdb.com/CVE-2026-68301> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-68301>
