drm/hisilicon/hibmc: fix the hibmc loaded failed bug
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.
02 / AFFECTED SOFTWARE
Affected packages
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
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.
05 / REFERENCES
Further evidence
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/93a08f856fcc5aaeeecad01f71bef3088588216a
- https://git.kernel.org/stable/c/a4f1b9c57092c48bdc7958abd23403ccaed437b2
- https://git.kernel.org/stable/c/c950e1be3a24d021475b56efdb49daa7fbba63a9
- https://git.kernel.org/stable/c/d3e774266c28aefab3e9db334fdf568f936cae04
- https://git.kernel.org/stable/c/ddf1691f25345699296e642f0f59f2d464722fa3
- https://git.kernel.org/stable/c/f93032e5d68f459601c701f6ab087b5feb3382e8
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39772.json
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
- https://nvd.nist.gov/vuln/detail/CVE-2025-39772