Vulnerabilityin Linux Kernel.
Proof of concept public (GitHub).
In the Linux kernel 5.5.0 and newer, the bpf verifier (kernel/bpf/verifier.c) did not properly restrict the register bounds for 32-bit operations, leading to out-of-bounds reads and writes in kernel memory. The vulnerability also affects the Linux 5.4 stable series, starting with v5.4.7, as the introducing commit was backported to that branch. This vulnerability was fixed in 5.6.1, 5.5.14, and 5.4.29. (issue is aka ZDI-CAN-10780)
- Upgrade Linux kernel to 5.4.29, 5.5.14, 5.6.1 or later, whichever matches your release line.
- Can't upgrade today? Mitigation for this vulnerability is available by setting the kernel.unprivileged_bpf_disabled sysctl to 1: $ sudo sysctl kernel.unprivileged_bpf_disabled=1 $ echo kernel.unprivileged_bpf_disabled=1 | sudo tee /etc/sysctl.d/90-CVE-2020-8835.conf This issue is also mitigated on systems that use secure boot with the kernel lockdown feature which blocks BPF program loading.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 10 Feb 2020CVE ID reserved by canonical.
- 2 Apr 2020Published in the CVE List.
- 12 May 2020First public proof of concept on GitHub.
- 17 Sep 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other Linux Kernel vulnerabilities
- usn.ubuntu.com vendor-advisory, x_refsource_UBUNTU
- www.thezdi.com x_refsource_MISC
- lore.kernel.org x_refsource_MISC
- www.openwall.com x_refsource_MISC
- usn.ubuntu.com x_refsource_MISC
- git.kernel.org x_refsource_MISC
- git.kernel.org x_refsource_MISC
- lists.fedoraproject.org vendor-advisory, x_refsource_FEDORA
- lists.fedoraproject.org vendor-advisory, x_refsource_FEDORA
- lists.fedoraproject.org vendor-advisory, x_refsource_FEDORA
- security.netapp.com x_refsource_CONFIRM
- www.openwall.com mailing-list, x_refsource_MLIST
Patchminder. CVE-2020-8835: Vulnerability in Linux Kernel. https://patchminder.com/cve/cve-2020-8835/ (accessed 5 December 2026).