Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp163382imm; Fri, 10 Aug 2018 09:12:34 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzLaqp98BGyjW3l8sDdCPLsLTv80lToTh27pmhmdjbM6JpXs9nlQixuoN4JxEgBtEkc8x0O X-Received: by 2002:a62:5f82:: with SMTP id t124-v6mr7713348pfb.223.1533917554723; Fri, 10 Aug 2018 09:12:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533917554; cv=none; d=google.com; s=arc-20160816; b=zLPimaRHQiLcm/0BOKkcdZoAH1SnalYwKMqNS6mjMh7Kci6iv4FbsmY49lVytUSzdp AcC9junyqY2qmnVWpVI6WJaa3LffEgS2OvicFW8JwcGCMJFIPCsVtCOW93TeR5DPyugx E3/yogN0xghL0wwlhbmMX5ZpRkmRdNGwzDfMg4pSaENeZELltJFm03dOIslm29c+DFty /zUfyuCgXQG17HoHUx5sBNu76zDdTDXcEVLr7VrAc5KHWN613tBEQ+KrLuBqVoUjhmlC 7ej7Gy+Mz+9kHXVP8xG+p3Av3/f2Wze6r/MWdZRVqp+jdDNP52xAybUp0QkBQYHottsP WLtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=DvAjYDzlWF67PkvtUYx3beV+NF1dDw+oGU+5JGqbzeA=; b=rB5upVUx28ZlhE2WJOkiY9Qs1MUl5CCO7KtYuPIYX+KXs2J16fgcA8PuDYN0dnzR8c evfub1lgx7xuNmIHtskMBMeSAKdCPh4mPUCiVFCz4J+11sQdSEmf+k2JPs6A6yvP3MZ5 VMNXlVF8vKMdgCz1yLImyKr17SR6nTEW96vHqLJDgqlhiFUE8l8A3tqyRy5WuPuWe5sb fyPyCND0WKsrpiooRj0zyYArEaTL8ivfaPz9g49aCmwAN1ebRlxJ0t00TtKxYJk4UTZ6 zC00uJHAXxO/wrR7Oy7t0bJI3hDoljGgv+lvXFpLHfbMwqlqfpK5FT3ZNgeaxNJpc9/e T63Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 4-v6si9053904pla.311.2018.08.10.09.12.19; Fri, 10 Aug 2018 09:12:34 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728208AbeHJRnp (ORCPT + 99 others); Fri, 10 Aug 2018 13:43:45 -0400 Received: from www262.sakura.ne.jp ([202.181.97.72]:40387 "EHLO www262.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727381AbeHJRnp (ORCPT ); Fri, 10 Aug 2018 13:43:45 -0400 Received: from fsav303.sakura.ne.jp (fsav303.sakura.ne.jp [153.120.85.134]) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id w7AFBpjx037665; Sat, 11 Aug 2018 00:11:51 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Received: from www262.sakura.ne.jp (202.181.97.72) by fsav303.sakura.ne.jp (F-Secure/fsigk_smtp/530/fsav303.sakura.ne.jp); Sat, 11 Aug 2018 00:11:51 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/530/fsav303.sakura.ne.jp) Received: from [192.168.1.8] (softbank126074194044.bbtec.net [126.74.194.44]) (authenticated bits=0) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTPSA id w7AFBkAJ037587 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 11 Aug 2018 00:11:50 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Subject: Re: BUG: Mount ignores mount options To: "Eric W. Biederman" , David Howells Cc: viro@zeniv.linux.org.uk, John Johansen , Tejun Heo , selinux@tycho.nsa.gov, Paul Moore , Li Zefan , linux-api@vger.kernel.org, apparmor@lists.ubuntu.com, Casey Schaufler , fenghua.yu@intel.com, Greg Kroah-Hartman , Eric Biggers , linux-security-module@vger.kernel.org, Johannes Weiner , Stephen Smalley , tomoyo-dev-en@lists.sourceforge.jp, cgroups@vger.kernel.org, torvalds@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, "Theodore Y. Ts'o" , Miklos Szeredi References: <153313703562.13253.5766498657900728120.stgit@warthog.procyon.org.uk> <87d0uqpba5.fsf@xmission.com> From: Tetsuo Handa Message-ID: <79f05de7-e600-675d-7bbf-c56faafc3134@i-love.sakura.ne.jp> Date: Sat, 11 Aug 2018 00:11:47 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <87d0uqpba5.fsf@xmission.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/08/10 23:05, Eric W. Biederman wrote: > > There is a serious problem with mount options today that fsopen does not > address. The problem is that mount options are ignored for block based > filesystems, and any other type of filesystem that follows the same > pattern. > > The script below demonstrates this bug. Showing this bug can cause the > ext4 "acl" "quota" and "user_xattr" options to be silently ignored. > > fsopen has my nack until it addresses this issue. > > I don't know if we can fix this in the context of sys_mount. But we if > we are redoing the option parsing of how we mount filesystems this needs > to be fixed before we start worrying about bug compatibility. > > Hopefully this report is simple and clear enough that we can at least > agree on the problem. > > Eric This might be related to a problem that syzbot is failing to reproduce a problem. https://groups.google.com/forum/#!msg/syzkaller-bugs/R03vI7RCVco/0PijCTrcCgAJ syzbot found a reproducer, and the reproducer was working until next-20180803. But the reproducer is failing to reproduce this problem in next-20180806 despite there is no mm related change between next-20180803 and next-20180806. Therefore, I suspect that the reproducer is no longer working as intended. And there was parser change (David Howells' patch) between next-20180803 and next-20180806. I'm waiting for response from David Howells...