[Bug 240853] Any moderate I/O panics the kernel when MAC_BIBA + multilabel is enabled

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 27 10:11:37 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240853

Peter Holm <pho at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pho at FreeBSD.org

--- Comment #2 from Peter Holm <pho at FreeBSD.org> ---
Just loading mac_mls and rebooting causes:
root at x4:~ # kldstat
Id Refs Address        Size Name
 1    4   0x800000  1a39ed4 kernel
 2    1  0x223a000     d364 mac_mls.ko
root at x4:~ # init 6
panic: mac_label_get: NULL label
cpuid = 1
time = 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 0x221cfc08
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 at x4.osted.lan:/usr/src/sys/i386/compile/PHO\012
db>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.


More information about the freebsd-fs mailing list