CVE-2026-23084
JSON

5.5medium

be2net: Fix NULL pointer dereference in be_cmd_get_mac_from_list

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 95046b927a54f461766f83a212c6a93bc5fd2e67 before 4cba480c9b9a3861a515262225cb53a1f5978344, from 95046b927a54f461766f83a212c6a93bc5fd2e67 before 92c6dc181a18e6e0ddb872ed35cb48a9274829e4, from 95046b927a54f461766f83a212c6a93bc5fd2e67 before 6c3e00888dbec887125a08b51a705b9b163fcdd1, from 95046b927a54f461766f83a212c6a93bc5fd2e67 before e206fb415db36bad52bb90c08d46ce71ffbe8a80, from 95046b927a54f461766f83a212c6a93bc5fd2e67 before 47ffb4dcffe336f4a7bd0f3284be7aadc6484698, from 95046b927a54f461766f83a212c6a93bc5fd2e67 before 31410a01a86bcb98c798d01061abf1f789c4f75a, from 95046b927a54f461766f83a212c6a93bc5fd2e67 before 8215794403d264739cc676668087512950b2ff31, 3.12
Not affected: before 3.12, from 5.10.249 up to 5.10.*, from 5.15.199 up to 5.15.*, from 6.1.162 up to 6.1.*, from 6.6.122 up to 6.6.*, from 6.12.68 up to 6.12.*
CVE List
linux linux_kernelfrom 3.12 before 5.10.249, from 5.11 before 5.15.199, from 5.16 before 6.1.162, from 6.2 before 6.6.122, from 6.7 before 6.12.68, from 6.13 before 6.18.8, 6.19NVD

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: be2net: Corrección de desreferencia de puntero NULL en be_cmd_get_mac_from_list Cuando el argumento del parámetro pmac_id_valid de be_cmd_get_mac_from_list() se establece en falso, el controlador puede solicitar el PMAC_ID del firmware de la tarjeta de red, y esta función almacenará ese PMAC_ID en la dirección pmac_id proporcionada. Este es el contrato de esta función. Sin embargo, existe una ubicación dentro del controlador donde se están pasando tanto pmac_id_valid == false como pmac_id == NULL. Esto podría resultar en la desreferencia de un puntero NULL. Para resolver este problema, es necesario pasar la dirección de una variable auxiliar a la función.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-23084 changed 2026-11-10CVE Terms of Use
NVDCVE-2026-23084 changed 2026-11-10Public domain