Description
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)
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux kernel | Linux kernel | 5.6-stable – < 5.6.1, 5.5-stable – < 5.5.14, 5.4.7 – < 5.4-stable* | 5.6.1 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 5.5.13-2 | — |
| Debian 13 | linux | 5.5.13-2 | — |
| Debian 12 | linux | 5.5.13-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | linux-raspi2 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-azure-5.3 | 5.3.0-1018.19~18.04.1 | USN-4313-1 |
| Ubuntu 18.04 LTS | linux-gcp-5.3 +1 | 5.3.0-1016.17~18.04.1 | USN-4313-1 |
| Ubuntu 18.04 LTS | linux-gcp-edge +2 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-hwe | 5.3.0-45.37~18.04.1 | USN-4313-1 |
| Ubuntu 18.04 LTS | linux-oracle-5.3 | 5.3.0-1013.14~18.04.1 | USN-4313-1 |
| Ubuntu 18.04 LTS | linux-raspi2-5.3 | 5.3.0-1021.23~18.04.1 | USN-4313-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | kernel-uek +4 | 5.4.17-2011.1.2.el8uek | ELSA-2020-5663 |
| Oracle Linux 7 | perf +3 | 5.4.17-2011.1.2.el7uek | ELSA-2020-5663 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 7 repositories
-
snappyJack/Rick_write_exp_CVE-2020-8835 ★ 4 · Jul 4, 2020
-
digamma-ai/CVE-2020-8835-verification ★ 2 · Jun 4, 2021
Formal verification example for CVE-2020-8835
-
WhatsWrongAndWhy/CVE-2020-8835 ★ 0 · Jul 21, 2026
-
johnatag/INF8602-CVE-2020-8835 ★ 0 · Mar 20, 2023
-
SplendidSky/CVE-2020-8835 ★ 0 · Oct 18, 2020
-
zilong3033/CVE-2020-8835 ★ 0 · Sep 30, 2020
-
Prabhashaka/Exploitation-CVE-2020-8835 ★ 0 · May 12, 2020
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 2
- USN-4313-1 linux, linux-aws, linux-azure, linux-azure-5.3, linux-gcp, linux-gcp-5.3, linux-gke-5.3, linux-hwe, linux-kvm, linux-oracle, linux-oracle-5.3, linux-raspi2, linux-raspi2-5.3 vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- ELSA-2020-5663 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Apr 27, 2020
References
- USN-4313-1 vendor-advisory
- https://www.thezdi.com/blog/2020/3/19/pwn2own-2020-day-one-results
- https://lore.kernel.org/bpf/20200330160324.15259-1-daniel%40iogearbox.net/T/
- https://www.openwall.com/lists/oss-security/2020/03/30/3
- https://usn.ubuntu.com/usn/usn-4313-1
- https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=f2d67fec0b43edce8c416101cdc52e71145b5fef
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f2d67fec0b43edce8c416101cdc52e71145b5fef
- FEDORA-2020-4ef0bcc89c vendor-advisory
- FEDORA-2020-666f3b1ac3 vendor-advisory
- FEDORA-2020-73c00eda1c vendor-advisory
- https://security.netapp.com/advisory/ntap-20200430-0004/
- [oss-security] 20210720 CVE-2021-33909: size_t-to-int vulnerability in Linux's filesystem layer mailing-list