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.
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.
Link | Tags |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10690 | patch third party advisory issue tracking |
https://security.netapp.com/advisory/ntap-20200608-0001/ | third party advisory |
https://lists.debian.org/debian-lts-announce/2020/06/msg00011.html | third party advisory mailing list |
https://lists.debian.org/debian-lts-announce/2020/06/msg00013.html | third party advisory mailing list |
http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00022.html | vendor advisory mailing list third party advisory |
https://usn.ubuntu.com/4419-1/ | third party advisory vendor advisory |