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
| Id | Name |
|---|---|
| CWE-252 | Unchecked Return Value |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| linux:linux_kernel | >= 6.7, < 6.9.8; >= 6.2, < 6.6.37; >= 5.16, < 6.1.97; < 5.15.162 | no | nvd | /v1/products/linux/linux_kernel |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | cna_commit, commit | yes | /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