CVE-2026-68301 (GCVE-0-2026-68301)

Vulnerability from cvelistv5 – Published: 2026-08-10 12:02 – Updated: 2026-08-19 16:32
VLAI
Title
net: hsr: fix memory leak on slave unregistration by removing synced VLANs
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.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 1100242709d5644856131a9dd25d32672ebe7357 , < ccc822e9e4f09a6c2ca73ad5334570441947f94f (git)
Affected: a2accc07bdcfb0c7ab2cacdca6a1fe8267816efa , < 79ff0547676acdeceda445c3fce4071b0a887b70 (git)
Affected: 72dbae1f2f2159395089405c6c54632f2613f1be , < f72c312af6c7897ab0f8a2b5a63f917a207a4143 (git)
Affected: c707d2c5541d2bb94131968ad5dfeb06427a1dba , < 21d48408479a17eb65568a765930adea37e4d804 (git)
Affected: 1a8a63a5305e95519de6f941922dfcd8179f82e5 , < b5ded444621b6180df9f3d4e07045fc1fc1e8cd9 (git)
Affected: 1a8a63a5305e95519de6f941922dfcd8179f82e5 , < ae995b8002d3af134560a706c0e111a89e26317c (git)
Affected: 1a8a63a5305e95519de6f941922dfcd8179f82e5 , < dcf15eaf5641812f1cfc5e96537380132a7da89d (git)
Affected: 5.15.194 , < 5.15.216 (semver)
Affected: 6.1.153 , < 6.1.183 (semver)
Affected: 6.6.107 , < 6.6.148 (semver)
Affected: 6.12.48 , < 6.12.101 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 6.13
Unaffected: 0 , < 6.13 (semver)
Unaffected: 5.15.216 , ≤ 5.15.* (semver)
Unaffected: 6.1.183 , ≤ 6.1.* (semver)
Unaffected: 6.6.148 , ≤ 6.6.* (semver)
Unaffected: 6.12.101 , ≤ 6.12.* (semver)
Unaffected: 6.18.42 , ≤ 6.18.* (semver)
Unaffected: 7.1.6 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/hsr/hsr_slave.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ccc822e9e4f09a6c2ca73ad5334570441947f94f",
              "status": "affected",
              "version": "1100242709d5644856131a9dd25d32672ebe7357",
              "versionType": "git"
            },
            {
              "lessThan": "79ff0547676acdeceda445c3fce4071b0a887b70",
              "status": "affected",
              "version": "a2accc07bdcfb0c7ab2cacdca6a1fe8267816efa",
              "versionType": "git"
            },
            {
              "lessThan": "f72c312af6c7897ab0f8a2b5a63f917a207a4143",
              "status": "affected",
              "version": "72dbae1f2f2159395089405c6c54632f2613f1be",
              "versionType": "git"
            },
            {
              "lessThan": "21d48408479a17eb65568a765930adea37e4d804",
              "status": "affected",
              "version": "c707d2c5541d2bb94131968ad5dfeb06427a1dba",
              "versionType": "git"
            },
            {
              "lessThan": "b5ded444621b6180df9f3d4e07045fc1fc1e8cd9",
              "status": "affected",
              "version": "1a8a63a5305e95519de6f941922dfcd8179f82e5",
              "versionType": "git"
            },
            {
              "lessThan": "ae995b8002d3af134560a706c0e111a89e26317c",
              "status": "affected",
              "version": "1a8a63a5305e95519de6f941922dfcd8179f82e5",
              "versionType": "git"
            },
            {
              "lessThan": "dcf15eaf5641812f1cfc5e96537380132a7da89d",
              "status": "affected",
              "version": "1a8a63a5305e95519de6f941922dfcd8179f82e5",
              "versionType": "git"
            },
            {
              "lessThan": "5.15.216",
              "status": "affected",
              "version": "5.15.194",
              "versionType": "semver"
            },
            {
              "lessThan": "6.1.183",
              "status": "affected",
              "version": "6.1.153",
              "versionType": "semver"
            },
            {
              "lessThan": "6.6.148",
              "status": "affected",
              "version": "6.6.107",
              "versionType": "semver"
            },
            {
              "lessThan": "6.12.101",
              "status": "affected",
              "version": "6.12.48",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/hsr/hsr_slave.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.13"
            },
            {
              "lessThan": "6.13",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.216",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.183",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.148",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.101",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.42",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.216",
                  "versionStartIncluding": "5.15.194",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.183",
                  "versionStartIncluding": "6.1.153",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.148",
                  "versionStartIncluding": "6.6.107",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.101",
                  "versionStartIncluding": "6.12.48",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.42",
                  "versionStartIncluding": "6.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.6",
                  "versionStartIncluding": "6.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "6.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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-\u003edev, master-\u003edev) 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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-19T16:32:53.463Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ccc822e9e4f09a6c2ca73ad5334570441947f94f"
        },
        {
          "url": "https://git.kernel.org/stable/c/79ff0547676acdeceda445c3fce4071b0a887b70"
        },
        {
          "url": "https://git.kernel.org/stable/c/f72c312af6c7897ab0f8a2b5a63f917a207a4143"
        },
        {
          "url": "https://git.kernel.org/stable/c/21d48408479a17eb65568a765930adea37e4d804"
        },
        {
          "url": "https://git.kernel.org/stable/c/b5ded444621b6180df9f3d4e07045fc1fc1e8cd9"
        },
        {
          "url": "https://git.kernel.org/stable/c/ae995b8002d3af134560a706c0e111a89e26317c"
        },
        {
          "url": "https://git.kernel.org/stable/c/dcf15eaf5641812f1cfc5e96537380132a7da89d"
        }
      ],
      "title": "net: hsr: fix memory leak on slave unregistration by removing synced VLANs",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-68301",
    "datePublished": "2026-08-10T12:02:35.155Z",
    "dateReserved": "2026-07-30T09:28:09.380Z",
    "dateUpdated": "2026-08-19T16:32:53.463Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-68301",
      "date": "2026-08-20",
      "epss": "0.00172",
      "percentile": "0.06999"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-68301\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-10T13:20:19.680\",\"lastModified\":\"2026-08-19T17:20:41.343\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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-\u003edev, master-\u003edev) 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.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"net/hsr/hsr_slave.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"1100242709d5644856131a9dd25d32672ebe7357\",\"lessThan\":\"ccc822e9e4f09a6c2ca73ad5334570441947f94f\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a2accc07bdcfb0c7ab2cacdca6a1fe8267816efa\",\"lessThan\":\"79ff0547676acdeceda445c3fce4071b0a887b70\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"72dbae1f2f2159395089405c6c54632f2613f1be\",\"lessThan\":\"f72c312af6c7897ab0f8a2b5a63f917a207a4143\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c707d2c5541d2bb94131968ad5dfeb06427a1dba\",\"lessThan\":\"21d48408479a17eb65568a765930adea37e4d804\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"1a8a63a5305e95519de6f941922dfcd8179f82e5\",\"lessThan\":\"b5ded444621b6180df9f3d4e07045fc1fc1e8cd9\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"1a8a63a5305e95519de6f941922dfcd8179f82e5\",\"lessThan\":\"ae995b8002d3af134560a706c0e111a89e26317c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"1a8a63a5305e95519de6f941922dfcd8179f82e5\",\"lessThan\":\"dcf15eaf5641812f1cfc5e96537380132a7da89d\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5.15.194\",\"lessThan\":\"5.15.216\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.1.153\",\"lessThan\":\"6.1.183\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.6.107\",\"lessThan\":\"6.6.148\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.12.48\",\"lessThan\":\"6.12.101\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"net/hsr/hsr_slave.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.13\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.13\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.216\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.183\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.148\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.101\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.42\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.6\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/21d48408479a17eb65568a765930adea37e4d804\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/79ff0547676acdeceda445c3fce4071b0a887b70\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ae995b8002d3af134560a706c0e111a89e26317c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b5ded444621b6180df9f3d4e07045fc1fc1e8cd9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ccc822e9e4f09a6c2ca73ad5334570441947f94f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/dcf15eaf5641812f1cfc5e96537380132a7da89d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f72c312af6c7897ab0f8a2b5a63f917a207a4143\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-08-11T15:33:37+00:00",
      "cve": "CVE-2026-68301",
      "id": "CVE-2026-68301",
      "initial_release_date": "2026-08-10T00:00:00+00:00",
      "product_status:known_affected": "184",
      "product_status:known_not_affected": "90",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: net: hsr: fix memory leak on slave unregistration by removing synced VLANs",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-68301.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-14T23:44:52Z",
      "cve": "CVE-2026-68301",
      "id": "CVE-2026-68301",
      "initial_release_date": "2026-08-14T17:14:22Z",
      "product_status:known_not_affected": "296",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-68301",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-68301.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…