vendor:
by:
ianbeer
7.5
CVSS
HIGH
Incorrect IOKit object lifetime management
CWE
Product Name:
Affected Version From:
Affected Version To:
Patch Exists: NO
Related CWE:
CPE:
Platforms Tested: MacOS 10.13 (17A365) on MacBookAir5,2
MacOS multiple kernel UAFs due to incorrect IOKit object lifetime management in IOTimeSyncClockManagerUserClient
IOTimeSyncClockManagerUserClient overrides the IOUserClient::clientClose method but treats it like a destructor, leading to multiple use-after-free vulnerabilities. Calling ::clientClose in one thread and an external method in another thread can cause the OSArrays to be freed and the locks protecting them to be destroyed, resulting in UaFs if the arrays are manipulated in other threads.