cvelo
P4 · InfoEPSS 0.2%

team: fix promisc/allmulti leak in team_port_add error path

  • CVE-2026-143221
  • GHSA-vcfj-fcpf-8697
  • EUVD-2026-142871

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.

Text from the CVE.org record.

Recommendation

  • Linux

    • If you run 6.12.xupdate to 6.12.120 or laterPatch update: breaking changes are unlikely
    • If you run a version from 6.6.123 to before 6.7update to 6.7 or laterMinor version change: check the release notes
    • If you run a version from 6.1.162 to before 6.2update to 6.2 or laterMinor version change: check the release notes
    • If you run 5.15.xupdate to 5.15.227 or laterPatch update: breaking changes are unlikely
    • If you run 5.10.xupdate to 5.10.276 or laterPatch update: breaking changes are unlikely

    Some affected versions have no stated fix.

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • Linux

    Affected versionsFixed in
    from 6.12.61 to before 6.12.1206.12.120
    from 6.6.123 to before 6.76.7
    from 6.1.162 to before 6.26.2
    from 5.15.199 to before 5.15.2275.15.227
    from 5.10.259 to before 5.10.2765.10.276
    from 6.17.11 to before 6.18none stated
    6.18none stated
    before 6.18: not affectednone stated

    and 6 more

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.