CVE-2020-10690

NameCVE-2020-10690
DescriptionThere 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-2241-1
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)stretch4.9.228-1fixed
stretch (security)4.9.210-1+deb9u1vulnerable
buster4.19.146-1fixed
buster (security)4.19.118-2+deb10u1fixed
bullseye, sid5.8.10-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsourcejessie3.16.84-1DLA-2241-1
linuxsourcestretch4.9.228-1
linuxsourcebuster4.19.98-1
linuxsource(unstable)5.4.8-1

Notes

Fixed by: https://git.kernel.org/linus/a33121e5487b424339636b25c35d3a180eaa5f5e

Search for package or bug name: Reporting problems