Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Issue 6677168: Disable registration of Breakpad's signal handler for Native Client (Closed)

Created:
9 years, 8 months ago by Mark Seaborn
Modified:
9 years, 5 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Disable 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2 lines) Patch
M chrome/app/breakpad_linux.cc View 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Mark Seaborn
9 years, 8 months ago (2011-04-05 21:05:10 UTC) #1
Cliff L. Biffle
There's still a call to InitCrashReporter over in nacl_main.cc -- make sure it's safe.
9 years, 8 months ago (2011-04-05 21:20:50 UTC) #2
bsy
d flag is now an issue. please reopen that since afaik the nacl signal handler ...
9 years, 8 months ago (2011-04-05 21:24:20 UTC) #3
cstefansen
LGTM (with the proviso that we find a way to re-enable Breakpad before launching). On ...
9 years, 8 months ago (2011-04-05 21:45:27 UTC) #4
Cliff L. Biffle
On Tue, Apr 5, 2011 at 2:24 PM, Bennet Yee (余仕斌) <bsy@google.com> wrote: > d ...
9 years, 8 months ago (2011-04-05 21:47:14 UTC) #5
Mark Seaborn
On 5 April 2011 14:20, <cbiffle@google.com> wrote: > There's still a call to InitCrashReporter over ...
9 years, 8 months ago (2011-04-05 21:53:07 UTC) #6
bsy
sorry, am working from a cafe due to child care, so somewhat succinct. the d ...
9 years, 8 months ago (2011-04-05 21:57:00 UTC) #7
noelallen_use_chromium
9 years, 8 months ago (2011-04-05 23:39:09 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698