{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-68301","id":"CVE-2026-68301","title":"net: hsr: fix memory leak on slave unregistration by removing synced VLANs","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: hsr: fix memory leak on slave unregistration by removing synced VLANs\n\nWhen an HSR master device is brought UP, it auto-adds VLAN 0 via\nvlan_vid0_add(), which propagates VID 0 to its slave devices (slave A and B).\n\nIf a slave device is later unregistered while HSR is active (e.g., during\nnetns cleanup or interface destructio","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: hsr: fix memory leak on slave unregistration by removing synced VLANs\n\nWhen an HSR master device is brought UP, it auto-adds VLAN 0 via\nvlan_vid0_add(), which propagates VID 0 to its slave devices (slave A and B).\n\nIf a slave device is later unregistered while HSR is active (e.g., during\nnetns cleanup or interface destruction), hsr_del_port() is called to\ndetach the slave port from the HSR master. However, hsr_del_port() currently\ndoes not delete the VLAN IDs that were synced to the slave device by HSR.\n\nAs a result, the slave device retains a refcount on VID 0 (and any other\nsynced VLANs). When the slave device is destroyed, its vlan_info /\nvlan_vid_info structure remains allocated, leading to a memory leak.\n\nFix this by calling vlan_vids_del_by_dev(port->dev, master->dev) in\nhsr_del_port() before unlinking slave A or slave B ports, matching the\npropagation logic in hsr_ndo_vlan_rx_add_vid() / hsr_ndo_vlan_rx_kill_vid()\nand the cleanup behavior in bonding and team drivers.","published":"2026-08-10T12:02:35.155Z","updated":"2026-11-17T07:03:36.530221959Z","reserved":"2026-07-30T09:28:09.380Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1100242709d5644856131a9dd25d32672ebe7357","lessThan":"ccc822e9e4f09a6c2ca73ad5334570441947f94f","status":"affected","versionType":"git"},{"version":"a2accc07bdcfb0c7ab2cacdca6a1fe8267816efa","lessThan":"79ff0547676acdeceda445c3fce4071b0a887b70","status":"affected","versionType":"git"},{"version":"72dbae1f2f2159395089405c6c54632f2613f1be","lessThan":"f72c312af6c7897ab0f8a2b5a63f917a207a4143","status":"affected","versionType":"git"},{"version":"c707d2c5541d2bb94131968ad5dfeb06427a1dba","lessThan":"21d48408479a17eb65568a765930adea37e4d804","status":"affected","versionType":"git"},{"version":"1a8a63a5305e95519de6f941922dfcd8179f82e5","lessThan":"b5ded444621b6180df9f3d4e07045fc1fc1e8cd9","status":"affected","versionType":"git"},{"version":"1a8a63a5305e95519de6f941922dfcd8179f82e5","lessThan":"ae995b8002d3af134560a706c0e111a89e26317c","status":"affected","versionType":"git"},{"version":"1a8a63a5305e95519de6f941922dfcd8179f82e5","lessThan":"dcf15eaf5641812f1cfc5e96537380132a7da89d","status":"affected","versionType":"git"},{"version":"5.15.194","lessThan":"5.15.216","status":"affected","versionType":"semver"},{"version":"6.1.153","lessThan":"6.1.183","status":"affected","versionType":"semver"},{"version":"6.6.107","lessThan":"6.6.148","status":"affected","versionType":"semver"},{"version":"6.12.48","lessThan":"6.12.101","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.13","status":"affected"},{"version":"0","lessThan":"6.13","status":"unaffected","versionType":"semver"},{"version":"5.15.216","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.183","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.148","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.101","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.42","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.6","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/ccc822e9e4f09a6c2ca73ad5334570441947f94f","tags":["web"]},{"url":"https://git.kernel.org/stable/c/79ff0547676acdeceda445c3fce4071b0a887b70","tags":["web"]},{"url":"https://git.kernel.org/stable/c/f72c312af6c7897ab0f8a2b5a63f917a207a4143","tags":["web"]},{"url":"https://git.kernel.org/stable/c/21d48408479a17eb65568a765930adea37e4d804","tags":["web"]},{"url":"https://git.kernel.org/stable/c/b5ded444621b6180df9f3d4e07045fc1fc1e8cd9","tags":["web"]},{"url":"https://git.kernel.org/stable/c/ae995b8002d3af134560a706c0e111a89e26317c","tags":["web"]},{"url":"https://git.kernel.org/stable/c/dcf15eaf5641812f1cfc5e96537380132a7da89d","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68301.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68301","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00173,"epssPercentile":0.0689,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-68301","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68301","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-68301","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-68301","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}