Description
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 status
95046b927a54f461766f83a212c6a93bc5fd2e67 (git) before 4cba480c9b9a3861a515262225cb53a1f5978344
95046b927a54f461766f83a212c6a93bc5fd2e67 (git) before 92c6dc181a18e6e0ddb872ed35cb48a9274829e4
95046b927a54f461766f83a212c6a93bc5fd2e67 (git) before 6c3e00888dbec887125a08b51a705b9b163fcdd1
95046b927a54f461766f83a212c6a93bc5fd2e67 (git) before e206fb415db36bad52bb90c08d46ce71ffbe8a80
95046b927a54f461766f83a212c6a93bc5fd2e67 (git) before 47ffb4dcffe336f4a7bd0f3284be7aadc6484698
95046b927a54f461766f83a212c6a93bc5fd2e67 (git) before 31410a01a86bcb98c798d01061abf1f789c4f75a
95046b927a54f461766f83a212c6a93bc5fd2e67 (git) before 8215794403d264739cc676668087512950b2ff31
3.12
Any version before 3.12
5.10.249 (semver)
5.15.199 (semver)
6.1.162 (semver)
6.6.122 (semver)
6.12.68 (semver)
6.18.8 (semver)
6.19 (original_commit_for_fix)
References
git.kernel.org/...c/4cba480c9b9a3861a515262225cb53a1f5978344
git.kernel.org/...c/92c6dc181a18e6e0ddb872ed35cb48a9274829e4
git.kernel.org/...c/6c3e00888dbec887125a08b51a705b9b163fcdd1
git.kernel.org/...c/e206fb415db36bad52bb90c08d46ce71ffbe8a80
git.kernel.org/...c/47ffb4dcffe336f4a7bd0f3284be7aadc6484698
git.kernel.org/...c/31410a01a86bcb98c798d01061abf1f789c4f75a
git.kernel.org/...c/8215794403d264739cc676668087512950b2ff31