Null pointer dereference in Linux kernel - CVE-2020-27830

 

Null pointer dereference in Linux kernel - CVE-2020-27830

Published: May 13, 2021 / Updated: September 7, 2021


Vulnerability identifier: #VU95192
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-27830
CWE-ID: CWE-476
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to perform a denial of service (DoS) attack.

A vulnerability was found in Linux Kernel where in the spk_ttyio_receive_buf2() function, it would dereference spk_ttyio_synth without checking whether it is NULL or not, and may lead to a NULL-ptr deref crash.


Affected software

Linux kernel
Debian Linux
Ubuntu
openEuler
linux-kvm (Ubuntu package)
linux-snapdragon (Ubuntu package)
linux-hwe (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure (Ubuntu package)
linux (Ubuntu package)
linux-raspi2 (Ubuntu package)
linux-aws (Ubuntu package)
linux-oracle (Ubuntu package)
linux-gke-4.15 (Ubuntu package)
linux-aws-hwe (Ubuntu package)
linux-azure-4.15 (Ubuntu package)
linux-gcp-4.15 (Ubuntu package)
linux (Debian package)
linux-hwe-5.4 (Ubuntu package)
linux-gke-5.4 (Ubuntu package)
linux-gkeop-5.4 (Ubuntu package)
linux-gkeop (Ubuntu package)
linux-raspi (Ubuntu package)
linux-aws-5.4 (Ubuntu package)
linux-azure-5.4 (Ubuntu package)
linux-gcp-5.4 (Ubuntu package)
linux-oracle-5.4 (Ubuntu package)
linux-raspi-5.4 (Ubuntu package)
python3-perf-debuginfo
kernel
bpftool
bpftool-debuginfo
kernel-debuginfo
kernel-debugsource
kernel-devel
kernel-source
kernel-tools
kernel-tools-debuginfo
kernel-tools-devel
perf
perf-debuginfo
python2-perf
python2-perf-debuginfo
python3-perf
linux-image-5.6.0-1053-oem (Ubuntu package)
linux-image-oem-20.04 (Ubuntu package)
linux-image-5.8.0-44-generic (Ubuntu package)
linux-image-5.8.0-44-generic-lpae (Ubuntu package)
linux-image-5.8.0-44-lowlatency (Ubuntu package)
linux-image-5.8.0-44-generic-64k (Ubuntu package)
linux-image-5.8.0-1016-raspi (Ubuntu package)
linux-image-5.8.0-1016-raspi-nolpae (Ubuntu package)
linux-image-5.8.0-1019-kvm (Ubuntu package)
linux-image-5.8.0-1021-oracle (Ubuntu package)
linux-image-5.8.0-1023-gcp (Ubuntu package)
linux-image-5.8.0-1023-azure (Ubuntu package)
linux-image-5.8.0-1024-aws (Ubuntu package)
linux-image-generic-64k (Ubuntu package)
linux-image-generic (Ubuntu package)
linux-image-generic-lpae (Ubuntu package)
linux-image-virtual (Ubuntu package)
linux-image-lowlatency (Ubuntu package)
linux-image-virtual-hwe-20.04 (Ubuntu package)
linux-image-lowlatency-hwe-20.04 (Ubuntu package)
linux-image-generic-lpae-hwe-20.04 (Ubuntu package)
linux-image-generic-hwe-20.04 (Ubuntu package)
linux-image-generic-64k-hwe-20.04 (Ubuntu package)
linux-image-raspi-nolpae (Ubuntu package)
linux-image-raspi (Ubuntu package)
linux-image-kvm (Ubuntu package)
linux-image-oracle (Ubuntu package)
linux-image-gcp (Ubuntu package)
linux-image-azure (Ubuntu package)
linux-image-gke (Ubuntu package)
linux-image-aws (Ubuntu package)

How to mitigate CVE-2020-27830

Install update from vendor's repository.

linux-kvm (Ubuntu package) - addressed in versions 4.15.0-1085.87, 5.4.0-1033.34
linux-snapdragon (Ubuntu package) - update to 4.15.0-1096.105
linux-hwe (Ubuntu package) - update to 4.15.0-136.140~16.04.1
linux-gcp (Ubuntu package) - addressed in versions 4.15.0-1093.106~16.04.1, 5.4.0-1037.40
linux-azure (Ubuntu package) - addressed in versions 4.15.0-1108.120~14.04.1, 4.15.0-1108.120~16.04.1, 5.4.0-1040.42
linux (Ubuntu package) - addressed in versions 4.15.0-136.140, 5.4.0-66.74
linux-raspi2 (Ubuntu package) - update to 4.15.0-1079.84
linux-aws (Ubuntu package) - addressed in versions 4.15.0-1094.101, 5.4.0-1038.40
linux-oracle (Ubuntu package) - addressed in versions 4.15.0-1065.73~16.04.1, 4.15.0-1065.73, 5.4.0-1038.41
linux-gke-4.15 (Ubuntu package) - update to 4.15.0-1079.84
linux-aws-hwe (Ubuntu package) - update to 4.15.0-1094.101~16.04.1
linux-azure-4.15 (Ubuntu package) - update to 4.15.0-1108.120
linux-gcp-4.15 (Ubuntu package) - update to 4.15.0-1093.106
linux (Debian package) - update to 4.19.171-2
linux-hwe-5.4 (Ubuntu package) - update to 5.4.0-66.74~18.04.2
linux-gke-5.4 (Ubuntu package) - update to 5.4.0-1036.38~18.04.1
linux-gkeop-5.4 (Ubuntu package) - update to 5.4.0-1010.11~18.04.1
linux-gkeop (Ubuntu package) - update to 5.4.0-1010.11
linux-raspi (Ubuntu package) - update to 5.4.0-1029.32
linux-aws-5.4 (Ubuntu package) - update to 5.4.0-1038.40~18.04.1
linux-azure-5.4 (Ubuntu package) - update to 5.4.0-1040.42~18.04.1
linux-gcp-5.4 (Ubuntu package) - update to 5.4.0-1037.40~18.04.1
linux-oracle-5.4 (Ubuntu package) - update to 5.4.0-1038.41~18.04.1
linux-raspi-5.4 (Ubuntu package) - update to 5.4.0-1029.32~18.04.1
python3-perf-debuginfo - update to 4.19.90-2101.1.0.0055
kernel - update to 4.19.90-2101.1.0.0055
bpftool - update to 4.19.90-2101.1.0.0055
bpftool-debuginfo - update to 4.19.90-2101.1.0.0055
kernel-debuginfo - update to 4.19.90-2101.1.0.0055
kernel-debugsource - update to 4.19.90-2101.1.0.0055
kernel-devel - update to 4.19.90-2101.1.0.0055
kernel-source - update to 4.19.90-2101.1.0.0055
kernel-tools - update to 4.19.90-2101.1.0.0055
kernel-tools-debuginfo - update to 4.19.90-2101.1.0.0055
kernel-tools-devel - update to 4.19.90-2101.1.0.0055
perf - update to 4.19.90-2101.1.0.0055
perf-debuginfo - update to 4.19.90-2101.1.0.0055
python2-perf - update to 4.19.90-2101.1.0.0055
python2-perf-debuginfo - update to 4.19.90-2101.1.0.0055
python3-perf - update to 4.19.90-2101.1.0.0055
linux-image-5.6.0-1053-oem (Ubuntu package) - update to 5.6.0-1053.57
linux-image-oem-20.04 (Ubuntu package) - addressed in versions 5.6.0.1053.49, 5.8.0.44.49
linux-image-5.8.0-44-generic (Ubuntu package) - update to 5.8.0-44.50~20.04.1
linux-image-5.8.0-44-generic-lpae (Ubuntu package) - update to 5.8.0-44.50~20.04.1
linux-image-5.8.0-44-lowlatency (Ubuntu package) - update to 5.8.0-44.50~20.04.1
linux-image-5.8.0-44-generic-64k (Ubuntu package) - update to 5.8.0-44.50
linux-image-5.8.0-1016-raspi (Ubuntu package) - update to 5.8.0-1016.19
linux-image-5.8.0-1016-raspi-nolpae (Ubuntu package) - update to 5.8.0-1016.19
linux-image-5.8.0-1019-kvm (Ubuntu package) - update to 5.8.0-1019.21
linux-image-5.8.0-1021-oracle (Ubuntu package) - update to 5.8.0-1021.22
linux-image-5.8.0-1023-gcp (Ubuntu package) - update to 5.8.0-1023.24
linux-image-5.8.0-1023-azure (Ubuntu package) - update to 5.8.0-1023.25
linux-image-5.8.0-1024-aws (Ubuntu package) - update to 5.8.0-1024.26
linux-image-generic-64k (Ubuntu package) - update to 5.8.0.44.49
linux-image-generic (Ubuntu package) - update to 5.8.0.44.49
linux-image-generic-lpae (Ubuntu package) - update to 5.8.0.44.49
linux-image-virtual (Ubuntu package) - update to 5.8.0.44.49
linux-image-lowlatency (Ubuntu package) - update to 5.8.0.44.49
linux-image-virtual-hwe-20.04 (Ubuntu package) - update to 5.8.0.44.50~20.04.30
linux-image-lowlatency-hwe-20.04 (Ubuntu package) - update to 5.8.0.44.50~20.04.30
linux-image-generic-lpae-hwe-20.04 (Ubuntu package) - update to 5.8.0.44.50~20.04.30
linux-image-generic-hwe-20.04 (Ubuntu package) - update to 5.8.0.44.50~20.04.30
linux-image-generic-64k-hwe-20.04 (Ubuntu package) - update to 5.8.0.44.50~20.04.30
linux-image-raspi-nolpae (Ubuntu package) - update to 5.8.0.1016.19
linux-image-raspi (Ubuntu package) - update to 5.8.0.1016.19
linux-image-kvm (Ubuntu package) - update to 5.8.0.1019.21
linux-image-oracle (Ubuntu package) - update to 5.8.0.1021.20
linux-image-gcp (Ubuntu package) - update to 5.8.0.1023.23
linux-image-azure (Ubuntu package) - update to 5.8.0.1023.23
linux-image-gke (Ubuntu package) - update to 5.8.0.1023.23
linux-image-aws (Ubuntu package) - update to 5.8.0.1024.26

External References

Related Security Bulletins