From owner-freebsd-fs@freebsd.org Fri Sep 27 10:11:37 2019 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DF310FDB69 for ; Fri, 27 Sep 2019 10:11:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 46fndP5gHmz4d9x for ; Fri, 27 Sep 2019 10:11:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id C0AD4FDB68; Fri, 27 Sep 2019 10:11:37 +0000 (UTC) Delivered-To: fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C06BCFDB67 for ; Fri, 27 Sep 2019 10:11:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46fndP4WwBz4d9w for ; Fri, 27 Sep 2019 10:11:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7E963F48F for ; Fri, 27 Sep 2019 10:11:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x8RABbc2096403 for ; Fri, 27 Sep 2019 10:11:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x8RABbg7096402 for fs@FreeBSD.org; Fri, 27 Sep 2019 10:11:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 240853] Any moderate I/O panics the kernel when MAC_BIBA + multilabel is enabled Date: Fri, 27 Sep 2019 10:11:37 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pho@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2019 10:11:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240853 Peter Holm changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pho@FreeBSD.org --- Comment #2 from Peter Holm --- Just loading mac_mls and rebooting causes: root@x4:~ # kldstat Id Refs Address Size Name 1 4 0x800000 1a39ed4 kernel 2 1 0x223a000 d364 mac_mls.ko root@x4:~ # init 6 panic: mac_label_get: NULL label cpuid =3D 1 time =3D 1569578887 KDB: stack backtrace: db_trace_self_wrapper(e6d46d,1bf0e68,0,221cf7d4,bd8ea1,...) at db_trace_self_wrapper+0x2a/frame 0x221cf7a8 kdb_backtrace(d,1,1,0,0,...) at kdb_backtrace+0x2e/frame 0x221cf808 vpanic(16350f7,221cf850,221cf850,221cf850,126c8ad,...) at vpanic+0x121/frame 0x221cf830 panic(16350f7,221cf864,223e183,0,0,...) at panic+0x14/frame 0x221cf844 mac_label_get(0,0,21994000,221cf89c,1271f07,...) at mac_label_get+0x1d/frame 0x221cf850 mls_destroy_label(0) at mls_destroy_label+0x13/frame 0x221cf864 mac_socket_destroy(21994000) at mac_socket_destroy+0xd7/frame 0x221cf89c sodealloc(21994000) at sodealloc+0x96/frame 0x221cf8cc soclose(21994000) at soclose+0x3d2/frame 0x221cf904 soo_close(189f60a8,22619000) at soo_close+0x1f/frame 0x221cf910 _fdrop(189f60a8,22619000) at _fdrop+0x18/frame 0x221cf928 closef(189f60a8,22619000) at closef+0x1f7/frame 0x221cf97c fdescfree_fds(1) at fdescfree_fds+0xc8/frame 0x221cf9a4 fdescfree(22619000) at fdescfree+0x429/frame 0x221cfa0c exit1(22619000,0,f,17fffc80,21d30b20,...) at exit1+0x473/frame 0x221cfa3c sigexit(22619000,f,225d9ab8,0,225d9ab8,...) at sigexit+0xc32/frame 0x221cfc= 08 postsig(f) at postsig+0x2ac/frame 0x221cfca4 ast(221cfce8,3b,3b,3b,ffbfe638,...) at ast+0x526/frame 0x221cfcdc zone_mls(0,d4460163,0,d4461163,0,...) at 0xffc055ad/frame 0xffbfe00c (null)() at 0 KDB: enter: panic [ thread pid 745 tid 100189 ] Stopped at kdb_enter+0x35: movl $0,kdb_why db> x/s version version: FreeBSD 13.0-CURRENT #0 r352789: Fri Sep 27 09:35:31 CEST 2019\012 pho@x4.osted.lan:/usr/src/sys/i386/compile/PHO\012 db> --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=