|
|
OS X IOKit kernel code execution due to unchecked pointer parameter in IGAccelCLContext::unmap_user_memory | ||||||
| Project Member Reported by ianbeer@google.com, May 2 2014 | Back to list | ||||||
The Intel OpenCL IOKit userclient has pretty much exactly the same bug as the OpenGL one - they trust a user-supplied pointer and call a virtual function off of it. Specifically the function IGAccelCLContext::unmap_user_memory is reachable as selector 0x101. Attached poc hello.c (uses the apple OpenCL hello world example to initialize OpenCL and get the correct userclient) will kernel panic dereferencing 0x4141414141414141. Compile with -framework OpenCL -framework IOKit This should be reachable from the chrome gpu process sandbox and the safari renderer sandbox.
Project Member
Comment 1
by
ianbeer@google.com,
May 2 2014
,
May 2 2014
,
May 2 2014
,
May 12 2014
,
May 23 2014
,
Jul 3 2014
,
Jul 31 2014
|
|||||||
| ► Sign in to add a comment | |||||||