SecurityContext

CVE-2024-40997: Linux Kernel - Memory Leak

  • Cve: CVE-2024-40997
  • Name: Linux Kernel - Memory Leak
  • 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 ]
  • Impact: Local attackers can cause resource exhaustion leading to potential denial of service or system instability.
  • Remediation: Update to the latest Linux kernel version where this fix is included.
  • Vulnerability impact: denial_of_service
  • Requirement type: admin_privileges
  • Requirements: Attacker needs local kernel privileges
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00267
  • Epss percentile: 0.19029
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2024-07-12T13:15:20Z
  • Age in days: 865
  • Modified at: 2026-06-17T07:47:02Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-40997
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, hackerone

Cwe

IdName
CWE-401Missing Release of Memory after Effective Lifetime

References

Same in every row:

  • Source: nvd
  • Tags: Mailing List, Patch
Url
https://git.kernel.org/stable/c/448efb7ea0bfa2c4e27c5a2eb5684fd225cd12cd
https://git.kernel.org/stable/c/8015c17fe11a8608cc3eb83d0ab831e1845a9582
https://git.kernel.org/stable/c/cea04f3d9aeebda9d9c063c0dfa71e739c322c81

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 6.7, < 6.9.7; < 6.6.36nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports