SecurityContext

CVE-2024-58008: Linux Kernel - Use After Free

  • Cve: CVE-2024-58008
  • Name: Linux Kernel - Use After Free
  • Description: In the Linux kernel, the following vulnerability has been resolved: KEYS: trusted: dcp: fix improper sg use with CONFIG_VMAP_STACK=y With vmalloc stack addresses enabled (CONFIG_VMAP_STACK=y) DCP trusted keys can crash during en- and decryption of the blob encryption key via the DCP crypto driver. This is caused by improperly using sg_init_one() with vmalloc'd stack buffers (plain_key_blob). Fix this by always using kmalloc() for buffers we give to the DCP crypto driver.
  • Impact: Local attackers can crash the kernel, leading to denial of service or potential privilege escalation.
  • Remediation: Modify the code to always use kmalloc() for buffers given to the DCP crypto driver, and update to the latest kernel version where the fix is applied.
  • Vulnerability type: use_after_free
  • Vulnerability impact: denial_of_service, privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs local access to the system
  • 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.00131
  • Epss percentile: 0.02718
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2025-02-27T03:15:11Z
  • Age in days: 635
  • Modified at: 2026-08-04T11:22:36Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-58008
  • 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: hackerone

Cwe

IdName
NVD-CWE-noinfo—

References

Same in every row:

  • Source: nvd
  • Tags: Patch
Url
https://git.kernel.org/stable/c/3192f1c54dddb9b5820bf5e8677809949d8e9c66
https://git.kernel.org/stable/c/3355594de46fb1cba663f12b9644b664b8a609f4
https://git.kernel.org/stable/c/e8d9fab39d1f87b52932646b2f1e7877aa3fc0f4

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 6.11 rc7; >= 6.13, < 6.13.3; >= 6.11.1, < 6.12.14; = 6.11; = 6.11 rc4; = 6.11 rc5; = 6.11 rc6; >= 6.10.7, < 6.11nonvd/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