Chromium Code Reviews
DescriptionDisable registration of Breakpad's signal handler for Native Client
This partially undoes r71459.
This fixes a security vulnerability that occurs when the NaCl revision
is updated to r4598 or later. That revision changes NaCl's
sel_main_chrome.c so that it no longer registers a signal handler, but
instead leaves Breakpad's signal handler (registered by Chrome) in
place.
The vulnerability would allow NaCl untrusted code to escape NaCl's
inner sandbox on x86-32 Linux.
This is because although NaCl's signal handler knows how to safely
handle faults from NaCl x86-32 sandboxed code, Breakpad's signal
handler does not. Breakpad's signal handler does not restore %gs.
BUG=http://code.google.com/p/nativeclient/issues/detail?id=1607
TEST=assertion to be added on the NaCl side (http://codereview.chromium.org/6798008/)
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=80581
Patch Set 1 #
Messages
Total messages: 8 (0 generated)
|
|||||||||||||||||||