New issue
Advanced search Search tips
Starred by 1 user
Status: Fixed
Owner:
Closed: Dec 2015
Cc:



Sign in to add a comment
OS X Kernel UaF in hypervisor driver
Project Member Reported by ianbeer@google.com, Oct 14 2015 Back to list
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.

tested on OS X 10.11 ElCapitan (15a284) on MacBookAir 5,2
 
applehv_uaf.c
1.8 KB Download
Project Member Comment 1 by ianbeer@google.com, Oct 14 2015
Labels: Reported-2015-Oct-14 Id-629983148
Project Member Comment 2 by ianbeer@google.com, Dec 20 2015
Labels: CVE-2015-7078 Fixed-2015-Dec-08
Status: Fixed
Apple advisory: https://support.apple.com/en-gb/HT205637
Project Member Comment 3 by ianbeer@google.com, Jan 27 2016
Labels: -Restrict-View-Commit
Sign in to add a comment