HardenedBSD / secadm

HardenedBSD Security Administration
http://hardenedbsd.org/
29 stars 7 forks source link

Integriforce locking issue: "Calling uiomove() with the following non-sleepable locks held" #27

Closed lattera closed 8 years ago

lattera commented 8 years ago
[160] Calling uiomove() with the following non-sleepable locks held:
[160] shared rm secadm prison rmlock (secadm prison rmlock) r = 0 (0xfffff80008a16248) locked @ /usr/home/shawn/projects/secadm/kmod/integriforce.c:261
[160] stack backtrace:
[160] #0 0xffffffff80a7f450 at witness_debugger+0x70
[160] #1 0xffffffff80a80767 at witness_warn+0x3d7
[160] #2 0xffffffff80a7818b at uiomove_faultflag+0x5b
[160] #3 0xffffffff820d6d19 at dmu_read_uio_dnode+0xe9
[160] #4 0xffffffff820d6c0b at dmu_read_uio_dbuf+0x3b
[160] #5 0xffffffff8219175e at zfs_freebsd_read+0x86e
[160] #6 0xffffffff80fc35e1 at VOP_READ_APV+0xf1
[160] #7 0xffffffff82436606 at VOP_READ+0x56
[160] #8 0xffffffff8243618e at do_integriforce_check+0x42e
[160] #9 0xffffffff82435c65 at sysctl_integriforce_so+0x525
[160] #10 0xffffffff80a31e8a at sysctl_root_handler_locked+0x8a
[160] #11 0xffffffff80a316d7 at sysctl_root+0x187
[160] #12 0xffffffff80a31c3e at userland_sysctl+0x16e
[160] #13 0xffffffff80a31a94 at sys___sysctl+0x74
[160] #14 0xffffffff80e6fffb at amd64_syscall+0x2db
[160] #15 0xffffffff80e4fbfb at Xfast_syscall+0xfb
lattera commented 8 years ago

It appears @daniloegea had noticed this with but #18. This has been fixed.