Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-143221

team: fix promisc/allmulti leak in team_port_add error path

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • f82d1fb65549de241fe312fcb2bcb8e0ad7b424d to < 0435eb564a00536d9fd63e618164a5972f9bd7e8affected
  • c8b15b0d2eec3b5c7f585e5a53dfc8d36c818283 to < 73d21ec628e7dbf23eca4842667b151b5489fe40affected
  • 4040b5e8963982a00aa821300cb746efc9f2947e to < a857fba068ea580c239b0882c71da4d00638b33aaffected
  • 0ae9cfc454ea5ead5f3ddbdfe2e70270d8e2c8ef to < a5e2848d744a8bd9968578a9c309ea600559d654affected
  • 0ae9cfc454ea5ead5f3ddbdfe2e70270d8e2c8ef to < de93ba920905460596d2c10fb808dfdc6784cdcdaffected
  • 0ae9cfc454ea5ead5f3ddbdfe2e70270d8e2c8ef to < ff618cb00a645f1e3f89068c5fbda3f3a7f4ae63affected
  • a74ab1b532ecc5f9106621a8f75b4c3d04466b35affected
  • e26235840fd961e4ebe5568f11a2a078cf726663affected
  • e3eed4f038214494af62c7d2d64749e5108ce6caaffected
  • 5.10.259 to < 5.10.276affected
  • 5.15.199 to < 5.15.227affected
  • 6.12.61 to < 6.12.120affected
  • 6.1.162 to < 6.2affected
  • 6.6.123 to < 6.7affected
  • 6.17.11 to < 6.18affected

Linux Linux

Default version status: affected

  • 6.18affected
  • 0 to < 6.18unaffected
  • 5.10.276 to ≤ 5.10.*unaffected
  • 5.15.227 to ≤ 5.15.*unaffected
  • 6.12.120 to ≤ 6.12.*unaffected
  • 6.18.66 to ≤ 6.18.*unaffected
  • 7.3.7 to ≤ 7.3.*unaffected
  • 7.4-rc3 to ≤ *unaffected

References