team: fix promisc/allmulti leak in team_port_add error path
Summary
| CVE | CVE-2026-143221 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 10:18:00 UTC |
| Updated | 2026-12-03 10:18:00 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: team: fix promisc/allmulti leak in team_port_add error path team_port_add() increments the port's promiscuity and allmulti counts before calling team_dev_type_check_change(). If the latter fails, the error path does not undo these increments, leaving the port in promiscuous and allmulti mode even though it was not successfully added to the team. Undo the promiscuity increment under err_set_slave_allmulti and the allmulti increment under err_set_dev_type, so each error label only reverts what was successfully applied, matching the cleanup performed by team_port_del(). With the promiscuity rollback now living under err_set_slave_allmulti, the inline dev_set_promiscuity(port_dev, -1) in the dev_set_allmulti() failure branch becomes redundant: that branch already jumps to err_set_slave_allmulti, which undoes the promiscuity increment. Drop the inline call to avoid doing it twice. Found by source code audit. |
Risk And Classification
EPSS: 0.002150000 probability, percentile 0.126160000 (date 2026-12-03)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected f82d1fb65549de241fe312fcb2bcb8e0ad7b424d 0435eb564a00536d9fd63e618164a5972f9bd7e8 git | Not specified |
| CNA | Linux | Linux | affected c8b15b0d2eec3b5c7f585e5a53dfc8d36c818283 73d21ec628e7dbf23eca4842667b151b5489fe40 git | Not specified |
| CNA | Linux | Linux | affected 4040b5e8963982a00aa821300cb746efc9f2947e a857fba068ea580c239b0882c71da4d00638b33a git | Not specified |
| CNA | Linux | Linux | affected 0ae9cfc454ea5ead5f3ddbdfe2e70270d8e2c8ef a5e2848d744a8bd9968578a9c309ea600559d654 git | Not specified |
| CNA | Linux | Linux | affected 0ae9cfc454ea5ead5f3ddbdfe2e70270d8e2c8ef de93ba920905460596d2c10fb808dfdc6784cdcd git | Not specified |
| CNA | Linux | Linux | affected 0ae9cfc454ea5ead5f3ddbdfe2e70270d8e2c8ef ff618cb00a645f1e3f89068c5fbda3f3a7f4ae63 git | Not specified |
| CNA | Linux | Linux | affected a74ab1b532ecc5f9106621a8f75b4c3d04466b35 git | Not specified |
| CNA | Linux | Linux | affected e26235840fd961e4ebe5568f11a2a078cf726663 git | Not specified |
| CNA | Linux | Linux | affected e3eed4f038214494af62c7d2d64749e5108ce6ca git | Not specified |
| CNA | Linux | Linux | affected 5.10.259 5.10.276 semver | Not specified |
| CNA | Linux | Linux | affected 5.15.199 5.15.227 semver | Not specified |
| CNA | Linux | Linux | affected 6.12.61 6.12.120 semver | Not specified |
| CNA | Linux | Linux | affected 6.1.162 6.2 semver | Not specified |
| CNA | Linux | Linux | affected 6.6.123 6.7 semver | Not specified |
| CNA | Linux | Linux | affected 6.17.11 6.18 semver | Not specified |
| CNA | Linux | Linux | affected 6.18 | Not specified |
| CNA | Linux | Linux | unaffected 6.18 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.276 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.227 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.120 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.66 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3.7 7.3.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.4-rc3 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/a857fba068ea580c239b0882c71da4d00638b33a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/a5e2848d744a8bd9968578a9c309ea600559d654 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/ff618cb00a645f1e3f89068c5fbda3f3a7f4ae63 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/0435eb564a00536d9fd63e618164a5972f9bd7e8 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/73d21ec628e7dbf23eca4842667b151b5489fe40 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/de93ba920905460596d2c10fb808dfdc6784cdcd | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.