CVE-2024-40997

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

MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.27 % · percentile 19 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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 ]

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected ffa5096a7c338641f70fb06d4778e8cf400181a8 < 448efb7ea0bfa2c4e27c5a2eb5684fd225cd12cd ; affected ffa5096a7c338641f70fb06d4778e8cf400181a8 < 8015c17fe11a8608cc3eb83d0ab831e1845a9582 ; affected ffa5096a7c338641f70fb06d4778e8cf400181a8 < cea04f3d9aeebda9d9c063c0dfa71e739c322c81
Linux · Linuxaffected 6.3 ; unaffected 0 < 6.3 ; unaffected 6.6.36 ≤ 6.6.* ; unaffected 6.9.7 ≤ 6.9.* ; unaffected 6.10 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD