Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4304522imm; Mon, 18 Jun 2018 12:34:26 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJpGw8ZN4AoLlTBaLOGS0QywU9a7lSOrlHlf2klAs5ezJYPc1kYE8K8PAQ2bV8auRuMEQv/ X-Received: by 2002:a65:520c:: with SMTP id o12-v6mr12269686pgp.15.1529350466725; Mon, 18 Jun 2018 12:34:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529350466; cv=none; d=google.com; s=arc-20160816; b=ITXcQIR3ZJyv61K/jeFT6v5ZTLHjmikPa/zdNgCX/cZj5so1fNF2NZp7kSW7VjaCk4 Bh6MG+hG66PICtl80CIvvOKeYhz6bgwDdtGmEszFuAyNa9HB0CkuAoHBpVDZz8PE34y+ LQNwAsUlgQQtp4FeDC+qPOpJiDT+71SwTCXcEoeBQnAlov/CBfR9xR1pcsTowJZbIQ0y C3Briyw0hqA9AdT/yhwFHKnTqYan1FBHWkDeoR9Ii7svexVMNF0ZastZtyJJzl3iVLEf N9d5598au4I9Ugqiv6M/95j5gar6+hcW8mqESO0fIFdiLTwVPsI6fLT7fSOjeKhv0+1t SobA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=2zB7LTy44gbYcid4s3hV1Z4a8cFskU97j0PFZjMKnu4=; b=s04vagPKRh7h8dEaa3fC3Ro5JOEWgWszmmztv/qzlJxDq2+10qutxtAvJyPqQ9E6qc HTPU4XQHSp56RAXzai0puKL1aryD5pSVlsGQJvgrhyrAe5opESd2Z8YsY5W2V7buUIfS jsfksCh053CNs8ijC2PvQrz3vXfZP4J8XeJjjjK312mFY8vHu9A2SuRNN1bCUXD66x2b rZHw/o3c69RcNgK76dkJ2MVAPGh9t5kSNflJru7lPdAIn1EOB06gQFM4dYDbkdICvNNB zm4TRpEB7T+NHwuedZ0Ms3hnQdXUSnuj7tDDoiqkUBclcr2xooOIYnOy8ioe7If5LyRH 3OnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@android.com header.s=20161025 header.b=lBdPgCbr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=android.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q9-v6si15261733pll.370.2018.06.18.12.34.13; Mon, 18 Jun 2018 12:34:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@android.com header.s=20161025 header.b=lBdPgCbr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=android.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936580AbeFRTcS (ORCPT + 99 others); Mon, 18 Jun 2018 15:32:18 -0400 Received: from mail-pl0-f45.google.com ([209.85.160.45]:47094 "EHLO mail-pl0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936376AbeFRTcP (ORCPT ); Mon, 18 Jun 2018 15:32:15 -0400 Received: by mail-pl0-f45.google.com with SMTP id 30-v6so9555167pld.13 for ; Mon, 18 Jun 2018 12:32:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=android.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=2zB7LTy44gbYcid4s3hV1Z4a8cFskU97j0PFZjMKnu4=; b=lBdPgCbrI+xQ7f44hTdEfPgcFQ9J+eb+PsP+5BTWr+Sd68Ho49FNFyMrWey4Fi81U5 y/fuxZJwYwGCy2ZxyoJEsfuh4ajN5YYOWIqdAkEf080i3aO/XSM88AzZsqNeHLPM5L4v b21jGlYj5B1pcCvs+CeZlc8SQNLMAwZGkG8xzSPezwqcgfHEG8PdVFkvm1JKQo+mrj3G UCIuyLX3ZYEMWZM3oq5Au0STcwC7mB2UFeq4Mka+nFCfyObIucT04PS7X+0LawkcAurx fmSzrKMnfEkS0Cg5hSeepi+sxi+XCVuVQ1uzNSWS5kek6c3P1+u+M1C4EUnAYFN7ecWy QDQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=2zB7LTy44gbYcid4s3hV1Z4a8cFskU97j0PFZjMKnu4=; b=kAnfoJhnzimQDIXpi3VD9hRaEeS3eC9UpcJSRGBo0/vQHs4cDFEsO5Ls8dW+Qu7Egb jzQs/+Xp/8M+SW3+PV4GZ3d/qw1CINtSM1Gjq+3hXCbZEImFS39o0jjlIoy8PCqu/kVR dgqQs+4cuPcGmRhrbamzG6fB3RSsS3uox9wIuLUThFGsjF4KrzxNKPRuB9C7VjHkWP5S DyKyNOeyOa6SVJRMkICZBEhkc+dOYFjE9qTy9mi7jsWU90ikVZXIlUlKvO3LRo6ghH4S xei4kj39m174yXh5skh6H+jQbdwtM+PT3DINWXrOUsxBREMMgbLzBQqkoVNK+cTIIi6B eMqw== X-Gm-Message-State: APt69E3P+LMVFZyvI8N8dJvnJcFyHJbw1VQDPUYnFzft4DKrIgZDq7r3 bALQjA2FvcgKn6NzqPa9sZBcuQ== X-Received: by 2002:a17:902:a610:: with SMTP id u16-v6mr15429748plq.195.1529350334799; Mon, 18 Jun 2018 12:32:14 -0700 (PDT) Received: from nebulus.mtv.corp.google.com ([2620:0:1000:1611:6077:8eec:bc7e:d0f4]) by smtp.googlemail.com with ESMTPSA id i4-v6sm24023667pfk.133.2018.06.18.12.32.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Jun 2018 12:32:14 -0700 (PDT) Subject: Re: [PATCH v2] overlayfs: caller_credentials option bypass creator_cred To: linux-kernel@vger.kernel.org Cc: Miklos Szeredi , Jonathan Corbet , Vivek Goyal , linux-unionfs@vger.kernel.org, linux-doc@vger.kernel.org References: <20180618192726.67981-1-salyzyn@android.com> From: Mark Salyzyn Message-ID: Date: Mon, 18 Jun 2018 12:32:13 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180618192726.67981-1-salyzyn@android.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/18/2018 12:27 PM, Mark Salyzyn wrote: > All accesses to the lower filesystems reference the creator (mount) > context. This is a security issue as the user context does not > overlay the creator context. been typing overlay far too many times, muscle memory struck! "overlap the creator context." -- Mark