SecurityContext

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

  • Cve: CVE-2024-56675
  • Name: Linux Kernel - Use After Free
  • Description: In the Linux kernel, the following vulnerability has been resolved: bpf: Fix UAF via mismatching bpf_prog/attachment RCU flavors Uprobes always use bpf_prog_run_array_uprobe() under tasks-trace-RCU protection. But it is possible to attach a non-sleepable BPF program to a uprobe, and non-sleepable BPF programs are freed via normal RCU (see __bpf_prog_put_noref()). This leads to UAF of the bpf_prog because a normal RCU grace period does not imply a tasks-trace-RCU grace period. Fix it by explicitly waiting for a tasks-trace-RCU grace period after removing the attachment of a bpf_prog to a perf_event.
  • Impact: Potential for use-after-free exploits leading to privilege escalation or kernel memory corruption.
  • Remediation: Update to the latest Linux kernel version where the issue is fixed.
  • Vulnerability type: use_after_free
  • Vulnerability impact: privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00229
  • Epss percentile: 0.1366
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2024-12-27T15:15:27Z
  • Age in days: 697
  • Modified at: 2026-06-17T08:12:43Z
  • Patch available: yes
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-56675
  • 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: requirements, hackerone

Cwe

IdName
CWE-416Use After Free

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/stable/c/9245459a992d22fe0e92e988f49db1fec82c184aPatch
https://git.kernel.org/stable/c/9b53d2c2a38a1effc341d99be3f99fa7ef17047dPatch
https://git.kernel.org/stable/c/ef1b808e3b7c98612feceedf985c2fbbeb28f956Patch
https://git.kernel.org/stable/c/f9f85df30118f3f4112761e6682fc60ebcce23e5Patch
https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 6.13 rc1; = 6.13 rc2; >= 6.7, < 6.12.6; >= 6.2, < 6.6.67; >= 6.0, < 6.1.121nonvd/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