# CVE-2025-21841: cpufreq/amd-pstate: Fix cpufreq_policy ref counting

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-03-07T09:09:59.587Z
- Modified: 2026-06-17T08:44:25.057Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 45722e777fd99ea863fe653c1838d39f678506e2 before 56e6976793c0fcf1638aa534242408ab4e4ca705; from 45722e777fd99ea863fe653c1838d39f678506e2 before 28e4c515cf644c621800bd97841757fd49891ba4; from 45722e777fd99ea863fe653c1838d39f678506e2 before 3ace20038e19f23fe73259513f1f08d4bf1a3c83; 6.12 (not affected: before 6.12; from 6.12.16 up to 6.12.*; from 6.13.4 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 6.12 before 6.12.16; from 6.13 before 6.13.4; 6.14

## References

- <https://git.kernel.org/stable/c/56e6976793c0fcf1638aa534242408ab4e4ca705> (patch)
- <https://git.kernel.org/stable/c/28e4c515cf644c621800bd97841757fd49891ba4> (patch)
- <https://git.kernel.org/stable/c/3ace20038e19f23fe73259513f1f08d4bf1a3c83> (patch)

## Sources

- CVE List: [CVE-2025-21841](https://www.cve.org/CVERecord?id=CVE-2025-21841), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-21841](https://nvd.nist.gov/vuln/detail/CVE-2025-21841), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-21841 · Whole record: https://cve.day/CVE-2025-21841.json · Rebuilt by cve.day 2026-11-25T22:58:55.048Z
