vendor:
IOKit
by:
Google Security Research
5.5
CVSS
MEDIUM
Error Handling
CWE
Product Name: IOKit
Affected Version From:
Affected Version To:
Patch Exists: No
Related CWE:
CPE:
Platforms Tested:
IOKit device.defs Functions Error Handling
The _ool variations of the IOKit device.defs functions incorrectly handle error conditions. Specifically, the code declares an io_object_t existing on the stack and passes its address to the is_io_service_get_matching_services_ool function. If the function succeeds, the value of existing is passed to iokit_make_object_port.
Mitigation:
Unknown