CVE-2025-21841 cpufreq/amd-pstate: Fix cpufreq_policy ref counting
A reference counting bug in the Linux kernel's AMD P-State driver can lead to resource leaks and potential 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-21841?
CVE-2025-21841 is a medium-severity vulnerability in Linux kernel, published on 7 Mar 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:
cpufreq/amd-pstate: Fix cpufreq_policy ref counting
amd_pstate_update_limits() takes a cpufreq_policy reference but doesn't decrement the refcount in one of the exit paths, fix that.
Which versions are affected by CVE-2025-21841?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-21841?
Apply the vendor's patch.
Is CVE-2025-21841 being exploited?
There is no known exploitation of CVE-2025-21841 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2025-21841, DEBIAN-CVE-2025-21841, GHSA-487h-mjh3-324w, UBUNTU-CVE-2025-21841.