CVE-2020-10690
Vulnerability Summary
Timeline
Description
There is a use-after-free in kernel versions before 5.5 due to a race condition between the release of ptp_clock and cdev while resource deallocation. When a (high privileged) process allocates a ptp device file (like /dev/ptpX) and voluntarily goes to sleep. During this time if the underlying device is removed, it can cause an exploitable condition as the process wakes up to terminate and clean all attached files. The system crashes due to the cdev structure being invalid (as already freed) which is pointed to by the inode.
CVSS Metrics
- v3.1•MEDIUM•Score: 6.5CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
- v3.1•MEDIUM•Score: 6.4CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 4.4AV:L/AC:M/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.36%• Percentile: 30%
Techniques & Countermeasures
- CWE-416•Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected Systems
- canonical•ubuntu_linux
14.04 | 16.04
- debian•linux
< 5.4.8-1 | < 5.4.8-1 | < 5.4.8-1 | < 5.4.8-1
- ubuntu•linux
all | < 4.4.0-185.215 | < 4.15.0-88.88
- ubuntu•linux-aws
< 4.4.0-1074.78 | < 4.4.0-1110.121 | < 4.15.0-1060.62
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-fips
< 4.15.0-2018.18 | all
- ubuntu•linux-aws-hwe
< 4.15.0-1060.62~16.04.1
- ubuntu•linux-azure
< 4.15.0-1071.76~14.04.1 | < 4.15.0-1071.76 | all
- ubuntu•linux-azure-5.3
< 5.3.0-1013.14~18.04.1
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all
- ubuntu•linux-azure-fips
< 4.15.0-2006.7 | all
- ubuntu•linux-bluefield
all
- ubuntu•linux-fips
< 4.4.0-1042.47 | all
- ubuntu•linux-gcp
< 4.15.0-1055.59 | all
- ubuntu•linux-gcp-5.3
< 5.3.0-1012.13~18.04.1
- ubuntu•linux-gcp-edge
all
- ubuntu•linux-gcp-fips
all
- ubuntu•linux-gke
all
- ubuntu•linux-gke-4.15
< 4.15.0-1052.55
- ubuntu•linux-gke-5.0
< 5.0.0-1030.31
- ubuntu•linux-gke-5.3
< 5.3.0-1012.13~18.04.1
- ubuntu•linux-hwe
< 4.15.0-88.88~16.04.1 | < 5.3.0-40.32~18.04.1
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-kvm
< 4.4.0-1076.83 | < 4.15.0-1053.53
- ubuntu•linux-lts-xenial
< 4.4.0-185.215~14.04.1
- ubuntu•linux-oem
< 4.15.0-1073.83
- ubuntu•linux-oem-osp1
< 5.0.0-1039.44
- ubuntu•linux-oracle
< 4.15.0-1033.36~16.04.1 | < 4.15.0-1033.36
- ubuntu•linux-oracle-5.0
all
- ubuntu•linux-raspi-realtime
all
- ubuntu•linux-raspi2
< 4.4.0-1135.144 | < 4.15.0-1055.59 | all
- ubuntu•linux-raspi2-5.3
< 5.3.0-1018.20~18.04.1
- ubuntu•linux-realtime
all
- ubuntu•linux-riscv
all
- ubuntu•linux-snapdragon
< 4.4.0-1139.147 | < 4.15.0-1072.79
- debian•debian_linux
8.0
- linux•linux_kernel
< 5.5
- netapp•active_iq_unified_manager
na
- netapp•element_software
na
- netapp•h300e_firmware
na
- netapp•h300s_firmware
na
- netapp•h410c_firmware
na
- netapp•h410s_firmware
na
- netapp•h500e_firmware
na
- netapp•h500s_firmware
na
- netapp•h610c_firmware
na
- netapp•h610s_firmware
na
- netapp•h615c_firmware
na
Showing first 50 affected entries in server-rendered view.
References (11)
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10690
- https://security.netapp.com/advisory/ntap-20200608-0001/
- https://lists.debian.org/debian-lts-announce/2020/06/msg00011.html
- https://lists.debian.org/debian-lts-announce/2020/06/msg00013.html
- http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00022.html
- https://usn.ubuntu.com/4419-1/
- https://ubuntu.com/security/CVE-2020-10690
- https://lore.kernel.org/linux-fsdevel/20191125125342.6189-1-vdronov@redhat.com/T/#u
- https://ubuntu.com/security/notices/USN-4419-1
- https://www.cve.org/CVERecord?id=CVE-2020-10690
- https://security-tracker.debian.org/tracker/CVE-2020-10690