Privilege escalation in bpf in Linux kernel

Published: 2020-03-31 | Updated: 2023-03-24
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-8835
Exploitation vector Local
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Linux kernel
Operating systems & Components / Operating system

Vendor Linux Foundation

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Buffer overflow

EUVDB-ID: #VU26466

Risk: Low


CVE-ID: CVE-2020-8835

CWE-ID: CWE-119 - Memory corruption

Exploit availability: Yes


The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a boundary error in bpf verifier for 32 bit systems in Linux kernel. A local user can rigger a buffer overflow and gain access to sensitive information or execute arbitrary code on the system with elevated privileges.


Install updates from vendor's website.

As a temporary solution set the following sysctl:

kernel.unprivileged_bpf_disabled = 1

Vulnerable software versions

Linux kernel: 5.5 - 5.5.13

CPE2.3 External links

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?