5.5medium
net/mlx5e: Fix null deref accessing lag dev
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.23% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 7e51891a237f9ea319f53f9beb83afb0077d88e6 before 2e4b0b95a489259f9d35a3db17023061f8f3d587, from 7e51891a237f9ea319f53f9beb83afb0077d88e6 before bdfd3593a8248eea6ecfcbf7b47b56b86515672d, from 7e51891a237f9ea319f53f9beb83afb0077d88e6 before 83026d83186bc48bb41ee4872f339b83f31dfc55, 5.8 Not affected: before 5.8, from 5.10.42 up to 5.10.*, from 5.12.9 up to 5.12.*, from 5.13 up to * | CVE List |
| linux linux_kernel | from 5.8 before 5.10.42, from 5.11 before 5.12.9 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: net/mlx5e: corrigió el deref nulo al acceder a lag dev. Podría ser que el lag dev sea nulo, así que deje de procesar el evento. En bond_enslave(), el esclavo activo/de respaldo se configura antes de configurar el desarrollo superior, por lo que el primer evento es sin un desarrollo superior. Después de configurar el desarrollo superior con bond_master_upper_dev_link() hay un segundo evento y en ese evento tenemos un desarrollo superior.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47164 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2021-47164 changed 2026-06-17 | Public domain |