CVE-2023-2163: Linux eBPF Verifier Pruning Privilege Escalation
- Vendor
- Linux
CVE-2023-2163 is an incorrect execution-path pruning vulnerability in the Linux kernel's eBPF verifier. Incomplete register precision tracking fails to propagate precision requirements to registers whose values influence a precise register, causing distinct execution states to be incorrectly treated as equivalent. Consequently, unsafe eBPF programs can pass verification and perform pointer arithmetic that differs from the verifier's assumptions. Demonstrated exploitation uses the bpf_skb_load_bytes_relative helper to overwrite an adjacent stack pointer and obtain arbitrary kernel-memory reads and writes, enabling local privilege escalation and container escape. The flaw affects unpatched upstream kernels starting with Linux 5.4 and distribution kernels containing affected backported functionality.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises kernel-memory confidentiality and integrity and can undermine host isolation. Demonstrated outcomes include bypassing kernel address space layout randomization, changing process credentials to obtain root privileges, and escaping a container to access the host filesystem. Arbitrary kernel-memory corruption can also compromise system availability. Container-escape reliability depends on kernel-specific data structures and offsets; the published exploit requires adaptation on some distributions.
Mitigation
If you can’t patch tonight, do this now.
Disable unprivileged eBPF access where operationally feasible. On RHEL 8, setting kernel.unprivileged_bpf_disabled to 1 prevents unprivileged users from loading eBPF programs and mitigates this attack path; RHEL disables unprivileged eBPF by default. This does not protect against attackers who retain sufficient privileges to load eBPF programs. Restrict such privileges, including CAP_SYS_ADMIN on affected RHEL systems, particularly in containers.
Remediation
Patch, then assume compromise.
Install the distribution-supported kernel or kernel-rt update that fixes CVE-2023-2163, then reboot into the patched kernel. The fix propagates precision requirements to registers that influence precise registers, preventing unsafe execution states from being pruned as equivalent. For applicable RHEL 8 deployments, fixes include kernel 4.18.0-513.9.1.el8_9 under RHSA-2023:7549 and kernel-rt 4.18.0-513.9.1.rt7.311.el8_9 under RHSA-2023:7548. Supported kpatch updates are also available for specific kernel builds and service channels; install the matching live patch and verify that it is loaded. Determine patch status from the distribution's advisory rather than the upstream version number alone.
Exploits
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-2163 exploited in the wild?
- As of Nov 19, 2026, Mallory has no reports of CVE-2023-2163 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-2163?
- As of Nov 19, 2026, Mallory has found no public exploit for CVE-2023-2163.
- Is there a patch for CVE-2023-2163?
- Install the distribution-supported kernel or kernel-rt update that fixes CVE-2023-2163, then reboot into the patched kernel. The fix propagates precision requirements to registers that influence precise registers, preventing unsafe execution states from being pruned as equivalent.
- What products are affected by CVE-2023-2163?
- Linux Kernel.
- How severe is CVE-2023-2163?
- CVE-2023-2163 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 1.7% (77th percentile) as of Nov 19, 2026.
Recent activity
32 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.