Buffer overflow in Linux kernel - CVE-2020-8835

 

Buffer overflow in Linux kernel - CVE-2020-8835

Published: March 31, 2020 / Updated: March 24, 2023


Vulnerability identifier: #VU26466
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-8835
CWE-ID: CWE-119
Exploitation vector: Local access
Exploit availability: Public exploit is available

Vulnerability details

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.


Affected software

Linux kernel
Arch Linux
Fedora
kernel
kernel-headers
kernel-tools

How to mitigate CVE-2020-8835

Install updates from vendor's website.

As a temporary solution set the following sysctl:

kernel.unprivileged_bpf_disabled = 1

kernel - addressed in versions 5.5.15-100.fc30, 5.5.15-200.fc31, 5.5.16-100.fc30, 5.6.2-300.fc32
kernel-headers - addressed in versions 5.5.15-100.fc30, 5.5.15-200.fc31, 5.5.16-100.fc30
kernel-tools - addressed in versions 5.5.15-100.fc30, 5.5.15-200.fc31, 5.5.16-100.fc30

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins