{"id":"CVE-2026-98074","aliases":["CVE-2026-98074"],"related":[],"kind":"vulnerability","state":"published","title":"bonding: do not clear curr_active_slave prematurely when releasing all slaves","summary":"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->curr_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->primary_is_promisc = 1.\n\nBecause bond->curr_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->curr_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 && oldcurrent == slave).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->curr_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->primary_is_promisc = 1.\n\nBecause bond->curr_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->curr_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 && oldcurrent == slave).","source":"cvelist"}],"published":"2026-09-25T10:24:13.870Z","modified":"2026-11-18T13:00:23.610Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-404"],"affected":[{"ranges":[{"type":"git","introduced":"0896341a44bf04bf6149d9307fe4686006f3eee1","fixed":"b1ded242135071769902778dbab081e3fc09730f","status":"affected"},{"type":"git","introduced":"0896341a44bf04bf6149d9307fe4686006f3eee1","fixed":"e39b203ec9e73852098d41b26386172d51babeb9","status":"affected"},{"type":"git","introduced":"0896341a44bf04bf6149d9307fe4686006f3eee1","fixed":"384739c631aa6749356ba062d6b7c9a484a733f6","status":"affected"},{"type":"git","introduced":"0896341a44bf04bf6149d9307fe4686006f3eee1","fixed":"7b435c69a30b40efc642de98b9bfa95fcf2ad4f0","status":"affected"},{"type":"git","introduced":"0896341a44bf04bf6149d9307fe4686006f3eee1","fixed":"d6ef22e79c2be3612868daede0e9a84f05439d9e","status":"affected"},{"type":"git","introduced":"0896341a44bf04bf6149d9307fe4686006f3eee1","fixed":"19ba7ecfade159b3702c78a360fd7d971e2b7109","status":"affected"},{"type":"git","introduced":"0896341a44bf04bf6149d9307fe4686006f3eee1","fixed":"6d0ee411d5437f3d126ea6979acb83a8da29dc81","status":"affected"},{"type":"git","introduced":"0896341a44bf04bf6149d9307fe4686006f3eee1","fixed":"af602c7aa5fedc9be3043244017aef4f26c96b70","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.9","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.9","fixed":"5.10.271"},{"status":"affected","introduced":"5.11","fixed":"5.15.222"},{"status":"affected","introduced":"5.16","fixed":"6.1.189"},{"status":"affected","introduced":"6.2","fixed":"6.6.158"},{"status":"affected","introduced":"6.7","fixed":"6.12.111"},{"status":"affected","introduced":"6.13","fixed":"6.18.53"},{"status":"affected","introduced":"6.19","fixed":"7.2.7"},{"status":"affected","version":"7.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b1ded242135071769902778dbab081e3fc09730f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e39b203ec9e73852098d41b26386172d51babeb9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/384739c631aa6749356ba062d6b7c9a484a733f6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7b435c69a30b40efc642de98b9bfa95fcf2ad4f0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d6ef22e79c2be3612868daede0e9a84f05439d9e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/19ba7ecfade159b3702c78a360fd7d971e2b7109","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6d0ee411d5437f3d126ea6979acb83a8da29dc81","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/af602c7aa5fedc9be3043244017aef4f26c96b70","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98074","url":"https://www.cve.org/CVERecord?id=CVE-2026-98074","licence":"CVE Terms of Use","modified":"2026-10-19T09:13:23.911Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98074","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98074","licence":"Public domain","modified":"2026-11-18T13:00:23.610Z"}],"updatedAt":"2026-11-25T22:59:41.048Z","epss":{"score":0.00123,"percentile":0.02201,"date":"2026-12-01T12:00:22.000Z"}}