CVE-2025-38705 drm/amd/pm: fix null pointer access

Medium 5.5 Published Updated

A null pointer dereference in the Linux kernel AMD power management driver allows local attackers to cause a denial of service via sysfs writes.

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-38705?

CVE-2025-38705 is a medium-severity vulnerability in Linux kernel, published on 4 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/amd/pm: fix null pointer access

Writing a string without delimiters (' ', '\n', '\0') to the under gpu_od/fan_ctrl sysfs or pp_power_profile_mode for the CUSTOM profile will result in a null pointer dereference.

Weakness: CWE-476

Which versions are affected by CVE-2025-38705?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-38705?

Apply the vendor's patch.

Is CVE-2025-38705 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-66851, AZL-70757, BELL-CVE-2025-38705, DEBIAN-CVE-2025-38705, GHSA-g5p4-mh5h-5m3q, ROOT-OS-DEBIAN-11-CVE-2025-38705 and 4 more.

Is CVE-2025-38705 in your software?

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

Check your SBOMs for free