CVE-2020-10690
published 2020-05-08CVE-2020-10690: 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…
PriorityP427medium6.4CVSS 3.1
AVLACHPRHUINSUCHIHAH
EPSS
0.36%
28.1th percentile
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.
Affected
17 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | linux | < linux 5.4.8-1 (bookworm) | linux 5.4.8-1 (bookworm) |
| linux | linux_kernel | < 5.5 | 5.5 |
| linux | linux_kernel | >= 0 < 5.4.8-1 | 5.4.8-1 |
| linux | linux_kernel | >= 0 < 5.4.8-1 | 5.4.8-1 |
| linux | linux_kernel | >= 0 < 5.4.8-1 | 5.4.8-1 |
| linux | linux_kernel | >= 0 < 5.4.8-1 | 5.4.8-1 |
| linux | linux_kernel | >= 0 < 4.4.0-185.215 | 4.4.0-185.215 |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cm1_kernel_5.4.91-3_on_cbl_mariner_1.0 | — | — |
| opensuse | leap | — | — |
| red_hat | kernel | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
CVSS provenance
nvdv3.16.4MEDIUMCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
nvdv2.04.4MEDIUMAV:L/AC:M/Au:N/C:P/I:P/A:P
osv6.4MEDIUM
vendor_debian6.5MEDIUM
vendor_redhat6.5MEDIUM
vendor_ubuntu6.5MEDIUM
vendor_msrc6.4MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-hgvv-3627-37xx: There is a use-after-free in kernel versions before 5
ghsa_unreviewed·2022-05-24
CVE-2020-10690 [MEDIUM] CWE-416 GHSA-hgvv-3627-37xx: There is a use-after-free in kernel versions before 5
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.
OSV
linux, linux-lts-xenial, linux-aws, linux-kvm, linux-raspi2, linux-snapdragon vulnerabilities
osv·2020-07-06·CVSS 6.4
CVE-2020-10690 [MEDIUM] linux, linux-lts-xenial, linux-aws, linux-kvm, linux-raspi2, linux-snapdragon vulnerabilities
linux, linux-lts-xenial, linux-aws, linux-kvm, linux-raspi2, linux-snapdragon vulnerabilities
It was discovered that a race condition existed in the Precision Time
Protocol (PTP) implementation in the Linux kernel, leading to a use-after-
free vulnerability. A local attacker could possibly use this to cause a
denial of service (system crash) or possibly execute arbitrary code.
(CVE-2020-10690)
Matthew Sheets discovered that the SELinux network label handling
implementation in the Linux kernel could be coerced into de-referencing a
NULL pointer. A remote attacker could use this to cause a denial of service
(system crash). (CVE-2020-10711)
It was discovered that the SCSI generic (sg) driver in the Linux kernel did
not properly handle certain error conditions correctly. A local privileged
OSV
CVE-2020-10690: There is a use-after-free in kernel versions before 5
osv·2020-05-08·CVSS 6.4
CVE-2020-10690 [MEDIUM] CVE-2020-10690: There is a use-after-free in kernel versions before 5
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.
Ubuntu
Linux kernel vulnerabilities
vendor_ubuntu·2020-07-06·CVSS 6.5
CVE-2020-10690 [MEDIUM] Linux kernel vulnerabilities
Title: Linux kernel vulnerabilities
Summary: Several security issues were fixed in the Linux kernel.
It was discovered that a race condition existed in the Precision Time
Protocol (PTP) implementation in the Linux kernel, leading to a use-after-
free vulnerability. A local attacker could possibly use this to cause a
denial of service (system crash) or possibly execute arbitrary code.
(CVE-2020-10690)
Matthew Sheets discovered that the SELinux network label handling
implementation in the Linux kernel could be coerced into de-referencing a
NULL pointer. A remote attacker could use this to cause a denial of service
(system crash). (CVE-2020-10711)
It was discovered that the SCSI generic (sg) driver in the Linux kernel did
not properly handle certain error conditions correctly. A local pri
Microsoft
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
vendor_msrc·2020-05-12·CVSS 6.4
CVE-2020-10690 [MEDIUM] CWE-416 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
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date
Debian
CVE-2020-10690: linux - There is a use-after-free in kernel versions before 5.5 due to a race condition ...
vendor_debian·2020·CVSS 6.5
CVE-2020-10690 [MEDIUM] CVE-2020-10690: linux - There is a use-after-free in kernel versions before 5.5 due to a race condition ...
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.
Scope: local
bookworm: resolved (fixed in 5.4.8-1)
bullseye: resolved (fixed in 5.4.8-1)
forky: resolved (fixed in 5.4.8-1)
sid: resolved (fixed in 5.4.8-1)
trixie: resolved (fixed in 5.4.8-1)
Red Hat
kernel: use-after-free in cdev_put() when a PTP device is removed while it's chardev is open
vendor_redhat·2019-11-25·CVSS 6.5
CVE-2020-10690 [MEDIUM] CWE-416 kernel: use-after-free in cdev_put() when a PTP device is removed while it's chardev is open
kernel: use-after-free in cdev_put() when a PTP device is removed while it's chardev is open
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.
There is a use-after-free problem seen due to a race condition between the release of ptp_clock and cdev while resource deallocation. When a (high privileged) process allocat
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-10690 kernel: use-after-free in cdev_put() when a PTP device is removed while it's chardev is open [fedora-all]
bugzilla·2020-04-21·CVSS 6.5
CVE-2020-10690 [MEDIUM] CVE-2020-10690 kernel: use-after-free in cdev_put() when a PTP device is removed while it's chardev is open [fedora-all]
CVE-2020-10690 kernel: use-after-free in cdev_put() when a PTP device is removed while it's chardev is open [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: thi
Bugzilla
CVE-2020-10690 kernel: use-after-free in cdev_put() when a PTP device is removed while it's chardev is open
bugzilla·2020-03-25·CVSS 6.5
CVE-2020-10690 [MEDIUM] CVE-2020-10690 kernel: use-after-free in cdev_put() when a PTP device is removed while it's chardev is open
CVE-2020-10690 kernel: use-after-free in cdev_put() when a PTP device is removed while it's chardev is open
There was a use-after-free problem seen due to a race condition between the release of ptp_clock and cdev at the time of 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 (a potential privilege escalation) by the user with administrator privilege, it can cause a denial of service (DoS) problem as the process wakes up to terminate and cleanup all attached files/resources.
The system crashes due to the cdev structure being invalid (as already freed) which is pointed to by the inode.
Refer:
https://lore.kernel.org/linux-fsdevel/20191125125342.6189-1-
http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00022.htmlhttps://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10690https://lists.debian.org/debian-lts-announce/2020/06/msg00011.htmlhttps://lists.debian.org/debian-lts-announce/2020/06/msg00013.htmlhttps://security.netapp.com/advisory/ntap-20200608-0001/https://usn.ubuntu.com/4419-1/http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00022.htmlhttps://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10690https://lists.debian.org/debian-lts-announce/2020/06/msg00011.htmlhttps://lists.debian.org/debian-lts-announce/2020/06/msg00013.htmlhttps://security.netapp.com/advisory/ntap-20200608-0001/https://usn.ubuntu.com/4419-1/
2020-05-08
Published