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
CWE-ID CWE-119
Exploitation vector Local
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
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

CVSSv3.1:

CVE-ID: CVE-2020-8835

CWE-ID: CWE-119 - Memory corruption

Exploit availability: Yes

Description

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.

Mitigation

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

http://lore.kernel.org/bpf/20200330160324.15259-1-daniel
http://seclists.org/oss-sec/2020/q1/127


Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###