CVE-2024-42068
Executive Summary
CVE-2024-42068 exposes a flaw in the Linux kernel’s BPF subsystem where the set_memory_ro() call can fail silently, leaving BPF program memory writable. Attackers could exploit this to modify kernel memory, potentially enabling privilege escalation or arbitrary code execution. The issue is not yet listed in CISA KEV.
Authoritative CVE Metadata
- CVSS Base Score: 7.8 (HIGH)
- Last Modified: 21-10-26
Original 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.