# CVE-2025-39772: drm/hisilicon/hibmc: fix the hibmc loaded failed bug

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 8% of CVEs (2026-11-30)
- Published: 2025-09-11T16:56:26.130Z
- Modified: 2026-11-05T22:17:30.890Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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.*; from 6.17 up to *)
- 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
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/ddf1691f25345699296e642f0f59f2d464722fa3> (patch)
- <https://git.kernel.org/stable/c/c950e1be3a24d021475b56efdb49daa7fbba63a9> (patch)
- <https://git.kernel.org/stable/c/f93032e5d68f459601c701f6ab087b5feb3382e8> (patch)
- <https://git.kernel.org/stable/c/a4f1b9c57092c48bdc7958abd23403ccaed437b2> (patch)
- <https://git.kernel.org/stable/c/d3e774266c28aefab3e9db334fdf568f936cae04> (patch)
- <https://git.kernel.org/stable/c/93a08f856fcc5aaeeecad01f71bef3088588216a> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>

## Sources

- CVE List: [CVE-2025-39772](https://www.cve.org/CVERecord?id=CVE-2025-39772), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-39772](https://nvd.nist.gov/vuln/detail/CVE-2025-39772), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-39772 · Whole record: https://cve.day/CVE-2025-39772.json · Rebuilt by cve.day 2026-11-25T22:59:04.559Z
