Skip to content
Heist/ feed
Back to feed
UnratedFix available

drm/hisilicon/hibmc: fix the hibmc loaded failed bug

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.190, 6.1.149, 6.12.44, 6.16.4, 6.6.103
CVEs
CVE-2025-39772
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 17:59 UTC · Revision 1

Source evidence

drm/hisilicon/hibmc: fix the hibmc loaded failed bug

core-osv · Original source

Published 11 Sept 2025, 16:56 UTC

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.

osv:CVE-2025-39772

Kernel

Fixed versions: 5.15.190, 6.1.149, 6.6.103, 6.12.44, 6.16.4

Complete source record
{
  "id": "bf9a7f50b7ea62b95a0fd6cf3662c4cf85e89c39957052c140e9bd7a228a9e6b",
  "url": "https://osv.dev/vulnerability/CVE-2025-39772",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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 init, which will access an NULL pointer. Just change goto statement to return, because hibnc_hw_init() doesn't need to free anything.",
    "evidence": "osv:CVE-2025-39772",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.190",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.149",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.103",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.44",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.16.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2025-39772",
      "aliases": [
        "CVE-2025-39772"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b3df5e65cc03696b0624a877d03a3ddf3ef43f52"
                },
                {
                  "fixed": "ddf1691f25345699296e642f0f59f2d464722fa3"
                },
                {
                  "fixed": "c950e1be3a24d021475b56efdb49daa7fbba63a9"
                },
                {
                  "fixed": "f93032e5d68f459601c701f6ab087b5feb3382e8"
                },
                {
                  "fixed": "a4f1b9c57092c48bdc7958abd23403ccaed437b2"
                },
                {
                  "fixed": "d3e774266c28aefab3e9db334fdf568f936cae04"
                },
                {
                  "fixed": "93a08f856fcc5aaeeecad01f71bef3088588216a"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39772.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.14.0"
                },
                {
                  "fixed": "5.15.190"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.149"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.103"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.44"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.16.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39772.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.817462418Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-032379.html",
        "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://lists.debian.org/debian-lts-announce/2025/10/msg00008.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39772.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-39772",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39772.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-39772",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 497840,
  "published_at": "2025-09-11T16:56:26.13+00:00"
}