team: fix promisc/allmulti leak in team_port_add error path

Summary

CVECVE-2026-143221
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-03 10:18:00 UTC
Updated2026-12-03 10:18:00 UTC
DescriptionIn 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

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report