net/mlx5e: Fix null deref accessing lag dev
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
5.10.425.12.95.13In 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.
From the CVE record · Linux
The Linux kernel's net/mlx5e driver can dereference a null LAG device while processing a bond enslave event before the upper device is set. The input does not describe an attacker action or specify network, authentication, or user-interaction requirements.
Engineers running Linux kernels with net/mlx5e should check their exposure; affected versions are not specified.