Memory Management Issue in Linux Kernel Affecting cpufreq_policy Reference Handling
CVE-2025-21841
Summary
A memory management vulnerability in the Linux kernel has been identified within the cpufreq/amd-pstate module. Specifically, the amd_pstate_update_limits function incorrectly handles reference counting for the cpufreq_policy structure, failing to decrement the reference counter during one of its exit paths. This oversight can lead to potential stability issues and resource leaks, affecting the overall performance of systems utilizing the AMD p-state driver.
Affected Version(s)
Linux 45722e777fd99ea863fe653c1838d39f678506e2 < 56e6976793c0fcf1638aa534242408ab4e4ca705
Linux 45722e777fd99ea863fe653c1838d39f678506e2 < 28e4c515cf644c621800bd97841757fd49891ba4
Linux 45722e777fd99ea863fe653c1838d39f678506e2 < 3ace20038e19f23fe73259513f1f08d4bf1a3c83
References
Timeline
Vulnerability published
Vulnerability Reserved