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

Medium 5.5 Published Updated

A null pointer dereference in the Hisilicon hibmc DRM driver during failed initialization can cause a kernel crash, leading to denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-39772?

CVE-2025-39772 is a medium-severity vulnerability in Debian Debian Linux, published on 11 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-476

Which versions are affected by CVE-2025-39772?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-39772?

Apply the vendor's patch.

Is CVE-2025-39772 being exploited?

There is no known exploitation of CVE-2025-39772 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-67241, AZL-74667, BELL-CVE-2025-39772, DEBIAN-CVE-2025-39772, GHSA-w9gm-5q74-cxmg, ROOT-OS-DEBIAN-11-CVE-2025-39772 and 3 more.

Is CVE-2025-39772 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free