From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 863C7C10F11 for ; Mon, 22 Apr 2019 22:52:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 52ED12075A for ; Mon, 22 Apr 2019 22:52:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729998AbfDVWwL (ORCPT ); Mon, 22 Apr 2019 18:52:11 -0400 Received: from namei.org ([65.99.196.166]:35318 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728965AbfDVWwL (ORCPT ); Mon, 22 Apr 2019 18:52:11 -0400 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id x3MMq5NB015582; Mon, 22 Apr 2019 22:52:05 GMT Date: Tue, 23 Apr 2019 08:52:05 +1000 (AEST) From: James Morris To: Tetsuo Handa cc: linux-security-module@vger.kernel.org Subject: Re: [PATCH (resend)] tomoyo: Add a kernel config option for fuzzing testing. In-Reply-To: <49c5ae17-86fb-e4d3-0e06-c205cf324c1d@I-love.SAKURA.ne.jp> Message-ID: References: <1555067094-9861-1-git-send-email-penguin-kernel@I-love.SAKURA.ne.jp> <49c5ae17-86fb-e4d3-0e06-c205cf324c1d@I-love.SAKURA.ne.jp> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: On Mon, 22 Apr 2019, Tetsuo Handa wrote: > James, will you apply this patch and > "[PATCH 3/3] tomoyo: Check address length before reading address family" and > "[PATCH] tomoyo: Change pathname calculation for read-only filesystems." ? On the 2nd one, did we see any feedback from Al? > > On 2019/04/12 20:04, Tetsuo Handa wrote: > > syzbot is reporting kernel panic triggered by memory allocation fault > > injection before loading TOMOYO's policy [1]. To make the fuzzing tests > > useful, we need to assign a profile other than "disabled" (no-op) mode. > > Therefore, let's allow syzbot to load TOMOYO's built-in policy for > > "learning" mode using a kernel config option. This option must not be > > enabled for kernels built for production system, for this option also > > disables domain/program checks when modifying policy configuration via > > /sys/kernel/security/tomoyo/ interface. > > > > [1] https://syzkaller.appspot.com/bug?extid=29569ed06425fcf67a95 > > > > Reported-by: syzbot > > Reported-by: syzbot > > Reported-by: syzbot > > Signed-off-by: Tetsuo Handa > > --- > > security/tomoyo/Kconfig | 10 ++++++++++ > > security/tomoyo/common.c | 13 ++++++++++++- > > 2 files changed, 22 insertions(+), 1 deletion(-) > -- James Morris