CVE-2025-21841

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-21841
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21841.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21841
Downstream
Published
2025-03-07T09:09:59Z
Modified
2025-10-17T22:23:18.375030Z
Summary
cpufreq/amd-pstate: Fix cpufreq_policy ref counting
Details

In the Linux kernel, the following vulnerability has been resolved:

cpufreq/amd-pstate: Fix cpufreq_policy ref counting

amdpstateupdatelimits() takes a cpufreqpolicy reference but doesn't decrement the refcount in one of the exit paths, fix that.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
45722e777fd99ea863fe653c1838d39f678506e2
Fixed
56e6976793c0fcf1638aa534242408ab4e4ca705
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
45722e777fd99ea863fe653c1838d39f678506e2
Fixed
28e4c515cf644c621800bd97841757fd49891ba4
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
45722e777fd99ea863fe653c1838d39f678506e2
Fixed
3ace20038e19f23fe73259513f1f08d4bf1a3c83

Affected versions

v6.*

v6.11
v6.11-rc2
v6.11-rc3
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.12
v6.12-rc1
v6.12-rc2
v6.12-rc3
v6.12-rc4
v6.12-rc5
v6.12-rc6
v6.12-rc7
v6.12.1
v6.12.10
v6.12.11
v6.12.12
v6.12.13
v6.12.14
v6.12.15
v6.12.2
v6.12.3
v6.12.4
v6.12.5
v6.12.6
v6.12.7
v6.12.8
v6.12.9
v6.13
v6.13-rc1
v6.13-rc2
v6.13-rc3
v6.13-rc4
v6.13-rc5
v6.13-rc6
v6.13-rc7
v6.13.1
v6.13.2
v6.13.3
v6.14-rc1

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.12.0
Fixed
6.12.16
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.4