Medium · published February 4, 2026
In the Linux kernel, the following vulnerability has been resolved:
be2net: Fix NULL pointer dereference in be_cmd_get_mac_from_list
When the parameter pmac_id_valid argument of be_cmd_get_mac_from_list() is
set to false, the driver may request the PMAC_ID from the firmware of the
network card, and this function will store that PMAC_ID at the provided
address pmac_id. This is the contract of this function.
However, there is a location within the driver where both
pmac_id_valid == false and pmac_id == NULL are being passed. This could
result in dereferencing a NULL pointer.
To resolve this issue, it is necessary to pass the address of a stub
variable to the function.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 3.12, < 5.10.249 | 5.10.249 |
| linux/linux_kernel | ≥ 5.11, < 5.15.199 | 5.15.199 |
| linux/linux_kernel | ≥ 5.16, < 6.1.162 | 6.1.162 |
| linux/linux_kernel | ≥ 6.2, < 6.6.122 | 6.6.122 |
| linux/linux_kernel | ≥ 6.7, < 6.12.68 | 6.12.68 |
| linux/linux_kernel | ≥ 6.13, < 6.18.8 | 6.18.8 |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |