Android Seccomp Crash: SYS_getsockname |
|||
Issue descriptionObserved using this query: SELECT ProductData.Value AS BuildFP, cpu.Architecture, (crash.Address & 0x3FF) AS sysno, COUNT(ReportID), ANY(ReportID) AS ReportID FROM (FLATTEN(crash.prod.latest, ProductData)) WHERE Product.Name = 'Chrome_Android' AND CrashedStackTrace.StackFrame.FunctionName CONTAINS 'sandbox::CrashSIGSYS_Handler' AND CAST(SUBSTR(Product.Version, 6) AS FLOAT) > 2822 AND ProductData.Key = 'android_build_fp' GROUP BY BuildFP, cpu.Architecture, sysno ORDER BY cpu.Architecture, sysno Seeing this on arm32 and arm64. sysno for arm32 = 286. sysno for arm64 = 204. This is related to issue 635085 (security-restricted). Given that issue, I'm inclined to NOT allow this but to return an errno if possible instead.
,
Nov 8 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/3df454eb35c5521120ca5dc02611e0f06cfc94cc commit 3df454eb35c5521120ca5dc02611e0f06cfc94cc Author: Alex Mineer <amineer@chromium.org> Date: Tue Nov 08 06:56:23 2016 Revert "[Android] Block __NR_getsockname via EPERM rather than SIGSYS." This reverts commit 1f6acfe7dd08165baad36302b4388248e2854936. BUG=663249, 655300 Cr-Commit-Position: refs/branch-heads/2913@{#5} Cr-Branched-From: 75d01e1f338c8a452f7d9aa80c2bfa463c0ce4f0-refs/heads/master@{#430459} [modify] https://crrev.com/3df454eb35c5521120ca5dc02611e0f06cfc94cc/content/common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc
,
Nov 8 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/6cf1cba773058a061075f2a05c06f7fa61d3143b commit 6cf1cba773058a061075f2a05c06f7fa61d3143b Author: rsesek <rsesek@chromium.org> Date: Tue Nov 08 15:38:36 2016 [Android] Fix x86 build after 1f6acfe7dd08. ../../content/common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc:45:10: error: 'sandbox::bpf_dsl::BoolExpr content::{anonymous}::RestrictSocketArguments()' defined but not used [-Werror=unused-function] BUG=663249, 655300 TBR=rickyz@chromium.org Review-Url: https://codereview.chromium.org/2483253002 Cr-Commit-Position: refs/heads/master@{#430621} [modify] https://crrev.com/6cf1cba773058a061075f2a05c06f7fa61d3143b/content/common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc
,
Nov 14 2016
|
|||
►
Sign in to add a comment |
|||
Comment 1 by bugdroid1@chromium.org
, Nov 7 2016