SecurityContext

CVE-2024-42068: Linux Kernel - Privilege Escalation

  • Cve: CVE-2024-42068
  • Name: Linux Kernel - Privilege Escalation
  • Description: In the Linux kernel, the following vulnerability has been resolved: bpf: Take return from set_memory_ro() into account with bpf_prog_lock_ro() set_memory_ro() can fail, leaving memory unprotected. Check its return and take it into account as an error.
  • Impact: Local attackers can escalate privileges by exploiting unprotected memory, potentially leading to full system compromise.
  • Remediation: Apply the patch that checks the return value of set_memory_ro() and handles errors appropriately.
  • Vulnerability type: privilege_escalation
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Exploit requires local access to escalate 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.00308
  • Epss percentile: 0.2381
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2024-07-29T16:15:06Z
  • Age in days: 848
  • Modified at: 2026-10-21T13:17:45Z
  • Patch available: yes
  • References total: 8
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-42068
  • 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
CWE-252Unchecked Return Value

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/stable/c/05412471beba313ecded95aa17b25fe84bb2551aPatch
https://git.kernel.org/stable/c/7d2cc63eca0c993c99d18893214abf8f85d566d8Patch
https://git.kernel.org/stable/c/a359696856ca9409fb97655c5a8ef0f549cb6e03Patch
https://git.kernel.org/stable/c/e4f602e3ff749ba770bf8ff10196e18358de6720Patch
https://git.kernel.org/stable/c/e3540e5a7054d6daaf9a1415a48aacb092112a89Patch
https://git.kernel.org/stable/c/fdd411af8178edc6b7bf260f8fa4fba1bedd0a6dPatch
https://git.kernel.org/stable/c/2bbfffa802adc30b772d0e0f881a13c3804a965c
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 6.7, < 6.9.8; >= 6.2, < 6.6.37; >= 5.16, < 6.1.97; < 5.15.162nonvd/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