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 package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 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_kernel | from 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.17 | NVD |
| debian debian_linux | 11.0 | NVD |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-39772 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2025-39772 changed 2026-11-05 | Public domain |