CVE-2025-39772
JSON

5.5medium

drm/hisilicon/hibmc: fix the hibmc loaded failed bug

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.23% (higher than 8% of CVEs)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: drm/hisilicon/hibmc: fix the hibmc loaded failed bug When hibmc loaded failed, the driver use hibmc_unload to free the resource, but the mutexes in mode.config are not init, which will access an NULL pointer. Just change goto statement to return, because hibnc_hw_init() doesn't need to free anything.

Affected

Product or packageVersionsReported by
Linux Linuxfrom b3df5e65cc03696b0624a877d03a3ddf3ef43f52 before ddf1691f25345699296e642f0f59f2d464722fa3, from b3df5e65cc03696b0624a877d03a3ddf3ef43f52 before c950e1be3a24d021475b56efdb49daa7fbba63a9, from b3df5e65cc03696b0624a877d03a3ddf3ef43f52 before f93032e5d68f459601c701f6ab087b5feb3382e8, from b3df5e65cc03696b0624a877d03a3ddf3ef43f52 before a4f1b9c57092c48bdc7958abd23403ccaed437b2, from b3df5e65cc03696b0624a877d03a3ddf3ef43f52 before d3e774266c28aefab3e9db334fdf568f936cae04, from b3df5e65cc03696b0624a877d03a3ddf3ef43f52 before 93a08f856fcc5aaeeecad01f71bef3088588216a, 4.14
Not affected: before 4.14, from 5.15.190 up to 5.15.*, from 6.1.149 up to 6.1.*, from 6.6.103 up to 6.6.*, from 6.12.44 up to 6.12.*, from 6.16.4 up to 6.16.*
CVE List
linux linux_kernelfrom 4.14 before 5.15.190, from 5.16 before 6.1.149, from 6.2 before 6.6.103, from 6.7 before 6.12.44, from 6.13 before 6.16.4, 6.17NVD
debian debian_linux11.0NVD

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: drm/hisilicon/hibmc: fix the hibmc loaded failed bug When hibmc loaded failed, the driver use hibmc_unload to free the resource, but the mutexes in mode.config are not init, which will access an NULL pointer. Just change goto statement to return, because hibnc_hw_init() doesn't need to free anything.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm/hisilicon/hibmc: corregir el error de carga fallida de hibmc Cuando hibmc fallaba al cargar, el controlador utiliza hibmc_unload para liberar el recurso, pero los mutex en mode.config no están inicializados, lo que provocará un acceso a un puntero NULL. Simplemente cambie la sentencia goto por return, porque hibnc_hw_init() no necesita liberar nada.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-39772 changed 2026-11-05CVE Terms of Use
NVDCVE-2025-39772 changed 2026-11-05Public domain