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.
INFO
Published Date :
Dec. 3, 2026, 10:18 a.m.
Last Modified :
Dec. 3, 2026, 10:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Update the Linux kernel to the latest version.
- Review kernel configuration for promiscuity settings.
- Verify allmulti settings are correctly managed.
- Apply patches that fix resource leaks.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-143221.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-143221 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-143221
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-143221 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-143221 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 03, 2026
Action Type Old Value New Value Added 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/143xxx/CVE-2026-143221.json">CVE-2026-143221</a> Added Reference https://git.kernel.org/stable/c/0435eb564a00536d9fd63e618164a5972f9bd7e8 Added Reference https://git.kernel.org/stable/c/73d21ec628e7dbf23eca4842667b151b5489fe40 Added Reference https://git.kernel.org/stable/c/a5e2848d744a8bd9968578a9c309ea600559d654 Added Reference https://git.kernel.org/stable/c/a857fba068ea580c239b0882c71da4d00638b33a Added Reference https://git.kernel.org/stable/c/de93ba920905460596d2c10fb808dfdc6784cdcd Added Reference https://git.kernel.org/stable/c/ff618cb00a645f1e3f89068c5fbda3f3a7f4ae63