CVE-2024-40997

cpufreq: amd-pstate: fix memory leak on CPU EPP exit

State
Published
Severity
Not scored
Published
Jul 12, 2024
Updated
May 11, 2026
Reserved
Jul 12, 2024

Read the record on cve.org

Description

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

cpufreq: amd-pstate: fix memory leak on CPU EPP exit

The cpudata memory from kzalloc() in amd_pstate_epp_cpu_init() is not freed in the analogous exit function, so fix that.

[ rjw: Subject and changelog edits ]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ffa5096a7c338641f70fb06d4778e8cf400181a8 to before 448efb7ea0bfa2c4e27c5a2eb5684fd225cd12cdAffected
  • ffa5096a7c338641f70fb06d4778e8cf400181a8 to before 8015c17fe11a8608cc3eb83d0ab831e1845a9582Affected
  • ffa5096a7c338641f70fb06d4778e8cf400181a8 to before cea04f3d9aeebda9d9c063c0dfa71e739c322c81Affected
LinuxLinux
  • 6.3Affected
  • before 6.3Not affected
  • 6.6.36 through 6.6.*Not affected
  • 6.9.7 through 6.9.*Not affected
  • 6.10 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.