What’s Vulnerable › Vulnerabilities
CVE-2021-47164: net/mlx5e: Fix null deref accessing lag dev
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-03-25 · updated 2026-06-17
- Weakness: CWE-476
Description
In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Fix null deref accessing lag dev It could be the lag dev is null so stop processing the event. In bond_enslave() the active/backup slave being set before setting the upper dev so first event is without an upper dev. After setting the upper dev with bond_master_upper_dev_link() there is a second event and in that event we have an upper dev.
Affected products
- Linux kernel: from 5.8 before 5.10.42; from 5.11 before 5.12.9 — fixed in 5.10.42, 5.12.9
How to fix
Upgrade to a fixed version: Linux kernel 5.10.42, 5.12.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2e4b0b95a489259f9d35a3db17023061f8f3d587
- https://git.kernel.org/stable/c/83026d83186bc48bb41ee4872f339b83f31dfc55
- https://git.kernel.org/stable/c/bdfd3593a8248eea6ecfcbf7b47b56b86515672d
- https://git.kernel.org/stable/c/2e4b0b95a489259f9d35a3db17023061f8f3d587
- https://git.kernel.org/stable/c/83026d83186bc48bb41ee4872f339b83f31dfc55
- https://git.kernel.org/stable/c/bdfd3593a8248eea6ecfcbf7b47b56b86515672d
Get alerted when CVE-2021-47164 or the next vulnerability affects your stack