CVE-2025-21841
JSON

5.5medium

cpufreq/amd-pstate: Fix cpufreq_policy ref counting

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.19% (higher than 9% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 6.12 before 6.12.16, from 6.13 before 6.13.4, 6.14NVD

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: cpufreq/amd-pstate: Se corrige el recuento de referencias de cpufreq_policy. amd_pstate_update_limits() toma una referencia cpufreq_policy pero no disminuye el recuento de referencias en una de las rutas de salida. Corrija eso.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-21841 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-21841 changed 2026-06-17Public domain