CVE-2020-8835
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel 5.5.0 and newer, a vulnerability was discovered in the bpf verifier (kernel/bpf/verifier.c) where it did not properly restrict the register bounds for 32-bit operations. This vulnerability (CVE-2020-8835) also affects the Linux 5.4 stable series starting with v5.4.7, as the introducing commit was backported to that branch. The issue was discovered by Manfred Paul during the Pwn2Own 2020 competition (ZDI Blog) and was fixed in kernel versions 5.6.1, 5.5.14, and 5.4.29 (NVD).

Technical details

The vulnerability stems from incorrect handling of register bounds calculations in the BPF verifier. The issue was introduced by commit 581738a681b6 ("bpf: Provide better register bounds after jmp32 instructions") which made incorrect range assumptions in the __reg_bound_offset32() implementation. This led to improper restrictions on register bounds for 32-bit operations, allowing out-of-bounds reads and writes in kernel memory (Kernel Commit). The vulnerability has a CVSS score of 7.8 (High) with vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (Ubuntu).

Impact

When successfully exploited, this vulnerability allows a local attacker to expose sensitive information (kernel memory) or gain administrative privileges. The vulnerability enables out-of-bounds reads and writes in kernel memory, which can be leveraged to escalate privileges from a standard user to root (Ubuntu USN).

Mitigation and workarounds

The vulnerability can be mitigated by setting the kernel.unprivileged_bpf_disabled sysctl to 1. The issue is also mitigated on systems that use secure boot, thanks to the kernel lockdown feature which blocks BPF program loading. For a complete fix, systems should be updated to kernel versions 5.6.1, 5.5.14, or 5.4.29 depending on the kernel branch in use (Ubuntu).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management