{"id":"CVE-2025-39772","aliases":["CVE-2025-39772"],"related":[],"kind":"vulnerability","state":"published","title":"drm/hisilicon/hibmc: fix the hibmc loaded failed bug","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/hisilicon/hibmc: fix the hibmc loaded failed bug\n\nWhen hibmc loaded failed, the driver use hibmc_unload to free the\nresource, but the mutexes in mode.config are not init, which will\naccess an NULL pointer. Just change goto statement to return, because\nhibnc_hw_init() doesn't need to free anything.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/hisilicon/hibmc: fix the hibmc loaded failed bug\n\nWhen hibmc loaded failed, the driver use hibmc_unload to free the\nresource, but the mutexes in mode.config are not init, which will\naccess an NULL pointer. Just change goto statement to return, because\nhibnc_hw_init() doesn't need to free anything.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ndrm/hisilicon/hibmc: corregir el error de carga fallida de hibmc\n\nCuando 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.","source":"nvd"}],"published":"2025-09-11T16:56:26.130Z","modified":"2026-11-05T22:17:30.890Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"b3df5e65cc03696b0624a877d03a3ddf3ef43f52","fixed":"ddf1691f25345699296e642f0f59f2d464722fa3","status":"affected"},{"type":"git","introduced":"b3df5e65cc03696b0624a877d03a3ddf3ef43f52","fixed":"c950e1be3a24d021475b56efdb49daa7fbba63a9","status":"affected"},{"type":"git","introduced":"b3df5e65cc03696b0624a877d03a3ddf3ef43f52","fixed":"f93032e5d68f459601c701f6ab087b5feb3382e8","status":"affected"},{"type":"git","introduced":"b3df5e65cc03696b0624a877d03a3ddf3ef43f52","fixed":"a4f1b9c57092c48bdc7958abd23403ccaed437b2","status":"affected"},{"type":"git","introduced":"b3df5e65cc03696b0624a877d03a3ddf3ef43f52","fixed":"d3e774266c28aefab3e9db334fdf568f936cae04","status":"affected"},{"type":"git","introduced":"b3df5e65cc03696b0624a877d03a3ddf3ef43f52","fixed":"93a08f856fcc5aaeeecad01f71bef3088588216a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.14","status":"unaffected"},{"type":"semver","introduced":"5.15.190","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.149","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.103","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.44","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.16.4","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.14","fixed":"5.15.190"},{"status":"affected","introduced":"5.16","fixed":"6.1.149"},{"status":"affected","introduced":"6.2","fixed":"6.6.103"},{"status":"affected","introduced":"6.7","fixed":"6.12.44"},{"status":"affected","introduced":"6.13","fixed":"6.16.4"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/ddf1691f25345699296e642f0f59f2d464722fa3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c950e1be3a24d021475b56efdb49daa7fbba63a9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f93032e5d68f459601c701f6ab087b5feb3382e8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a4f1b9c57092c48bdc7958abd23403ccaed437b2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d3e774266c28aefab3e9db334fdf568f936cae04","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/93a08f856fcc5aaeeecad01f71bef3088588216a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T21:11:16.408Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39772","url":"https://www.cve.org/CVERecord?id=CVE-2025-39772","licence":"CVE Terms of Use","modified":"2026-11-05T21:12:57.631Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39772","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39772","licence":"Public domain","modified":"2026-11-05T22:17:30.890Z"}],"updatedAt":"2026-11-25T22:59:04.559Z","epss":{"score":0.00232,"percentile":0.08426,"date":"2026-11-30T12:00:22.000Z"}}