Out-of-bounds write in Linux kernel - CVE-2020-12659
Published: May 21, 2020
Vulnerability identifier: #VU28166
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-12659
CWE-ID: CWE-787
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to compromise vulnerable system.
The vulnerability exists due to a boundary error when processing untrusted input in "xdp_umem_reg" in "net/xdp/xdp_umem.c" file. A local user can trigger out-of-bounds write and execute arbitrary code on the target system.
Affected software
Linux kernel
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
Red Hat Enterprise Linux for x86_64
Ubuntu
linux-oracle (Ubuntu package)
linux-hwe (Ubuntu package)
linux (Ubuntu package)
linux-oem-osp1 (Ubuntu package)
linux-aws (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure (Ubuntu package)
linux-kvm (Ubuntu package)
linux-gke-5.0 (Ubuntu package)
linux-oracle-5.3 (Ubuntu package)
linux-azure-5.3 (Ubuntu package)
linux-gcp-5.3 (Ubuntu package)
linux-aws-5.3 (Ubuntu package)
linux-gke-5.3 (Ubuntu package)
linux-raspi2-5.3 (Ubuntu package)
linux-riscv (Ubuntu package)
linux-raspi (Ubuntu package)
kernel (Red Hat package)
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
Red Hat Enterprise Linux for x86_64
Ubuntu
linux-oracle (Ubuntu package)
linux-hwe (Ubuntu package)
linux (Ubuntu package)
linux-oem-osp1 (Ubuntu package)
linux-aws (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure (Ubuntu package)
linux-kvm (Ubuntu package)
linux-gke-5.0 (Ubuntu package)
linux-oracle-5.3 (Ubuntu package)
linux-azure-5.3 (Ubuntu package)
linux-gcp-5.3 (Ubuntu package)
linux-aws-5.3 (Ubuntu package)
linux-gke-5.3 (Ubuntu package)
linux-raspi2-5.3 (Ubuntu package)
linux-riscv (Ubuntu package)
linux-raspi (Ubuntu package)
kernel (Red Hat package)
How to mitigate CVE-2020-12659
Install updates from vendor's website.
Linux kernel - update to 5.6.7
linux-oracle (Ubuntu package) - addressed in versions 5.3.0-1024.26, 5.4.0-1015.15
linux-hwe (Ubuntu package) - update to 5.3.0-59.53~18.04.1
linux (Ubuntu package) - addressed in versions 5.3.0-59.53, 5.4.0-37.41
linux-oem-osp1 (Ubuntu package) - update to 5.0.0-1059.64
linux-aws (Ubuntu package) - addressed in versions 5.3.0-1023.25, 5.4.0-1015.15
linux-gcp (Ubuntu package) - addressed in versions 5.3.0-1026.28, 5.4.0-1015.15
linux-azure (Ubuntu package) - addressed in versions 5.3.0-1028.29, 5.4.0-1016.16
linux-kvm (Ubuntu package) - addressed in versions 5.3.0-1023.25, 5.4.0-1015.15
linux-gke-5.0 (Ubuntu package) - update to 5.0.0-1042.43
linux-oracle-5.3 (Ubuntu package) - update to 5.3.0-1024.26~18.04.1
linux-azure-5.3 (Ubuntu package) - update to 5.3.0-1028.29~18.04.1
linux-gcp-5.3 (Ubuntu package) - update to 5.3.0-1026.28~18.04.1
linux-aws-5.3 (Ubuntu package) - update to 5.3.0-1023.25~18.04.1
linux-gke-5.3 (Ubuntu package) - update to 5.3.0-1026.28~18.04.1
linux-raspi2-5.3 (Ubuntu package) - update to 5.3.0-1027.29~18.04.1
linux-riscv (Ubuntu package) - update to 5.4.0-27.31
linux-raspi (Ubuntu package) - update to 5.4.0-1012.12
kernel (Red Hat package) - update to 4.18.0-240.el8
linux-oracle (Ubuntu package) - addressed in versions 5.3.0-1024.26, 5.4.0-1015.15
linux-hwe (Ubuntu package) - update to 5.3.0-59.53~18.04.1
linux (Ubuntu package) - addressed in versions 5.3.0-59.53, 5.4.0-37.41
linux-oem-osp1 (Ubuntu package) - update to 5.0.0-1059.64
linux-aws (Ubuntu package) - addressed in versions 5.3.0-1023.25, 5.4.0-1015.15
linux-gcp (Ubuntu package) - addressed in versions 5.3.0-1026.28, 5.4.0-1015.15
linux-azure (Ubuntu package) - addressed in versions 5.3.0-1028.29, 5.4.0-1016.16
linux-kvm (Ubuntu package) - addressed in versions 5.3.0-1023.25, 5.4.0-1015.15
linux-gke-5.0 (Ubuntu package) - update to 5.0.0-1042.43
linux-oracle-5.3 (Ubuntu package) - update to 5.3.0-1024.26~18.04.1
linux-azure-5.3 (Ubuntu package) - update to 5.3.0-1028.29~18.04.1
linux-gcp-5.3 (Ubuntu package) - update to 5.3.0-1026.28~18.04.1
linux-aws-5.3 (Ubuntu package) - update to 5.3.0-1023.25~18.04.1
linux-gke-5.3 (Ubuntu package) - update to 5.3.0-1026.28~18.04.1
linux-raspi2-5.3 (Ubuntu package) - update to 5.3.0-1027.29~18.04.1
linux-riscv (Ubuntu package) - update to 5.4.0-27.31
linux-raspi (Ubuntu package) - update to 5.4.0-1012.12
kernel (Red Hat package) - update to 4.18.0-240.el8
External References
- https://bugzilla.kernel.org/show_bug.cgi?id=207225
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.6.7
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=99e3a236dd43d06c65af0a2ef9cb44306aef6e02
- https://github.com/torvalds/linux/commit/99e3a236dd43d06c65af0a2ef9cb44306aef6e02