be2net: Fix NULL pointer dereference in be_cmd_get_mac_from_list
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.10.249, Kernel 5.15.199, Kernel 6.1.162 and 10 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=3.12 <5.10.249, >=5.11 <5.15.199, >=5.16 <6.1.162, >=6.13 <6.18.8, >=6.2 <6.6.122, >=6.7 <6.12.68, =6.19, >=95046b927a54f461766f83a212c6a93bc5fd2e67 <47ffb4dcffe336f4a7bd0f3284be7aadc6484698, >=95046b927a54f461766f83a212c6a93bc5fd2e67 <4cba480c9b9a3861a515262225cb53a1f5978344, >=95046b927a54f461766f83a212c6a93bc5fd2e67 <6c3e00888dbec887125a08b51a705b9b163fcdd1, >=95046b927a54f461766f83a212c6a93bc5fd2e67 <8215794403d264739cc676668087512950b2ff31, >=95046b927a54f461766f83a212c6a93bc5fd2e67 <92c6dc181a18e6e0ddb872ed35cb48a9274829e4, >=95046b927a54f461766f83a212c6a93bc5fd2e67 <e206fb415db36bad52bb90c08d46ce71ffbe8a80, =3.12, >=95046b927a54f461766f83a212c6a93bc5fd2e67 <31410a01a86bcb98c798d01061abf1f789c4f75a | 5.10.249, 5.15.199, 6.1.162, 6.18.8, 6.6.122, 6.12.68, 47ffb4dcffe336f4a7bd0f3284be7aadc6484698, 4cba480c9b9a3861a515262225cb53a1f5978344, 6c3e00888dbec887125a08b51a705b9b163fcdd1, 8215794403d264739cc676668087512950b2ff31, 92c6dc181a18e6e0ddb872ed35cb48a9274829e4, e206fb415db36bad52bb90c08d46ce71ffbe8a80, 31410a01a86bcb98c798d01061abf1f789c4f75a |
| linux-kernel: Kernel | >=3.12.0 <5.10.249, >=5.11.0 <5.15.199, >=5.16.0 <6.1.162, >=6.13.0 <6.18.8, >=6.2.0 <6.6.122, >=6.7.0 <6.12.68 | 5.10.249, 5.15.199, 6.1.162, 6.18.8, 6.6.122, 6.12.68 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket