Permissions, Privileges, and Access Controls in Linux kernel - CVE-2020-10751
Published: May 27, 2020
Vulnerability details
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due in the Linux kernels SELinux LSM hook implementation where the kernel incorrectly assumed that an skb would only contain a single netlink message. The hook would incorrectly only validate the first netlink message in the skb and allow or deny the rest of the messages within the skb with the granted permission without further processing.
Affected software
Anolis OS
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux for Real Time for NFV
Red Hat Enterprise Linux for x86_64
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
Slackware Linux
Ubuntu
linux (Ubuntu package)
linux-raspi2 (Ubuntu package)
linux-lts-xenial (Ubuntu package)
linux-kvm (Ubuntu package)
linux-aws (Ubuntu package)
linux-snapdragon (Ubuntu package)
linux-hwe (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure (Ubuntu package)
linux-oracle (Ubuntu package)
linux-oem (Ubuntu package)
linux-gke-4.15 (Ubuntu package)
linux-aws-hwe (Ubuntu package)
linux-azure-4.15 (Ubuntu package)
linux-riscv (Ubuntu package)
linux-raspi (Ubuntu package)
kernel (Red Hat package)
kernel-rt (Red Hat package)
perf
bpftool
python-perf
kernel-tools-libs-devel
kernel-tools-libs
kernel-tools
kernel-headers
kernel-devel
kernel-debug-devel
kernel-debug
kernel
linux-4.4.227/kernel-generic
linux-4.4.227/kernel-huge
linux-4.4.227/kernel-modules
linux-4.4.227/kernel-headers
linux-image-5.0.0-1043-gke (Ubuntu package)
linux-image-5.0.0-1063-oem-osp1 (Ubuntu package)
linux-image-gke-5.0 (Ubuntu package)
linux-image-oem-osp1 (Ubuntu package)
linux-image-5.3.0-62-lowlatency (Ubuntu package)
linux-image-5.3.0-62-generic (Ubuntu package)
linux-image-5.3.0-62-generic-lpae (Ubuntu package)
linux-image-5.3.0-62-snapdragon (Ubuntu package)
linux-image-5.3.0-1024-kvm (Ubuntu package)
linux-image-5.3.0-1028-oracle (Ubuntu package)
linux-image-5.3.0-1028-raspi2 (Ubuntu package)
linux-image-5.3.0-1030-gcp (Ubuntu package)
linux-image-5.3.0-1030-aws (Ubuntu package)
linux-image-5.3.0-1030-gke (Ubuntu package)
linux-image-5.3.0-1032-azure (Ubuntu package)
linux-image-snapdragon-hwe-18.04 (Ubuntu package)
linux-image-virtual-hwe-18.04 (Ubuntu package)
linux-image-lowlatency-hwe-18.04 (Ubuntu package)
linux-image-gkeop-5.3 (Ubuntu package)
linux-image-generic-lpae-hwe-18.04 (Ubuntu package)
linux-image-generic-hwe-18.04 (Ubuntu package)
linux-image-raspi2-hwe-18.04 (Ubuntu package)
linux-image-oracle (Ubuntu package)
linux-image-gke-5.3 (Ubuntu package)
linux-image-gcp (Ubuntu package)
linux-image-aws (Ubuntu package)
linux-image-azure (Ubuntu package)
How to mitigate CVE-2020-10751
linux-raspi2 (Ubuntu package) - addressed in versions 4.4.0-1134.143, 4.15.0-1063.67
linux-lts-xenial (Ubuntu package) - update to 4.4.0-184.214~14.04.1
linux-kvm (Ubuntu package) - addressed in versions 4.4.0-1075.82, 4.15.0-1067.68, 5.4.0-1015.15
linux-aws (Ubuntu package) - addressed in versions 4.4.0-1073.77, 4.4.0-1109.120, 4.15.0-1073.77, 5.4.0-1015.15
linux-snapdragon (Ubuntu package) - addressed in versions 4.4.0-1138.146, 4.15.0-1080.87
linux-hwe (Ubuntu package) - update to 4.15.0-106.107~16.04.1
linux-gcp (Ubuntu package) - addressed in versions 4.15.0-1077.87~16.04.1, 5.4.0-1015.15
linux-azure (Ubuntu package) - addressed in versions 4.15.0-1089.99~14.04.1, 4.15.0-1089.99~16.04.1, 5.4.0-1016.16
linux-oracle (Ubuntu package) - addressed in versions 4.15.0-1045.49~16.04.1, 4.15.0-1045.49, 5.4.0-1015.15
linux-oem (Ubuntu package) - update to 4.15.0-1087.97
linux-gke-4.15 (Ubuntu package) - update to 4.15.0-1063.66
linux-aws-hwe (Ubuntu package) - update to 4.15.0-1073.77~16.04.1
linux-azure-4.15 (Ubuntu package) - update to 4.15.0-1089.99
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) - addressed in versions 3.10.0-1160.el7, 4.18.0-240.el8
kernel-rt (Red Hat package) - update to 3.10.0-1160.rt56.1131.el7
perf - update to 4.19.91-26
bpftool - update to 4.19.91-26
python-perf - update to 4.19.91-26
kernel-tools-libs-devel - update to 4.19.91-26
kernel-tools-libs - update to 4.19.91-26
kernel-tools - update to 4.19.91-26
kernel-headers - update to 4.19.91-26
kernel-devel - update to 4.19.91-26
kernel-debug-devel - update to 4.19.91-26
kernel-debug - update to 4.19.91-26
kernel - update to 4.19.91-26
linux-4.4.227/kernel-generic - update to 4.4.227
linux-4.4.227/kernel-huge - update to 4.4.227
linux-4.4.227/kernel-modules - update to 4.4.227
linux-4.4.227/kernel-headers - update to 4.4.227_smp
linux-image-5.0.0-1043-gke (Ubuntu package) - update to 5.0.0-1043.44
linux-image-5.0.0-1063-oem-osp1 (Ubuntu package) - update to 5.0.0-1063.68
linux-image-gke-5.0 (Ubuntu package) - update to 5.0.0.1043.28
linux-image-oem-osp1 (Ubuntu package) - update to 5.0.0.1063.61
linux-image-5.3.0-62-lowlatency (Ubuntu package) - addressed in versions 5.3.0-62.56~18.04.1, 5.3.0-62.56
linux-image-5.3.0-62-generic (Ubuntu package) - addressed in versions 5.3.0-62.56~18.04.1, 5.3.0-62.56
linux-image-5.3.0-62-generic-lpae (Ubuntu package) - update to 5.3.0-62.56~18.04.1
linux-image-5.3.0-62-snapdragon (Ubuntu package) - update to 5.3.0-62.56
linux-image-5.3.0-1024-kvm (Ubuntu package) - update to 5.3.0-1024.26
linux-image-5.3.0-1028-oracle (Ubuntu package) - addressed in versions 5.3.0-1028.30~18.04.1, 5.3.0-1028.30
linux-image-5.3.0-1028-raspi2 (Ubuntu package) - update to 5.3.0-1028.30~18.04.2
linux-image-5.3.0-1030-gcp (Ubuntu package) - addressed in versions 5.3.0-1030.32~18.04.1, 5.3.0-1030.32
linux-image-5.3.0-1030-aws (Ubuntu package) - addressed in versions 5.3.0-1030.32~18.04.1, 5.3.0-1030.32
linux-image-5.3.0-1030-gke (Ubuntu package) - update to 5.3.0-1030.32~18.04.1
linux-image-5.3.0-1032-azure (Ubuntu package) - addressed in versions 5.3.0-1032.33~18.04.1, 5.3.0-1032.33
linux-image-snapdragon-hwe-18.04 (Ubuntu package) - update to 5.3.0.62.115
linux-image-virtual-hwe-18.04 (Ubuntu package) - update to 5.3.0.62.115
linux-image-lowlatency-hwe-18.04 (Ubuntu package) - update to 5.3.0.62.115
linux-image-gkeop-5.3 (Ubuntu package) - update to 5.3.0.62.115
linux-image-generic-lpae-hwe-18.04 (Ubuntu package) - update to 5.3.0.62.115
linux-image-generic-hwe-18.04 (Ubuntu package) - update to 5.3.0.62.115
linux-image-raspi2-hwe-18.04 (Ubuntu package) - update to 5.3.0.1028.17
linux-image-oracle (Ubuntu package) - update to 5.3.0.1028.25
linux-image-gke-5.3 (Ubuntu package) - update to 5.3.0.1030.15
linux-image-gcp (Ubuntu package) - update to 5.3.0.1030.24
linux-image-aws (Ubuntu package) - update to 5.3.0.1030.28
linux-image-azure (Ubuntu package) - update to 5.3.0.1032.28
External References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10751
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fb73974172ffaaf57a7c42f35424d9aece1a5af6
- https://lore.kernel.org/selinux/CACT4Y+b8HiV6KFuAPysZD=5hmyO4QisgxCKi4DHU3CfMPSP=yg@mail.gmail.com/
- https://www.openwall.com/lists/oss-security/2020/04/30/5
Related Security Bulletins
- Security restrictions bypass in SELinux netlink
- Anolis OS update for kernel(ANCK)4.19
- Ubuntu update for linux-gke-5.0
- Ubuntu update for linux
- Slackware Linux update for kernel
- Red Hat Enterprise Linux 8 update for kernel
- Red Hat Enterprise Linux 7 update for kernel-rt
- Red Hat Enterprise Linux 7 update for kernel
- Ubuntu update for linux, linux-aws, linux-azure and more
- Ubuntu update for linux, linux-aws, linux-kvm and more
- Ubuntu update for linux, linux-aws, linux-aws-hwe and more