CVE-2025-39785 drm/hisilicon/hibmc: fix irq_request()'s irq name variable is local

High 7.8 Published Updated

A use-after-free bug in the Hisilicon Hibmc DRM driver causes request_irq to fail, leading to a 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-39785?

CVE-2025-39785 is a high-severity use after free vulnerability in Linux kernel, 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 irq_request()'s irq name variable is local

The local variable is passed in request_irq (), and there will be use after free problem, which will make request_irq failed. Using the global irq name instead of it to fix.

Weakness: CWE-416

Which versions are affected by CVE-2025-39785?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-39785?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2025-39785 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-39785, DEBIAN-CVE-2025-39785, GHSA-h39w-24rm-7gmr, UBUNTU-CVE-2025-39785.

Is CVE-2025-39785 in your software?

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

Check your SBOMs for free