vendor:
Mac OS X
by:
ianbeer
7,8
CVSS
HIGH
Use-After-Free
416
CWE
Product Name: Mac OS X
Affected Version From: OS X 10.11 ElCapitan (15a284)
Affected Version To: OS X 10.11 ElCapitan (15a284)
Patch Exists: YES
Related CWE: N/A
CPE: o:apple:mac_os_x:10.11
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: MacBookAir 5,2
2016
OS X Kernel UaF in hypervisor driver
The hv_space lock group gets an extra ref dropped when you kill a process with an AppleHV userclient; one via IOService::terminateWorker calling the AppleHVClient::free method (which calls lck_rw_free on the lock group using the pointer hanging off the global _hv variable) and secondly via the hypervisor machine_thread_destroy callback (hv_callback_thread_destroy) which also calls lck_rw_free with a lock group pointer taken from _hv.
Mitigation:
Update to the latest version of OS X.