Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 95046b927a54f461766f83a212c6a93bc5fd2e67 before 4cba480c9b9a3861a515262225cb53a1f5978344; affected 95046b927a54f461766f83a212c6a93bc5fd2e67 before 92c6dc181a18e6e0ddb872ed35cb48a9274829e4; affected 95046b927a54f461766f83a212c6a93bc5fd2e67 before 6c3e00888dbec887125a08b51a705b9b163fcdd1; affected 95046b927a54f461766f83a212c6a93bc5fd2e67 before e206fb415db36bad52bb90c08d46ce71ffbe8a80; affected 95046b927a54f461766f83a212c6a93bc5fd2e67 before 47ffb4dcffe336f4a7bd0f3284be7aadc6484698; affected 95046b927a54f461766f83a212c6a93bc5fd2e67 before 31410a01a86bcb98c798d01061abf1f789c4f75a; affected 95046b927a54f461766f83a212c6a93bc5fd2e67 before 8215794403d264739cc676668087512950b2ff31 |
| Linux / Linux | affected 3.12; unaffected 0 before 3.12; unaffected 5.10.249 through 5.10.*; unaffected 5.15.199 through 5.15.*; unaffected 6.1.162 through 6.1.*; unaffected 6.6.122 through 6.6.*; unaffected 6.12.68 through 6.12.*; unaffected 6.18.8 through 6.18.*; unaffected 6.19 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/4cba480c9b9a3861a515262225cb53a1f5978344
- https://git.kernel.org/stable/c/92c6dc181a18e6e0ddb872ed35cb48a9274829e4
- https://git.kernel.org/stable/c/6c3e00888dbec887125a08b51a705b9b163fcdd1
- https://git.kernel.org/stable/c/e206fb415db36bad52bb90c08d46ce71ffbe8a80
- https://git.kernel.org/stable/c/47ffb4dcffe336f4a7bd0f3284be7aadc6484698
- https://git.kernel.org/stable/c/31410a01a86bcb98c798d01061abf1f789c4f75a
- https://git.kernel.org/stable/c/8215794403d264739cc676668087512950b2ff31
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.