CVE-2020-8835
Linux kernel bpf verifier vulnerability
Mitigation
- Upgrade Linux kernel to 5.4-stable* or later.
- Vendor workaround: 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.
Who should check
- Anyone running Linux kernel >= 5.6-stable, < 5.6.1; >= 5.5-stable, < 5.5.14; >= 5.4.7, < 5.4-stable*
Vulnerability facts
- Affected
- Linux kernel >= 5.6-stable, < 5.6.1; >= 5.5-stable, < 5.5.14; >= 5.4.7, < 5.4-stable*
- Fixed in
- Linux kernel 5.6.1, Linux kernel 5.5.14, Linux kernel 5.4-stable*
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 6.06% chance of exploitation in 30 days (percentile 94, 2026-11-26)
- CWE
- CWE-125, CWE-787
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux kernel | >= 5.6-stable, < 5.6.1; >= 5.5-stable, < 5.5.14; >= 5.4.7, < 5.4-stable* | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2020-8835. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2020-8835.md Affected: Linux kernel >= 5.6-stable, < 5.6.1; >= 5.5-stable, < 5.5.14; >= 5.4.7, < 5.4-stable* Fixed in: Linux kernel 5.6.1, Linux kernel 5.5.14, Linux kernel 5.4-stable* Steps: 1. Search this machine and project for Linux kernel: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://usn.ubuntu.com/4313-1/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F7OONYGMSYBEFHLHZJK3GOI5Z553G4LD/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YXBWSHZ6DJIZVXKXGZPK6QPFCY7VKZEG/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TF4PQZBEPNXDSK5DOBMW54OCLP25FTCD/
Patches
Exploits and PoCs
FAQ
Is CVE-2020-8835 being exploited?
There is no confirmed exploitation: CVE-2020-8835 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 6.06% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2020-8835?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2020-8835?
Linux kernel >= 5.6-stable, < 5.6.1; >= 5.5-stable, < 5.5.14; >= 5.4.7, < 5.4-stable*.
Is there a fix for CVE-2020-8835?
Yes. Fixed in Linux kernel 5.6.1, Linux kernel 5.5.14, Linux kernel 5.4-stable*. Upgrade Linux kernel to 5.4-stable* or later. Vendor workaround: 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.
How do I check if I'm affected by CVE-2020-8835?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.