CVE-2026-74706
JSON

Not scored

bnge: Fix NULL pointer dereference in aux device release

Severity
Not scored
Exploit likelihood
0.20% (higher than 5% of CVEs)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: bnge: Fix NULL pointer dereference in aux device release If allocation of auxr_dev fails during auxiliary device setup, the error path calls auxiliary_device_uninit(), which eventually invokes bnge_aux_dev_release(). The release callback unconditionally dereferences aux_priv->auxr_dev->pdev to retrieve the parent bnge_dev. Since auxr_dev has not yet been allocated on this failure path, the dereference results in a NULL pointer exception Retrieve the parent bnge_dev from the auxiliary device's parent instead of auxr_dev, and free auxr_dev only when it was successfully allocated. This allows the release callback to correctly clean up partially initialized auxiliary devices.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 8ac050ec3b1c0dcb5e89cf86fe2ebe0afcc73554 before 83ef2f3cab7fe6dd9155cd598dc64be524d963a9, from 8ac050ec3b1c0dcb5e89cf86fe2ebe0afcc73554 before 1cb4298810e27e037d3ca07286ecbb97e89ba58d, 6.19
Not affected: before 6.19, from 7.1.9 up to 7.1.*, from 7.2 up to *
CVE List

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: bnge: Fix NULL pointer dereference in aux device release If allocation of auxr_dev fails during auxiliary device setup, the error path calls auxiliary_device_uninit(), which eventually invokes bnge_aux_dev_release(). The release callback unconditionally dereferences aux_priv->auxr_dev->pdev to retrieve the parent bnge_dev. Since auxr_dev has not yet been allocated on this failure path, the dereference results in a NULL pointer exception Retrieve the parent bnge_dev from the auxiliary device's parent instead of auxr_dev, and free auxr_dev only when it was successfully allocated. This allows the release callback to correctly clean up partially initialized auxiliary devices.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: bnge: Corrección de desreferencia de puntero NULL en la liberación de dispositivo auxiliar Si la asignación de auxr_dev falla durante la configuración del dispositivo auxiliar, la ruta de error llama a auxiliary_device_uninit(), que finalmente invoca a bnge_aux_dev_release(). La devolución de llamada de liberación desreferencia incondicionalmente aux_priv -> auxr_dev -> pdev para recuperar el bnge_dev padre. Dado que auxr_dev aún no ha sido asignado en esta ruta de fallo, la desreferencia resulta en una excepción de puntero NULL. Recuperar el bnge_dev padre del padre del dispositivo auxiliar en lugar de auxr_dev, y liberar auxr_dev solo cuando fue asignado exitosamente. Esto permite a la devolución de llamada de liberación limpiar correctamente los dispositivos auxiliares parcialmente inicializados.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-74706 changed 2026-08-22CVE Terms of Use
NVDCVE-2026-74706 changed 2026-10-14Public domain