be2net: Fix NULL pointer dereference in be_cmd_get_mac_from_list
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.249, 5.15.199, 6.1.162, 6.6.122, 6.12.68, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 95046b927a54f461766f83a212c6a93bc5fd2e67 · fixed in 4cba480c9b9a3861a515262225cb53a1f5978344; From 95046b927a54f461766f83a212c6a93bc5fd2e67 · fixed in 92c6dc181a18e6e0ddb872ed35cb48a9274829e4; From 95046b927a54f461766f83a212c6a93bc5fd2e67 · fixed in 6c3e00888dbec887125a08b51a705b9b163fcdd1; From 95046b927a54f461766f83a212c6a93bc5fd2e67 · fixed in e206fb415db36bad52bb90c08d46ce71ffbe8a80; From 95046b927a54f461766f83a212c6a93bc5fd2e67 · fixed in 47ffb4dcffe336f4a7bd0f3284be7aadc6484698; From 95046b927a54f461766f83a212c6a93bc5fd2e67 · fixed in 31410a01a86bcb98c798d01061abf1f789c4f75a; From 95046b927a54f461766f83a212c6a93bc5fd2e67 · fixed in 8215794403d264739cc676668087512950b2ff31
- Linux Linux
3.12
- KernelLinux
From 3.12.0 · fixed in 5.10.249; From 5.11.0 · fixed in 5.15.199; From 5.16.0 · fixed in 6.1.162; From 6.2.0 · fixed in 6.6.122; From 6.7.0 · fixed in 6.12.68; From 6.13.0 · fixed in 6.18.8
References 7
git.kernel.org
- stable/c/4cba480c9b9a3861a515262225cb53a1f5978344
- stable/c/92c6dc181a18e6e0ddb872ed35cb48a9274829e4
- stable/c/6c3e00888dbec887125a08b51a705b9b163fcdd1
- stable/c/e206fb415db36bad52bb90c08d46ce71ffbe8a80
- stable/c/47ffb4dcffe336f4a7bd0f3284be7aadc6484698
- stable/c/31410a01a86bcb98c798d01061abf1f789c4f75a
- stable/c/8215794403d264739cc676668087512950b2ff31