CVE-2026-98074 (GCVE-0-2026-98074)
Vulnerability from cvelistv5
Published
2026-09-25 10:24
Modified
2026-10-19 09:13
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: bonding: do not clear curr_active_slave prematurely when releasing all slaves When releasing all slaves during bond destruction (all == true), __bond_release_one() unconditionally clears bond->curr_active_slave to NULL in every iteration. If a backup slave is released before the active slave, bond_alb_deinit_slave() triggers rlb_teach_disabled_mac_on_primary(), which increments the active slave dev promiscuity counter and sets bond_info->primary_is_promisc = 1. Because bond->curr_active_slave was prematurely cleared to NULL when releasing the backup slave, the subsequent iteration releasing the active slave evaluates oldcurrent as NULL, so bond_change_active_slave(bond, NULL) is skipped. Consequently, bond_alb_handle_active_change() is never called to decrement the promiscuity counter, permanently leaking promiscuous mode on the physical device after bond teardown. When oldcurrent == slave, bond_change_active_slave(bond, NULL) already sets bond->curr_active_slave to NULL. We only need to avoid selecting a new active slave when all == true. Replace the if (all) branch with if (!all && oldcurrent == slave).
Impacted products
Vendor Product Version
Linux Linux Version: 0896341a44bf04bf6149d9307fe4686006f3eee1
Version: 0896341a44bf04bf6149d9307fe4686006f3eee1
Version: 0896341a44bf04bf6149d9307fe4686006f3eee1
Version: 0896341a44bf04bf6149d9307fe4686006f3eee1
Version: 0896341a44bf04bf6149d9307fe4686006f3eee1
Version: 0896341a44bf04bf6149d9307fe4686006f3eee1
Version: 0896341a44bf04bf6149d9307fe4686006f3eee1
Version: 0896341a44bf04bf6149d9307fe4686006f3eee1
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/bonding/bond_main.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b1ded242135071769902778dbab081e3fc09730f",
              "status": "affected",
              "version": "0896341a44bf04bf6149d9307fe4686006f3eee1",
              "versionType": "git"
            },
            {
              "lessThan": "e39b203ec9e73852098d41b26386172d51babeb9",
              "status": "affected",
              "version": "0896341a44bf04bf6149d9307fe4686006f3eee1",
              "versionType": "git"
            },
            {
              "lessThan": "384739c631aa6749356ba062d6b7c9a484a733f6",
              "status": "affected",
              "version": "0896341a44bf04bf6149d9307fe4686006f3eee1",
              "versionType": "git"
            },
            {
              "lessThan": "7b435c69a30b40efc642de98b9bfa95fcf2ad4f0",
              "status": "affected",
              "version": "0896341a44bf04bf6149d9307fe4686006f3eee1",
              "versionType": "git"
            },
            {
              "lessThan": "d6ef22e79c2be3612868daede0e9a84f05439d9e",
              "status": "affected",
              "version": "0896341a44bf04bf6149d9307fe4686006f3eee1",
              "versionType": "git"
            },
            {
              "lessThan": "19ba7ecfade159b3702c78a360fd7d971e2b7109",
              "status": "affected",
              "version": "0896341a44bf04bf6149d9307fe4686006f3eee1",
              "versionType": "git"
            },
            {
              "lessThan": "6d0ee411d5437f3d126ea6979acb83a8da29dc81",
              "status": "affected",
              "version": "0896341a44bf04bf6149d9307fe4686006f3eee1",
              "versionType": "git"
            },
            {
              "lessThan": "af602c7aa5fedc9be3043244017aef4f26c96b70",
              "status": "affected",
              "version": "0896341a44bf04bf6149d9307fe4686006f3eee1",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/bonding/bond_main.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.9"
            },
            {
              "lessThan": "3.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.271",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.222",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.111",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.271",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.222",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.189",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.111",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.53",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.7",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbonding: do not clear curr_active_slave prematurely when releasing all slaves\n\nWhen releasing all slaves during bond destruction (all == true),\n__bond_release_one() unconditionally clears bond-\u003ecurr_active_slave to\nNULL in every iteration.\n\nIf a backup slave is released before the active slave,\nbond_alb_deinit_slave() triggers rlb_teach_disabled_mac_on_primary(),\nwhich increments the active slave dev promiscuity counter and sets\nbond_info-\u003eprimary_is_promisc = 1.\n\nBecause bond-\u003ecurr_active_slave was prematurely cleared to NULL when\nreleasing the backup slave, the subsequent iteration releasing the active\nslave evaluates oldcurrent as NULL, so bond_change_active_slave(bond, NULL)\nis skipped. Consequently, bond_alb_handle_active_change() is never called\nto decrement the promiscuity counter, permanently leaking promiscuous\nmode on the physical device after bond teardown.\n\nWhen oldcurrent == slave, bond_change_active_slave(bond, NULL) already sets\nbond-\u003ecurr_active_slave to NULL. We only need to avoid selecting a new\nactive slave when all == true. Replace the if (all) branch with\nif (!all \u0026\u0026 oldcurrent == slave)."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:13:23.911Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b1ded242135071769902778dbab081e3fc09730f"
        },
        {
          "url": "https://git.kernel.org/stable/c/e39b203ec9e73852098d41b26386172d51babeb9"
        },
        {
          "url": "https://git.kernel.org/stable/c/384739c631aa6749356ba062d6b7c9a484a733f6"
        },
        {
          "url": "https://git.kernel.org/stable/c/7b435c69a30b40efc642de98b9bfa95fcf2ad4f0"
        },
        {
          "url": "https://git.kernel.org/stable/c/d6ef22e79c2be3612868daede0e9a84f05439d9e"
        },
        {
          "url": "https://git.kernel.org/stable/c/19ba7ecfade159b3702c78a360fd7d971e2b7109"
        },
        {
          "url": "https://git.kernel.org/stable/c/6d0ee411d5437f3d126ea6979acb83a8da29dc81"
        },
        {
          "url": "https://git.kernel.org/stable/c/af602c7aa5fedc9be3043244017aef4f26c96b70"
        }
      ],
      "title": "bonding: do not clear curr_active_slave prematurely when releasing all slaves",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98074",
    "datePublished": "2026-09-25T10:24:13.870Z",
    "dateReserved": "2026-09-25T10:19:56.074Z",
    "dateUpdated": "2026-10-19T09:13:23.911Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…