witness: lock_object uninitialized: 0xffff800000de8028
Starting stack trace...
witness_checkorder(ffff800000de8028,9,0) at witness_checkorder+0x133 witness_debugger sys/kern/subr_witness.c:2502 [inline]
witness_checkorder(ffff800000de8028,9,0) at witness_checkorder+0x133 sys/kern/subr_witness.c:772
rw_enter_write(ffff800000de8018) at rw_enter_write+0x5b sys/kern/kern_rwlock.c:128
unveil_delete_names(ffff800000de8000) at unveil_delete_names+0x30 unvname_rbt_RBT_MIN sys/kern/kern_unveil.c:95 [inline]
unveil_delete_names(ffff800000de8000) at unveil_delete_names+0x30 sys/kern/kern_unveil.c:105
unveil_destroy(ffff80002951b620) at unveil_destroy+0xad sys/kern/kern_unveil.c:186
exit1(ffff80002b34c008,0,0,1) at exit1+0x3d5 sys/kern/kern_exit.c:225
sys_exit(ffff80002b34c008,ffff80002e44dbb0,ffff80002e44dc10) at sys_exit+0x16 sys/kern/kern_exit.c:95
syscall(ffff80002e44dc80) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff80002e44dc80) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffeb710, count: 249
End of stack trace.
Stopped at db_enter+0x18: addq $0x8,%rsp
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
the kernel did not panic
ddb{0}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
witness_checkorder(ffff800000de8028,9,0) at witness_checkorder+0x138 witness_debugger sys/kern/subr_witness.c:2502 [inline]
witness_checkorder(ffff800000de8028,9,0) at witness_checkorder+0x138 sys/kern/subr_witness.c:772
rw_enter_write(ffff800000de8018) at rw_enter_write+0x5b sys/kern/kern_rwlock.c:128
unveil_delete_names(ffff800000de8000) at unveil_delete_names+0x30 unvname_rbt_RBT_MIN sys/kern/kern_unveil.c:95 [inline]
unveil_delete_names(ffff800000de8000) at unveil_delete_names+0x30 sys/kern/kern_unveil.c:105
unveil_destroy(ffff80002951b620) at unveil_destroy+0xad sys/kern/kern_unveil.c:186
exit1(ffff80002b34c008,0,0,1) at exit1+0x3d5 sys/kern/kern_exit.c:225
sys_exit(ffff80002b34c008,ffff80002e44dbb0,ffff80002e44dc10) at sys_exit+0x16 sys/kern/kern_exit.c:95
syscall(ffff80002e44dc80) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff80002e44dc80) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffeb710, count: -9
ddb{0}> show registers
rdi 0
rsi 0
rbp 0xffff80002e44d950
rbx 0x3
rdx 0
rcx 0
rax 0xffff80002b34c008
r8 0xffff80002e44d8f0
r9 0x8080808080808080
r10 0xaaf25eddee16f577
r11 0x9535ba28d813872c
r12 0xffff800000de8001
r13 0xffff800000de8028
r14 0
r15 0
rip 0xffffffff8242cb68 db_enter+0x18
cs 0x8
rflags 0x246
rsp 0xffff80002e44d940
ss 0x10
db_enter+0x18: addq $0x8,%rsp
ddb{0}> show proc
PROC (syz-executor.2) pid=149458 stat=onproc
flags process=1008<EXITING,SINGLEEXIT> proc=2000<WEXIT>
pri=32, usrpri=86, nice=20
forw=0xffffffffffffffff, list=0xffff800021158548,0xffffffff82adb760
process=0xffff80002951b620 user=0xffff80002e448000, vmspace=0xfffffd807effde60
estcpu=36, cpticks=19, pctcpu=0.3
user=0, sys=7, intr=0
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
4784 95290 38578 0 3 0x82 piperd syz-executor.3
51899 107068 1 0 2 0x100083 getty
82577 258702 38578 0 3 0x82 piperd syz-executor.5
45874 134232 38578 0 3 0x82 piperd syz-executor.6
63967 86369 38578 0 3 0x82 piperd syz-executor.1
8560 433828 38578 0 2 0x482 syz-executor.2
31368 40916 38578 0 3 0x82 piperd syz-executor.4
52510 423078 38578 0 3 0x82 piperd syz-executor.7
20492 66813 0 0 3 0x14200 acct acct
94452 235284 0 0 3 0x14200 bored sosplice
47431 299011 38578 0 3 0x82 piperd syz-executor.0
38578 494889 52048 0 3 0x82 thrsleep syz-fuzzer
38578 58702 52048 0 3 0x4000082 thrsleep syz-fuzzer
38578 506157 52048 0 3 0x4000082 thrsleep syz-fuzzer
38578 378533 52048 0 3 0x4000082 thrsleep syz-fuzzer
38578 489621 52048 0 3 0x4000082 thrsleep syz-fuzzer
38578 213830 52048 0 3 0x4000082 kqread syz-fuzzer
38578 89828 52048 0 3 0x4000082 thrsleep syz-fuzzer
38578 312059 52048 0 3 0x4000082 thrsleep syz-fuzzer
38578 250169 52048 0 3 0x4000082 thrsleep syz-fuzzer
52048 30276 80710 0 3 0x10008a sigsusp ksh
80710 423278 22526 0 3 0x9a kqread sshd
22526 449551 1 0 3 0x88 kqread sshd
49536 404944 48750 74 3 0x1100092 bpf pflogd
48750 251840 1 0 3 0x80 netio pflogd
55580 56361 37550 73 2 0x1100090 syslogd
37550 461768 1 0 3 0x100082 netio syslogd
71105 501205 1 0 3 0x100080 kqread resolvd
35927 1085 70767 77 3 0x100092 kqread dhcpleased
36441 147019 70767 77 3 0x100092 kqread dhcpleased
70767 21738 1 0 3 0x80 kqread dhcpleased
22981 682 0 0 3 0x14200 bored smr
80239 237847 0 0 2 0x14200 zerothread
37205 22668 0 0 3 0x14200 aiodoned aiodoned
45648 147050 0 0 3 0x14200 syncer update
64347 76088 0 0 3 0x14200 cleaner cleaner
79233 220098 0 0 3 0x14200 reaper reaper
75273 332896 0 0 3 0x14200 pgdaemon pagedaemon
69788 192289 0 0 3 0x14200 bored viomb
45171 316915 0 0 3 0x40014200 acpi0 acpi0
14341 139447 0 0 7 0x40014200 idle1
40162 12535 0 0 3 0x14200 bored softnet
76997 295263 0 0 3 0x14200 bored softnet
96470 270473 0 0 3 0x14200 bored softnet
2592 37240 0 0 3 0x14200 bored softnet
6133 280875 0 0 3 0x14200 bored systqmp
44366 396251 0 0 3 0x14200 bored systq
82964 31800 0 0 2 0x40014200 softclock
82759 120941 0 0 3 0x40014200 idle0
1 313979 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{0}> show all locks
ddb{0}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 10220 6530K 7019K 78643K 27630 0
pcb 13 16K 18K 78643K 1562 0
rtable 171 6K 13K 78643K 4403 0
ifaddr 83 19K 23K 78643K 1672 0
sysctl 2 0K 0K 78643K 8 0
counters 52 35K 36K 78643K 320 0
ioctlops 0 0K 8K 78643K 3576 0
iov 0 0K 28K 78643K 892 0
mount 1 1K 1K 78643K 1 0
log 0 0K 0K 78643K 5 0
vnodes 1365 85K 86K 78643K 6348 0
UFS quota 1 32K 32K 78643K 1 0
UFS mount 5 36K 36K 78643K 5 0
shm 2 1K 5K 78643K 88 0
VM map 2 1K 1K 78643K 2 0
sem 10 1K 1K 78643K 16 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1697 195K 286K 78643K 12548 0
file desc 10 33K 93K 78643K 10406 0
sigio 0 0K 0K 78643K 97 0
proc 78 115K 115K 78643K 1977 0
subproc 104 6K 6K 78643K 564 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
ip_moptions 0 0K 0K 78643K 475 0
in_multi 64 4K 6K 78643K 702 0
ether_multi 1 0K 0K 78643K 50 0
mrt 1 0K 0K 78643K 61 0
ISOFS mount 1 32K 32K 78643K 1 0
MSDOSFS mount 1 16K 16K 78643K 1 0
ttys 223 996K 996K 78643K 223 0
exec 0 0K 2K 78643K 2755 0
pfkey data 0 0K 0K 78643K 10 0
tdb 3 0K 0K 78643K 3 0
pagedep 1 8K 8K 78643K 1 0
inodedep 1 32K 32K 78643K 1 0
newblk 1 0K 0K 78643K 1 0
VM swap 7 26K 26K 78643K 7 0
UVM amap 428 849K 850K 78643K 62788 0
UVM aobj 131 4K 4K 78643K 131 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
ip6_options 0 0K 0K 78643K 574 0
NDP 13 0K 2K 78643K 251 0
temp 138 4736K 21134K 78643K 105056 0
kqueue 12 18K 28K 78643K 664 0
SYN cache 2 16K 16K 78643K 2 0
ddb{0}> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache 128 22 0 0 1 0 1 1 0 8 0
rtpcb 120 865 0 862 8 7 1 5 0 8 0
rtentry 112 661 0 590 4 1 3 4 0 8 0
unpcb 136 6106 0 6091 56 55 1 6 0 8 0
syncache 296 38 0 38 10 10 0 1 0 8 0
tcpqe 32 9 0 9 6 6 0 1 0 8 0
tcpcb 736 6225 0 6220 125 118 7 20 0 8 5
arp 120 101 0 88 1 0 1 1 0 8 0
inpcb 312 18673 0 18662 106 99 7 16 0 8 5
ip6q 72 2 0 2 1 1 0 1 0 8 0
ip6af 40 6 0 6 1 1 0 1 0 8 0
nd6 48 151 0 137 1 0 1 1 0 8 0
pkpcb 40 93 0 93 4 4 0 1 0 8 0
kcovpl 48 43 0 35 1 0 1 1 0 8 0
ppxss 1248 48 0 48 12 12 0 1 0 8 0
pfstscr 40 58 0 58 6 6 0 1 0 8 0
pffrag 232 23 0 22 5 4 1 1 0 482 0
pffrnode 88 23 0 22 5 4 1 1 0 8 0
pffrent 40 231 0 230 5 4 1 1 0 8 0
pfosfp 40 1439 0 1015 5 0 5 5 0 8 0
pfosfpen 112 1439 0 723 21 0 21 21 0 8 0
pfrktable 1344 1169 0 1169 8 8 0 2 0 8 0
pftag 88 10 0 6 1 0 1 1 0 8 0
pfqueue 264 9 0 9 3 3 0 1 0 8 0
pfstitem 24 92 0 90 1 0 1 1 0 8 0
pfstkey 112 208 0 206 2 1 1 2 0 8 0
pfstate 336 148 0 146 5 4 1 4 0 8 0
pfrule 1360 561 0 560 11 10 1 5 0 8 0
rttmr 64 23 0 23 5 5 0 1 0 8 0
art_heap8 4096 2 0 1 2 1 1 2 0 8 0
art_heap4 256 2838 0 2480 40 14 26 29 0 8 1
art_table 32 2840 0 2481 4 0 4 4 0 8 0
art_node 16 656 0 593 1 0 1 1 0 8 0
sysvmsgpl 40 11 0 2 1 0 1 1 0 8 0
semupl 112 4 0 4 1 1 0 1 0 8 0
semapl 112 8 0 0 1 0 1 1 0 8 0
shmpl 112 128 0 0 4 0 4 4 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 14244 0 12780 93 0 93 93 0 8 0
ffsino 272 14244 0 12780 99 0 99 99 0 8 0
nchpl 144 27845 0 26207 63 0 63 63 0 8 0
uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0
vnodes 224 5926 0 0 349 0 349 349 0 8 0
namei 1024 104211 0 104211 9 6 3 3 0 8 3
percpumem 16 172 0 134 1 0 1 1 0 8 0
vcpupl 2048 151 0 0 19 0 19 19 0 8 0
vmpool 560 157 0 6 11 0 11 11 0 8 0
pfiaddrpl 120 341 0 341 5 5 0 1 0 8 0
kstatmem 264 294 0 268 4 1 3 3 0 8 0
scsiplug 72 3 0 3 1 1 0 1 0 8 0
scxspl 216 81101 0 81101 20 19 1 8 0 8 1
plimitpl 152 1187 0 1172 1 0 1 1 0 8 0
sigapl 424 10663 0 10620 10 2 8 8 0 8 1
futexpl 64 97117 0 97117 2 1 1 1 0 8 1
knotepl 120 584 0 0 11 0 11 11 0 8 0
kqueuepl 216 2235 0 2227 39 34 5 5 0 8 4
pipepl 336 1500 0 1472 43 40 3 13 0 8 0
fdescpl 496 10624 0 10601 5 1 4 5 0 8 0
filepl 152 76485 0 76247 112 94 18 20 0 8 8
lockfpl 104 2294 0 2292 5 4 1 2 0 8 0
lockfspl 48 639 0 637 1 0 1 1 0 8 0
sessionpl 144 61 0 44 1 0 1 1 0 8 0
pgrppl 48 105 0 88 1 0 1 1 0 8 0
ucredpl 96 6039 0 6026 1 0 1 1 0 8 0
zombiepl 144 10868 0 10867 4 3 1 1 0 8 0
processpl 1064 10663 0 10620 5 0 5 5 0 8 0
procpl 672 29858 0 29807 21 13 8 9 0 8 2
srpgc 96 56 0 56 12 11 1 1 0 8 1
sosppl 168 79 0 79 13 13 0 1 0 8 0
sockpl 480 25750 0 25724 333 321 12 29 0 8 8
mcl64k 65536 25 0 0 4 1 3 3 0 8 0
mcl16k 16384 17 0 0 3 0 3 3 0 8 0
mcl12k 12288 17 0 0 2 0 2 2 0 8 0
mcl9k 9216 9 0 0 1 0 1 1 0 8 0
mcl8k 8192 17 0 0 3 0 3 3 0 8 0
mcl4k 4096 17 0 0 3 0 3 3 0 8 0
mcl2k2 2112 5 0 0 1 0 1 1 0 8 0
mcl2k 2048 438 0 0 39 2 37 38 0 8 1
mtagpl 96 784 0 0 15 2 13 13 0 8 0
mbufpl 256 2791 0 0 156 0 156 156 0 8 0
bufpl 288 18569 0 12240 453 0 453 453 0 8 0
anonpl 24 2050216 0 2033186 236 117 119 186 0 186 0
amapchunkpl 152 185220 0 184522 106 74 32 57 0 158 0
amappl16 200 25583 0 24971 96 62 34 46 0 8 0
amappl15 192 2547 0 2543 1 0 1 1 0 8 0
amappl14 184 27 0 25 1 0 1 1 0 8 0
amappl13 176 1068 0 1066 1 0 1 1 0 8 0
amappl12 168 1877 0 1871 1 0 1 1 0 8 0
amappl11 160 2094 0 2072 4 2 2 2 0 8 1
amappl10 152 1304 0 1296 1 0 1 1 0 8 0
amappl9 144 1179 0 1173 1 0 1 1 0 8 0
amappl8 136 2290 0 2190 4 0 4 4 0 8 0
amappl7 128 1177 0 1163 1 0 1 1 0 8 0
amappl6 120 1071 0 1052 2 1 1 2 0 8 0
amappl5 112 9765 0 9747 1 0 1 1 0 8 0
amappl4 104 4808 0 4775 2 0 2 2 0 8 0
amappl3 96 33273 0 33231 2 0 2 2 0 8 0
amappl2 88 12260 0 12203 3 0 3 3 0 8 0
amappl1 80 252763 0 252195 24 9 15 20 0 8 0
amappl 88 61483 0 61270 7 1 6 6 0 92 0
dma4096 4096 1 0 1 1 1 0 1 0 8 0
dma1024 1024 1 0 0 1 0 1 1 0 8 0
dma256 256 6 0 6 1 1 0 1 0 8 0
dma128 128 253 0 253 1 1 0 1 0 8 0
dma64 64 6 0 6 1 1 0 1 0 8 0
dma32 32 7 0 7 1 1 0 1 0 8 0
dma16 16 18 0 17 1 0 1 1 0 8 0
aobjpl 72 130 0 0 3 0 3 3 0 8 0
uaddrrnd 24 10781 0 10606 2 0 2 2 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 10781 0 10606 2 0 2 2 0 8 0
vmmpekpl 168 80759 0 80673 5 0 5 5 0 8 0
vmmpepl 168 1032712 0 1030163 230 90 140 145 0 357 0
vmsppl 368 10780 0 10606 18 1 17 17 0 8 0
rwobjpl 56 255167 0 247427 118 6 112 114 0 8 0
pdppl 4096 21569 0 21363 569 349 220 220 0 8 14
pvpl 32 4065385 0 4044516 432 238 194 322 0 265 0
pmappl 248 10780 0 10606 13 1 12 12 0 8 0
extentpl 40 58 0 38 1 0 1 1 0 8 0
phpool 112 1806 0 647 34 0 34 34 0 8 0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
witness_checkorder(ffff800000de8028,9,0) at witness_checkorder+0x138 witness_debugger sys/kern/subr_witness.c:2502 [inline]
witness_checkorder(ffff800000de8028,9,0) at witness_checkorder+0x138 sys/kern/subr_witness.c:772
rw_enter_write(ffff800000de8018) at rw_enter_write+0x5b sys/kern/kern_rwlock.c:128
unveil_delete_names(ffff800000de8000) at unveil_delete_names+0x30 unvname_rbt_RBT_MIN sys/kern/kern_unveil.c:95 [inline]
unveil_delete_names(ffff800000de8000) at unveil_delete_names+0x30 sys/kern/kern_unveil.c:105
unveil_destroy(ffff80002951b620) at unveil_destroy+0xad sys/kern/kern_unveil.c:186
exit1(ffff80002b34c008,0,0,1) at exit1+0x3d5 sys/kern/kern_exit.c:225
sys_exit(ffff80002b34c008,ffff80002e44dbb0,ffff80002e44dc10) at sys_exit+0x16 sys/kern/kern_exit.c:95
syscall(ffff80002e44dc80) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff80002e44dc80) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffeb710, count: -9
ddb{0}> machine ddbcpu 1
Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp
ddb{1}> trace
x86_ipi_db(ffff800020cd8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206
sched_idle(ffff800020cd8ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178
end trace frame: 0x0, count: -5