---
id: CVE-2025-39772
title: 'drm/hisilicon/hibmc: fix the hibmc loaded failed bug'
summary: |-
  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…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= b3df5e65cc03696b0624a877d03a3ddf3ef43f52 <
    ddf1691f25345699296e642f0f59f2d464722fa3
  - >-
    Linux >= b3df5e65cc03696b0624a877d03a3ddf3ef43f52 <
    c950e1be3a24d021475b56efdb49daa7fbba63a9
  - >-
    Linux >= b3df5e65cc03696b0624a877d03a3ddf3ef43f52 <
    f93032e5d68f459601c701f6ab087b5feb3382e8
  - >-
    Linux >= b3df5e65cc03696b0624a877d03a3ddf3ef43f52 <
    a4f1b9c57092c48bdc7958abd23403ccaed437b2
  - >-
    Linux >= b3df5e65cc03696b0624a877d03a3ddf3ef43f52 <
    d3e774266c28aefab3e9db334fdf568f936cae04
  - >-
    Linux >= b3df5e65cc03696b0624a877d03a3ddf3ef43f52 <
    93a08f856fcc5aaeeecad01f71bef3088588216a
  - Linux 4.14
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T21:11:16.408018Z'
published: '2025-09-11'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T21:12:57.631Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2025-39772'
references:
  - url: 'https://git.kernel.org/stable/c/ddf1691f25345699296e642f0f59f2d464722fa3'
  - url: 'https://git.kernel.org/stable/c/c950e1be3a24d021475b56efdb49daa7fbba63a9'
  - url: 'https://git.kernel.org/stable/c/f93032e5d68f459601c701f6ab087b5feb3382e8'
  - url: 'https://git.kernel.org/stable/c/a4f1b9c57092c48bdc7958abd23403ccaed437b2'
  - url: 'https://git.kernel.org/stable/c/d3e774266c28aefab3e9db334fdf568f936cae04'
  - url: 'https://git.kernel.org/stable/c/93a08f856fcc5aaeeecad01f71bef3088588216a'
tags:
  - cve.org
epss: 0.0015
epssPercentile: 0.04187
ingestedAt: '2026-11-05T22:38:32.026Z'
---

## Overview

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

- `Linux >= b3df5e65cc03696b0624a877d03a3ddf3ef43f52 < ddf1691f25345699296e642f0f59f2d464722fa3`
- `Linux >= b3df5e65cc03696b0624a877d03a3ddf3ef43f52 < c950e1be3a24d021475b56efdb49daa7fbba63a9`
- `Linux >= b3df5e65cc03696b0624a877d03a3ddf3ef43f52 < f93032e5d68f459601c701f6ab087b5feb3382e8`
- `Linux >= b3df5e65cc03696b0624a877d03a3ddf3ef43f52 < a4f1b9c57092c48bdc7958abd23403ccaed437b2`
- `Linux >= b3df5e65cc03696b0624a877d03a3ddf3ef43f52 < d3e774266c28aefab3e9db334fdf568f936cae04`
- `Linux >= b3df5e65cc03696b0624a877d03a3ddf3ef43f52 < 93a08f856fcc5aaeeecad01f71bef3088588216a`
- `Linux 4.14`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
