8.8
CWE
125 787
Advisory Published
Updated
Advisory Published

CVE-2020-8835: (Pwn2Own) Linux Kernel eBPF Improper Input Validation Privilege Escalation Vulnerability

First published: Mon Mar 30 2020(Updated: )

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)

Credit: security@ubuntu.com security@ubuntu.com

Affected SoftwareAffected VersionHow to fix
Linux kernel
ubuntu/linux<5.3.0-45.37
5.3.0-45.37
ubuntu/linux<5.7~
5.7~
ubuntu/linux-aws<5.3.0-1015.16
5.3.0-1015.16
ubuntu/linux-aws<5.7~
5.7~
ubuntu/linux-aws-5.0<5.7~
5.7~
ubuntu/linux-aws-hwe<5.7~
5.7~
ubuntu/linux-azure<5.3.0-1018.19
5.3.0-1018.19
ubuntu/linux-azure<5.7~
5.7~
ubuntu/linux-azure-5.3<5.3.0-1018.19~18.04.1
5.3.0-1018.19~18.04.1
ubuntu/linux-azure-5.3<5.7~
5.7~
ubuntu/linux-azure-edge<5.7~
5.7~
ubuntu/linux-gcp<5.3.0-1016.17
5.3.0-1016.17
ubuntu/linux-gcp<5.7~
5.7~
ubuntu/linux-gcp-5.3<5.3.0-1016.17~18.04.1
5.3.0-1016.17~18.04.1
ubuntu/linux-gcp-5.3<5.7~
5.7~
ubuntu/linux-gcp-edge<5.7~
5.7~
ubuntu/linux-gke-4.15<5.7~
5.7~
ubuntu/linux-gke-5.0<5.7~
5.7~
ubuntu/linux-gke-5.3<5.3.0-1016.17~18.04.1
5.3.0-1016.17~18.04.1
ubuntu/linux-gke-5.3<5.7~
5.7~
ubuntu/linux-hwe<5.3.0-45.37~18.04.1
5.3.0-45.37~18.04.1
ubuntu/linux-hwe<5.7~
5.7~
ubuntu/linux-hwe-edge<5.7~
5.7~
ubuntu/linux-kvm<5.3.0-1014.15
5.3.0-1014.15
ubuntu/linux-kvm<5.7~
5.7~
ubuntu/linux-lts-trusty<5.7~
5.7~
ubuntu/linux-lts-xenial<5.7~
5.7~
ubuntu/linux-oem<5.7~
5.7~
ubuntu/linux-oem-5.6<5.7~
5.7~
ubuntu/linux-oem-osp1<5.7~
5.7~
ubuntu/linux-oracle<5.3.0-1013.14
5.3.0-1013.14
ubuntu/linux-oracle<5.7~
5.7~
ubuntu/linux-oracle-5.0<5.7~
5.7~
ubuntu/linux-oracle-5.3<5.3.0-1013.14~18.04.1
5.3.0-1013.14~18.04.1
ubuntu/linux-oracle-5.3<5.7~
5.7~
ubuntu/linux-raspi2<5.3.0-1021.23
5.3.0-1021.23
ubuntu/linux-raspi2<5.7~
5.7~
ubuntu/linux-raspi2-5.3<5.3.0-1021.23~18.04.1
5.3.0-1021.23~18.04.1
ubuntu/linux-raspi2-5.3<5.7~
5.7~
ubuntu/linux-snapdragon<5.7~
5.7~
Linux Linux kernel>=5.4.7<5.4.29
Linux Linux kernel>=5.5.0<5.5.14
Linux Linux kernel>=5.6<5.6.1
Fedoraproject Fedora=30
Fedoraproject Fedora=31
Fedoraproject Fedora=32
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=19.10
Netapp Cloud Backup
Netapp Hci Management Node
Netapp Solidfire
Netapp Steelstore Cloud Integrated Storage
Netapp A700s Firmware
Netapp A700s
Netapp 8300 Firmware
Netapp 8300
Netapp 8700 Firmware
Netapp 8700
Netapp A400 Firmware
Netapp A400
Netapp A320 Firmware
Netapp A320
Netapp C190 Firmware
Netapp C190
Netapp A220 Firmware
Netapp A220
Netapp Fas2720 Firmware
Netapp Fas2720
Netapp Fas2750 Firmware
Netapp Fas2750
Netapp A800 Firmware
Netapp A800
Netapp H300s Firmware
Netapp H300s
Netapp H500s Firmware
Netapp H500s
Netapp H700s Firmware
Netapp H700s
Netapp H300e Firmware
Netapp H300e
Netapp H500e Firmware
Netapp H500e
Netapp H700e Firmware
Netapp H700e
Netapp H410s Firmware
Netapp H410s
Netapp H610c Firmware
Netapp H610c
Netapp H610s Firmware
Netapp H610s
Netapp H615c Firmware
Netapp H615c
All of
Netapp A700s Firmware
Netapp A700s
All of
Netapp 8300 Firmware
Netapp 8300
All of
Netapp 8700 Firmware
Netapp 8700
All of
Netapp A400 Firmware
Netapp A400
All of
Netapp A320 Firmware
Netapp A320
All of
Netapp C190 Firmware
Netapp C190
All of
Netapp A220 Firmware
Netapp A220
All of
Netapp Fas2720 Firmware
Netapp Fas2720
All of
Netapp Fas2750 Firmware
Netapp Fas2750
All of
Netapp A800 Firmware
Netapp A800
All of
Netapp H300s Firmware
Netapp H300s
All of
Netapp H500s Firmware
Netapp H500s
All of
Netapp H700s Firmware
Netapp H700s
All of
Netapp H300e Firmware
Netapp H300e
All of
Netapp H500e Firmware
Netapp H500e
All of
Netapp H700e Firmware
Netapp H700e
All of
Netapp H410s Firmware
Netapp H410s
All of
Netapp H610c Firmware
Netapp H610c
All of
Netapp H610s Firmware
Netapp H610s
All of
Netapp H615c Firmware
Netapp H615c
debian/linux
4.19.249-2
4.19.304-1
5.10.209-2
5.10.205-2
6.1.76-1
6.1.85-1
6.6.15-2
6.7.12-1

Remedy

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, thanks to the kernel lockdown feature which blocks BPF program loading.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203