Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp633825imm; Fri, 31 Aug 2018 09:09:35 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYPmlzKDu8iIYxmbfcVflwAXJqgVdCiFUA9p8gbP5UnaJYcCl8BbsJb1CgtgvRFZinpDJZp X-Received: by 2002:a65:5144:: with SMTP id g4-v6mr14673220pgq.21.1535731775390; Fri, 31 Aug 2018 09:09:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535731775; cv=none; d=google.com; s=arc-20160816; b=V+O457KmoaKXAI8Oeqh72oONPupG20oIuXzcJGmeiTqSAKBXPiHtnwLlwnD3D1fSk9 VMlfXOdfELtX0vWk6fac6f90cSBFA3nZpIfm/qcNF5e61tl4NK6YCirr9RAb4dJeDvYj mYlk7aZD/zIcns6LVj/yPG+9JL/db0PE50caA3TyqNrgcNkRc/3PqsNujzAVy9c4a+u+ IndcSzCJRoXsTFLqeL5ZKapZ2/iV7QrWLi6ceOIyeQrzPMc6QA+9RREGmhVLhd7X/q5v wm0aBqicINYKVnkiRK+b0sbPSprwRu7+S9/9ASuZXqn6ruSbVYcUBmb4OcpVHQ7CVHcB H6nQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=65NarGhfN2XCP1e46WQY+ZVm97UzJG2fjE8dK4dfQbA=; b=HWTJ1Krevgwwutoc9tPYnMoGIVscLaCMMh/qwZz99udrth5STigCiMkYanqTZu0Vz/ YVkAB6HcqnhtlFeHR2XnD1+dce0E5rUvo+VVVbUuUjWaCeLIXRHN47QD+9w7BCwscu44 D1DHiZ9V6kA8e+IRlSGcI2M+i+cjBLBdL6Oj/eVxwknUM6s5dLP4VlnYnVZMDOmwYNmn 9bt7/fLXx6xbByPsC8kgfe6jugHF6ZyrdDAJLcNBkQsso8hjchzGcBT96+TSqNS/vXjT W2BZ3C6gL+BgxioFXV0ysrriGRTErVXXv31cbXHvOu+32vu0jXv1bZolnBmM4Fzc3xvq yblw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=j0NXcSyk; 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 d8-v6si10094861pgn.382.2018.08.31.09.09.19; Fri, 31 Aug 2018 09:09:35 -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=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=j0NXcSyk; 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 S1729250AbeHaUPm (ORCPT + 99 others); Fri, 31 Aug 2018 16:15:42 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:44558 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728935AbeHaUPm (ORCPT ); Fri, 31 Aug 2018 16:15:42 -0400 Received: by mail-lf1-f67.google.com with SMTP id g6-v6so10349304lfb.11 for ; Fri, 31 Aug 2018 09:07:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=65NarGhfN2XCP1e46WQY+ZVm97UzJG2fjE8dK4dfQbA=; b=j0NXcSykMPGp8LTlY0GehLqTYDMsyBDpT+xF7uQBjPxdi07CWnV44HlBZ1Uo8PHJiY jKW8DGYN1t1DzmCjxJ4Z6IFIIBq+uNoRqr5E9N+c3Wuui5uv+Xiy83qcU5GuE96zx5LA MO9TUoIjdiOSVciv9Q9+BcW1XNutyXXpgKwQ3+ht3vHqKJHbBwCZ6g7iNxmUBO3LWA2f ONwJYAn9sVm8r92w7DcjrDsu39Sierjv+rgV46JUzZ52X9C9SjHe9Gulcqdie1QmHjMC mOWWIbKw8BT2UhS8vv8l50sn3qQLyd4H5tht/N8iYl0MDGo4d7hBS//4u6m/nwgQYry2 iYRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=65NarGhfN2XCP1e46WQY+ZVm97UzJG2fjE8dK4dfQbA=; b=V5or/6s6Bkz8PnzShSRrMfwpZcBOZLkrDpr2kwLi2RrGC2uNyrjm6+bgKPhdYtEPGP WDqn6nM01YqgU9k+oWUUnSnR3B4u/s5MYRFbLlcRAM+LzWnANPCcjOztccHDAAtmcoex Bui5RbNlITYkQck8K7oWKmn8O/SIbW4tSUGg0SDkDTMK7rPJFvZXaUko9YDWLqVcZ0Wj oiqOnVWRpHhFfy61/XhtC4+jt1nMk+ePrJH57+6Jrw7wsJWfSf+d+NqdNDvbyx9NorCL gq83Xvh9WotOODFvl8w5EWvds1DHNtZOPCS81/XVxdy05iThH60/Ype2QGUXd9sM2wMV NsoQ== X-Gm-Message-State: APzg51By3WB+S4h4Y7RQaLUv2wLwjtbTyHdeOmrhUoj2F9AjmpjWaOAp JO4bN2EtZns5zZA5GDQFPvQWO1zrPD9glBJUA5sy X-Received: by 2002:a19:d78d:: with SMTP id q13-v6mr7567488lfi.27.1535731649491; Fri, 31 Aug 2018 09:07:29 -0700 (PDT) MIME-Version: 1.0 References: <000000000000c178e305749daba4@google.com> <37aec45f-69ad-9705-21f1-64ee4ce4a772@tycho.nsa.gov> In-Reply-To: <37aec45f-69ad-9705-21f1-64ee4ce4a772@tycho.nsa.gov> From: Paul Moore Date: Fri, 31 Aug 2018 12:07:18 -0400 Message-ID: Subject: Re: WARNING in apparmor_secid_to_secctx To: Stephen Smalley , dvyukov@google.com Cc: syzbot+21016130b0580a9de3b5@syzkaller.appspotmail.com, tyhicks@canonical.com, john.johansen@canonical.com, James Morris , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, Serge Hallyn , syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 31, 2018 at 12:01 PM Stephen Smalley wrote: > On 08/29/2018 10:21 PM, Dmitry Vyukov wrote: > > On Wed, Aug 29, 2018 at 7:17 PM, syzbot > > wrote: > >> Hello, > >> > >> syzbot found the following crash on: > >> > >> HEAD commit: 817e60a7a2bb Merge branch 'nfp-add-NFP5000-support' > >> git tree: net-next > >> console output: https://syzkaller.appspot.com/x/log.txt?x=1536d296400000 > >> kernel config: https://syzkaller.appspot.com/x/.config?x=531a917630d2a492 > >> dashboard link: https://syzkaller.appspot.com/bug?extid=21016130b0580a9de3b5 > >> compiler: gcc (GCC) 8.0.1 20180413 (experimental) > >> > >> Unfortunately, I don't have any reproducer for this crash yet. > >> > >> IMPORTANT: if you fix the bug, please add the following tag to the commit: > >> Reported-by: syzbot+21016130b0580a9de3b5@syzkaller.appspotmail.com > > > > Hi John, Tyler, > > > > I've switched syzbot from selinux to apparmor as we discussed on lss: > > https://github.com/google/syzkaller/commit/2c6cb254ae6c06f61e3aba21bb89ffb05b5db946 > > Sorry, does this mean that you are no longer testing selinux via syzbot? > That seems unfortunate. SELinux is default-enabled and used in > Fedora, RHEL and all derivatives (e.g. CentOS), and mandatory in Android > (and seemingly getting some use in ChromeOS now as well, at least for > the Android container and possibly wider), so it seems unwise to drop it > from your testing altogether. I was under the impression that you were > just going to add apparmor to your testing matrix, not drop selinux > altogether. It is also important to note that testing with SELinux enabled but no policy loaded is not going to be very helpful (last we talked that is what syzbot is/was doing). While syzbot did uncover some issues relating to the enabled-no-policy case, those are much less interesting and less relevant than the loaded-policy case. -- paul moore www.paul-moore.com