{"id":"CVE-2026-143271","state":"PUBLISHED","title":"bonding: fix missing down path on speed/duplex failure after FAIL->UP","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbonding: fix missing down path on speed/duplex failure after FAIL->UP\n\nIn bond_miimon_commit(), when a slave is proposed as BOND_LINK_UP but\nbond_update_speed_duplex() fails in bonding mode that needs speed/duplex\n(802.3ad, tlb, alb), the slave is set to BOND_LINK_DOWN directly. This\nbypasses bond_set_slave_link_state(), bond_miimon_link_change() and\nfailover.\n\nThis is fine for slave that coming from BOND_LINK_BACK, which was never\nbrought up and is not in use. But since commit 1899bb325149 (\"bonding:\nfix state transition issue in link monitoring\") the commit phase also\nhandles BOND_LINK_FAIL -> BOND_LINK_UP which means a slave that is still\nin use and may be curr_active_slave.\n\nIf the link recovers within downdelay and goes down again before the\ncommit phase reads speed/duplex, the slave is silently marked down while\nremaining the active slave in worst cases. In alb/tlb the bond MAC stays\non the dead port, no failover happens and TLB/RLB state is not cleaned,\nso the bond stops passing traffic until that link comes back even though\nother slaves are up. A non-active slave is affected too, in alb, RLB\nclients assigned to it are not reassigned and become unreachable.\n\nReproduced in tlb and alb mode with miimon=100 and downdelay=10000 by\nflapping a slave within downdelay and dropping it again before commit\n(a longer delay was added between inspect and commit to make window\nwider and easier to test):\n  bond0: (slave enp0s3): link status down for interface, disabling it in 10000 ms\n  bond0: (slave enp0s3): link status up again after 3400 ms\n  bond0: (slave enp0s3): failed to get link speed/duplex\n\nprocfs then shows the active slave with \"MII Status: down\" and \"Link\nFailure Count: 0\", and all traffic is lost.\n\nFix this by dropping the loop in bond_mii_monitor() that applied all\nproposed link states before bond_miimon_commit(). bond_miimon_commit()\nnow applies each state itself: UP after the speed/duplex check, as it\nalready did, DOWN in the down path, and FAIL/BACK directly. So when the\nspeed/duplex check runs, slave->link still holds the previous state. If\nthe check fails for a slave that is FAIL or UP, take it through the\nregular down path, including failover. DOWN and BACK slaves were\nnever brought up and are still just reverted to DOWN. The down path is\nmoved into bond_miimon_slave_down() so both callers share it.\n\nAfter the fix:\n  bond0: (slave enp0s3): failed to get link speed/duplex\n  bond0: (slave enp0s3): link status definitely down, disabling slave\n  bond0: (slave enp0s4): making interface the new active one","publishedAt":"2026-12-03T09:21:13.095Z","updatedAt":"2026-12-03T09:21:13.095Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1899bb325149e481de31a4f32b59ea6f24e176ea","status":"affected","lessThan":"8d18da495c8ba945e774327bacbb33aef12bbd7f","versionType":"git"},{"version":"1899bb325149e481de31a4f32b59ea6f24e176ea","status":"affected","lessThan":"9852b6b0e681277c47dfd18ed0dc65c1ccb7d0db","versionType":"git"},{"version":"1899bb325149e481de31a4f32b59ea6f24e176ea","status":"affected","lessThan":"a76ab5e733b41dede6f238a691eefb4374f99f79","versionType":"git"},{"version":"982b261b87f8d956f6df7506bcfc209ac2fdc665","status":"affected","versionType":"git"},{"version":"27b5f4bf5ba95b452d98ecaec4eed67ff2e05f67","status":"affected","versionType":"git"},{"version":"f6a3a22757204466af7960226d2c26e42f7d219e","status":"affected","versionType":"git"},{"version":"4.14.154","status":"affected","lessThan":"4.15","versionType":"semver"},{"version":"4.19.84","status":"affected","lessThan":"4.20","versionType":"semver"},{"version":"5.3.11","status":"affected","lessThan":"5.4","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/bonding/bond_main.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.4","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/bonding/bond_main.c"]}],"references":["https://git.kernel.org/stable/c/8d18da495c8ba945e774327bacbb33aef12bbd7f","https://git.kernel.org/stable/c/9852b6b0e681277c47dfd18ed0dc65c1ccb7d0db","https://git.kernel.org/stable/c/a76ab5e733b41dede6f238a691eefb4374f99f79"],"weaknesses":[],"ingestedAt":"2026-12-03T09:42:04.348Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143271.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143271","state":"PUBLISHED","datePublished":"2026-12-03T09:21:13.095Z","dateUpdated":"2026-12-03T09:21:13.095Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.363Z"},"containers":{"cna":{"title":"bonding: fix missing down path on speed/duplex failure after FAIL->UP","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbonding: fix missing down path on speed/duplex failure after FAIL->UP\n\nIn bond_miimon_commit(), when a slave is proposed as BOND_LINK_UP but\nbond_update_speed_duplex() fails in bonding mode that needs speed/duplex\n(802.3ad, tlb, alb), the slave is set to BOND_LINK_DOWN directly. This\nbypasses bond_set_slave_link_state(), bond_miimon_link_change() and\nfailover.\n\nThis is fine for slave that coming from BOND_LINK_BACK, which was never\nbrought up and is not in use. But since commit 1899bb325149 (\"bonding:\nfix state transition issue in link monitoring\") the commit phase also\nhandles BOND_LINK_FAIL -> BOND_LINK_UP which means a slave that is still\nin use and may be curr_active_slave.\n\nIf the link recovers within downdelay and goes down again before the\ncommit phase reads speed/duplex, the slave is silently marked down while\nremaining the active slave in worst cases. In alb/tlb the bond MAC stays\non the dead port, no failover happens and TLB/RLB state is not cleaned,\nso the bond stops passing traffic until that link comes back even though\nother slaves are up. A non-active slave is affected too, in alb, RLB\nclients assigned to it are not reassigned and become unreachable.\n\nReproduced in tlb and alb mode with miimon=100 and downdelay=10000 by\nflapping a slave within downdelay and dropping it again before commit\n(a longer delay was added between inspect and commit to make window\nwider and easier to test):\n  bond0: (slave enp0s3): link status down for interface, disabling it in 10000 ms\n  bond0: (slave enp0s3): link status up again after 3400 ms\n  bond0: (slave enp0s3): failed to get link speed/duplex\n\nprocfs then shows the active slave with \"MII Status: down\" and \"Link\nFailure Count: 0\", and all traffic is lost.\n\nFix this by dropping the loop in bond_mii_monitor() that applied all\nproposed link states before bond_miimon_commit(). bond_miimon_commit()\nnow applies each state itself: UP after the speed/duplex check, as it\nalready did, DOWN in the down path, and FAIL/BACK directly. So when the\nspeed/duplex check runs, slave->link still holds the previous state. If\nthe check fails for a slave that is FAIL or UP, take it through the\nregular down path, including failover. DOWN and BACK slaves were\nnever brought up and are still just reverted to DOWN. The down path is\nmoved into bond_miimon_slave_down() so both callers share it.\n\nAfter the fix:\n  bond0: (slave enp0s3): failed to get link speed/duplex\n  bond0: (slave enp0s3): link status definitely down, disabling slave\n  bond0: (slave enp0s4): making interface the new active one"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1899bb325149e481de31a4f32b59ea6f24e176ea","status":"affected","lessThan":"8d18da495c8ba945e774327bacbb33aef12bbd7f","versionType":"git"},{"version":"1899bb325149e481de31a4f32b59ea6f24e176ea","status":"affected","lessThan":"9852b6b0e681277c47dfd18ed0dc65c1ccb7d0db","versionType":"git"},{"version":"1899bb325149e481de31a4f32b59ea6f24e176ea","status":"affected","lessThan":"a76ab5e733b41dede6f238a691eefb4374f99f79","versionType":"git"},{"version":"982b261b87f8d956f6df7506bcfc209ac2fdc665","status":"affected","versionType":"git"},{"version":"27b5f4bf5ba95b452d98ecaec4eed67ff2e05f67","status":"affected","versionType":"git"},{"version":"f6a3a22757204466af7960226d2c26e42f7d219e","status":"affected","versionType":"git"},{"version":"4.14.154","status":"affected","lessThan":"4.15","versionType":"semver"},{"version":"4.19.84","status":"affected","lessThan":"4.20","versionType":"semver"},{"version":"5.3.11","status":"affected","lessThan":"5.4","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/bonding/bond_main.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.4","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/bonding/bond_main.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/8d18da495c8ba945e774327bacbb33aef12bbd7f"},{"url":"https://git.kernel.org/stable/c/9852b6b0e681277c47dfd18ed0dc65c1ccb7d0db"},{"url":"https://git.kernel.org/stable/c/a76ab5e733b41dede6f238a691eefb4374f99f79"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:21:13.095Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"7.4-rc2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14.154"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19.84"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3.11"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}