assert "ps->ps_uvncount == NUM" failed in kern_unveil.c (4)

0 views
Skip to first unread message

syzbot

unread,
Feb 23, 2024, 8:23:25 PMFeb 23
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: bbad591d07d4 Prepare to provide X509_STORE_get1_objects()
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=13c76b72180000
kernel config: https://syzkaller.appspot.com/x/.config?x=7058272de1526588
dashboard link: https://syzkaller.appspot.com/bug?extid=7ff0cc778d7b5ae6834f

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/ff7cafea925d/disk-bbad591d.raw.xz
bsd.gdb: https://storage.googleapis.com/syzbot-assets/a1bef00fede7/bsd-bbad591d.gdb.xz
kernel image: https://storage.googleapis.com/syzbot-assets/5183c4dd6fef/kernel-bbad591d.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+7ff0cc...@syzkaller.appspotmail.com

panic: kernel diagnostic assertion "ps->ps_uvncount == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_unveil.c", line 188
Stopped at db_enter+0x1c: addq $0x8,%rsp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff828a533b) at panic+0x17b sys/kern/subr_prf.c:198
__assert(ffffffff8292f3e9,ffffffff82931a65,bc,ffffffff828bf4d7) at __assert+0x29 sys/kern/subr_prf.c:157
unveil_destroy(ffff800033f12c88) at unveil_destroy+0x1a4 sys/kern/kern_unveil.c:188
exit1(ffff80002a235aa0,0,0,1) at exit1+0x3d8 sys/kern/kern_exit.c:218
sys_exit(ffff80002a235aa0,ffff800037243130,ffff800037243080) at sys_exit+0x1a sys/kern/kern_exit.c:89
syscall(ffff800037243130) at syscall+0x533 mi_syscall sys/sys/syscall_mi.h:183 [inline]
syscall(ffff800037243130) at syscall+0x533 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7e7e7e3d4ca0, count: 7
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports. Insufficient info makes it difficult to find and fix bugs.
ddb{0}>
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
*cpu0: kernel diagnostic assertion "ps->ps_uvncount == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_unveil.c", line 188
ddb{0}> trace
db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff828a533b) at panic+0x17b sys/kern/subr_prf.c:198
__assert(ffffffff8292f3e9,ffffffff82931a65,bc,ffffffff828bf4d7) at __assert+0x29 sys/kern/subr_prf.c:157
unveil_destroy(ffff800033f12c88) at unveil_destroy+0x1a4 sys/kern/kern_unveil.c:188
exit1(ffff80002a235aa0,0,0,1) at exit1+0x3d8 sys/kern/kern_exit.c:218
sys_exit(ffff80002a235aa0,ffff800037243130,ffff800037243080) at sys_exit+0x1a sys/kern/kern_exit.c:89
syscall(ffff800037243130) at syscall+0x533 mi_syscall sys/sys/syscall_mi.h:183 [inline]
syscall(ffff800037243130) at syscall+0x533 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7e7e7e3d4ca0, count: -8
ddb{0}> show registers
rdi 0
rsi 0x1
rbp 0xffff800037242e60
rbx 0xffffffff82c99cb7 cpu_info_full_primary+0x2cb7
rdx 0
rcx 0xffff80002a235aa0
rax 0xffffffff82c98ff0 cpu_info_full_primary+0x1ff0
r8 0
r9 0x8080808080808080
r10 0x8a9e5f084e16fa71
r11 0x2a5042365d2a1e67
r12 0xffffffff82c99ab8 cpu_info_full_primary+0x2ab8
r13 0
r14 0
r15 0x1
rip 0xffffffff81aa702c db_enter+0x1c
cs 0x8
rflags 0x246
rsp 0xffff800037242e50
ss 0x10
db_enter+0x1c: addq $0x8,%rsp
ddb{0}> show proc
PROC (syz-executor.7) tid=63231 pid=75241 tcnt=1 stat=onproc
flags process=1008<EXITING,SINGLEEXIT> proc=2000<WEXIT>
runpri=32, usrpri=86, slppri=32, nice=20
wchan=0x0, wmesg=, ps_single=0xffff80002a235aa0
forw=0xffffffffffffffff, list=0xffff80002a18aaa0,0xffff80002a236d48
process=0xffff800033f12c88 user=0xffff80003723e000, vmspace=0xfffffd8066e748e0
estcpu=36, cpticks=14, pctcpu=0.0, user=0, sys=1, intr=0
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
96007 448334 15497 0 2 0 syz-executor.6
39146 380605 84932 0 2 0 syz-executor.2
95032 498801 73873 0 2 0 syz-executor.1
95032 3177 73873 0 2 0x4000000 syz-executor.1
405 329565 73024 0 2 0 syz-executor.5
405 413878 73024 0 2 0x4000000 syz-executor.5
405 84715 73024 0 2 0x4000000 syz-executor.5
405 455485 73024 0 2 0x4000000 syz-executor.5
15497 127628 53006 0 2 0x482 syz-executor.6
73873 399212 53006 0 3 0x82 nanoslp syz-executor.1
73024 124142 53006 0 3 0x82 nanoslp syz-executor.5
75830 423757 1 0 3 0x100083 ttyin getty
84932 161725 53006 0 3 0x82 nanoslp syz-executor.2
23290 322855 53006 0 2 0x2 syz-executor.3
73066 24203 53006 0 2 0x2 syz-executor.4
51267 451031 53006 0 2 0x482 syz-executor.7
68150 475274 53006 0 2 0x2 syz-executor.0
63631 76326 0 0 3 0x14200 bored sosplice
53006 175695 26547 0 3 0x2000082 thrsleep syz-fuzzer
53006 14434 26547 0 3 0x6000082 thrsleep syz-fuzzer
53006 43292 26547 0 3 0x6000082 wait syz-fuzzer
53006 188014 26547 0 3 0x6000082 kqread syz-fuzzer
53006 255080 26547 0 3 0x6000082 wait syz-fuzzer
53006 487809 26547 0 3 0x6000082 thrsleep syz-fuzzer
53006 348815 26547 0 3 0x6000082 thrsleep syz-fuzzer
53006 288072 26547 0 3 0x6000082 thrsleep syz-fuzzer
53006 375592 26547 0 3 0x6000082 wait syz-fuzzer
53006 79821 26547 0 3 0x6000082 wait syz-fuzzer
53006 134529 26547 0 3 0x6000082 thrsleep syz-fuzzer
53006 311146 26547 0 3 0x6000082 wait syz-fuzzer
53006 515670 26547 0 3 0x6000082 thrsleep syz-fuzzer
53006 80691 26547 0 3 0x6000082 thrsleep syz-fuzzer
53006 134332 26547 0 3 0x6000082 wait syz-fuzzer
53006 488197 26547 0 3 0x6000082 wait syz-fuzzer
53006 297667 26547 0 3 0x6000082 wait syz-fuzzer
26547 5792 75865 0 3 0x10008a sigsusp ksh
75865 285755 66936 0 3 0x9a kqread sshd
66936 496368 1 0 3 0x88 kqread sshd
53590 294722 18123 74 3 0x1100092 bpf pflogd
18123 58502 1 0 3 0x80 netio pflogd
88546 313074 84344 73 3 0x1100090 kqread syslogd
84344 406147 1 0 3 0x100082 netio syslogd
70896 506785 1 0 3 0x100080 kqread resolvd
43155 494221 0 0 3 0x14200 bored smr
48070 333026 0 0 2 0x14200 zerothread
64738 132235 0 0 3 0x14200 aiodoned aiodoned
85558 497085 0 0 3 0x14200 syncer update
84135 155180 0 0 3 0x14200 cleaner cleaner
50868 108445 0 0 3 0x14200 reaper reaper
10405 167803 0 0 3 0x14200 pgdaemon pagedaemon
63535 445245 0 0 3 0x14200 bored viomb
21475 152938 0 0 3 0x40014200 acpi0 acpi0
34597 450632 0 0 7 0x40014200 idle1
43884 63312 0 0 3 0x14200 bored softnet3
94492 251075 0 0 3 0x14200 bored softnet2
9550 429928 0 0 3 0x14200 bored softnet1
65069 332774 0 0 3 0x14200 bored softnet0
22830 495477 0 0 3 0x14200 bored systqmp
63301 425732 0 0 3 0x14200 bored systq
2994 199768 0 0 3 0x14200 tmoslp softclockmp
38812 382824 0 0 2 0x40014200 softclock
99966 368901 0 0 3 0x40014200 idle0
1 285294 0 0 3 0x80082 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{0}> show all locks
Process 96007 (syz-executor.6) thread 0xffff80002a23e010 (448334)
Process 23290 (syz-executor.3) thread 0xffff80002a23d570 (322855)
Process 73066 (syz-executor.4) thread 0xffff80002a23d2c8 (24203)
Process 68150 (syz-executor.0) thread 0xffff80002a23dd68 (475274)
ddb{0}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 10229 6510K 8607K 166960K 23020 0
pcb 15 22K 24K 166960K 3701 0
rtable 225 15K 16K 166960K 7487 0
pf 37 10K 11K 166960K 782 0
ifaddr 112 35K 37K 166960K 904 0
ifgroup 64 2K 3K 166960K 1330 0
sysctl 4 1K 5K 166960K 17 0
counters 68 36K 37K 166960K 798 0
ioctlops 0 0K 4K 166960K 3883 0
iov 0 0K 28K 166960K 4592 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1719 107K 108K 166960K 14389 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 1K 9K 166960K 490 0
VM map 2 1K 1K 166960K 2 0
sem 12 0K 0K 166960K 4932 0
dirhash 12 2K 3K 166960K 315 0
ACPI 1697 195K 286K 166960K 12548 0
file desc 17 61K 89K 166960K 44117 0
sigio 0 0K 0K 166960K 1727 0
proc 96 93K 128K 166960K 6604 0
subproc 104 6K 8K 166960K 1933 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 16K 16K 166960K 1 0
ip_moptions 0 0K 0K 166960K 3900 0
in_multi 88 6K 7K 166960K 2093 0
ether_multi 1 0K 0K 166960K 76 0
mrt 1 0K 0K 166960K 37 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 277 1235K 1235K 166960K 277 0
exec 0 0K 1K 166960K 8175 0
pfkey data 0 0K 0K 166960K 142 0
tdb 3 0K 0K 166960K 3 0
VM swap 8 62K 64K 166960K 10 0
UVM amap 714 1785K 1791K 166960K 408012 0
UVM aobj 131 4K 4K 166960K 135 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 0 0K 1K 166960K 2122 0
NDP 14 0K 1K 166960K 669 0
temp 74 6772K 137848K 166960K 516484 0
kqueue 6 10K 33K 166960K 3228 0
SYN cache 2 36K 44K 166960K 3 0
ddb{0}> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache 128 24 0 0 1 0 1 1 0 8 0
rtpcb 120 2852 0 2851 31 30 1 4 0 8 0
rtentry 112 2111 0 2011 6 2 4 4 0 8 0
unpcb 144 39637 0 39629 413 412 1 13 0 8 0
syncache 336 400 0 400 82 82 0 1 0 8 0
sackhl 24 3 33 3 1 1 0 1 0 8 0
tcpqe 32 648 0 648 59 59 0 1 0 8 0
tcpcb 808 14078 0 14060 417 413 4 16 0 8 0
arp 120 475 0 459 1 0 1 1 0 8 0
inpcb 392 36946 0 36928 670 666 4 17 0 8 0
nd6 136 456 0 434 1 0 1 1 0 8 0
pkpcb 40 253 0 253 29 29 0 1 0 8 0
kcovpl 48 144 0 136 1 0 1 1 0 8 0
ppxss 1168 105 0 105 32 32 0 1 0 8 0
pffrag 232 264 0 260 11 10 1 1 0 482 0
pffrnode 88 261 0 257 11 10 1 1 0 8 0
pffrent 40 729 0 725 12 11 1 1 0 8 0
pfosfp 40 1428 0 1005 5 0 5 5 0 8 0
pfosfpen 112 1428 0 714 21 0 21 21 0 8 0
pfstitem 24 1356 0 1328 1 0 1 1 0 8 0
pfstkey 128 1436 0 1408 5 3 2 2 0 8 0
pfstate 376 1436 0 1408 26 22 4 6 0 8 1
pfrule 1344 21 0 16 2 1 1 2 0 8 0
art_heap8 4096 5 0 4 3 2 1 3 0 8 0
art_heap4 256 7325 0 6904 80 52 28 33 0 8 0
art_table 32 7330 0 6908 7 3 4 5 0 8 0
art_node 16 2067 0 1976 1 0 1 1 0 8 0
semupl 112 6 0 6 1 1 0 1 0 8 0
semapl 112 4927 0 4917 1 0 1 1 0 8 0
shmpl 112 132 0 4 4 0 4 4 0 8 0
dirhash 1024 219 0 202 3 0 3 3 0 8 0
dino2pl 256 59363 0 57621 110 0 110 110 0 8 0
ffsino 272 59363 0 57621 117 0 117 117 0 8 0
nchpl 144 119026 0 117359 64 0 64 64 0 8 0
uvmvnodes 80 8622 0 0 176 0 176 176 0 8 0
vnodes 216 8622 0 0 479 0 479 479 0 8 0
namei 1024 401494 0 401493 26 25 1 2 0 8 0
percpumem 16 413 0 365 1 0 1 1 0 8 0
vcpupl 2048 514 0 2 64 0 64 64 0 8 0
vmpool 696 674 0 162 49 2 47 47 0 8 0
kstatmem 264 758 0 730 5 2 3 3 0 8 0
scxspl 216 365486 0 365486 30 29 1 8 1 8 1
plimitpl 152 5254 0 5239 1 0 1 1 0 8 0
sigapl 424 44267 0 44220 12 5 7 9 0 8 0
futexpl 64 387016 0 387016 6 5 1 1 0 8 1
knotepl 120 1572 0 0 22 8 14 17 0 8 0
kqueuepl 216 8105 0 8100 128 127 1 8 0 8 0
pipepl 320 6912 0 6884 185 182 3 8 0 8 0
fdescpl 496 44143 0 44116 7 3 4 5 0 8 0
filepl 152 265417 0 265196 473 461 12 22 0 8 0
lockfpl 104 11997 0 11996 16 15 1 2 0 8 0
lockfspl 48 3922 0 3921 1 0 1 1 0 8 0
sessionpl 144 169 0 153 1 0 1 1 0 8 0
pgrppl 48 1223 0 1207 1 0 1 1 0 8 0
ucredpl 104 37954 0 37932 1 0 1 1 0 8 0
zombiepl 144 44393 0 44392 9 8 1 1 0 8 0
processpl 1136 44267 0 44220 6 1 5 6 0 8 0
procpl 680 110191 0 110124 16 7 9 10 0 8 0
srpgc 96 184 0 184 60 60 0 1 0 8 0
sosppl 168 529 0 529 55 55 0 1 0 8 0
sockpl 584 79952 0 79925 827 823 4 26 0 8 0
mcl64k 65536 26 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 20 0 0 2 0 2 2 0 8 0
mcl8k 8192 50 0 0 7 3 4 6 0 8 0
mcl4k 4096 23 0 0 3 0 3 3 0 8 0
mcl2k2 2112 9 0 0 1 0 1 1 0 8 0
mcl2k 2048 405 0 0 35 16 19 35 0 8 0
mtagpl 96 121 0 0 3 0 3 3 0 8 0
mbufpl 256 8858 0 0 427 0 427 427 0 8 0
bufpl 280 70358 0 61736 617 0 617 617 0 8 0
anonpl 24 4044230 0 4030596 336 207 129 168 0 186 0
amapchunkpl 152 1318539 0 1317687 290 249 41 67 0 158 0
amappl16 200 74875 0 74086 380 334 46 55 0 8 0
amappl15 192 20 0 18 1 0 1 1 0 8 0
amappl14 184 612 0 592 6 4 2 2 0 8 0
amappl13 176 87 0 85 1 0 1 1 0 8 0
amappl12 168 47088 0 47045 11 8 3 3 0 8 0
amappl11 160 61 0 52 1 0 1 1 0 8 0
amappl10 152 254 0 235 1 0 1 1 0 8 0
amappl9 144 452 0 452 82 82 0 1 0 8 0
amappl8 136 2221 0 1958 13 2 11 11 0 8 0
amappl7 128 643 0 618 2 0 2 2 0 8 0
amappl6 120 2732 0 2696 7 5 2 2 0 8 0
amappl5 112 1049 0 1041 1 0 1 1 0 8 0
amappl4 104 2107 0 2047 2 0 2 2 0 8 0
amappl3 96 253310 0 253236 4 1 3 3 0 8 0
amappl2 88 46627 0 46539 4 1 3 3 0 8 0
amappl1 80 174600 0 174134 24 12 12 23 0 8 0
amappl 88 405228 0 404889 12 3 9 9 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 134 0 4 3 0 3 3 0 8 0
uaddrrnd 24 44817 0 44277 4 0 4 4 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 44817 0 44277 4 0 4 4 0 8 0
vmmpekpl 168 275831 0 275702 7 0 7 7 0 8 0
vmmpepl 168 2611192 0 2607985 1431 1235 196 242 0 357 21
vmsppl 448 44816 0 44277 68 7 61 61 0 8 0
rwobjpl 56 581113 0 570227 195 39 156 158 0 8 0
pdppl 4096 89641 0 89066 2466 1891 575 579 0 8 0
pvpl 32 44647 0 0 362 1 361 361 0 265 0
pmappl 248 44816 0 44277 35 1 34 34 0 8 0
extentpl 40 56 0 38 1 0 1 1 0 8 0
phpool 112 4793 0 3356 42 0 42 42 0 8 0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff828a533b) at panic+0x17b sys/kern/subr_prf.c:198
__assert(ffffffff8292f3e9,ffffffff82931a65,bc,ffffffff828bf4d7) at __assert+0x29 sys/kern/subr_prf.c:157
unveil_destroy(ffff800033f12c88) at unveil_destroy+0x1a4 sys/kern/kern_unveil.c:188
exit1(ffff80002a235aa0,0,0,1) at exit1+0x3d8 sys/kern/kern_exit.c:218
sys_exit(ffff80002a235aa0,ffff800037243130,ffff800037243080) at sys_exit+0x1a sys/kern/kern_exit.c:89
syscall(ffff800037243130) at syscall+0x533 mi_syscall sys/sys/syscall_mi.h:183 [inline]
syscall(ffff800037243130) at syscall+0x533 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7e7e7e3d4ca0, count: -8
ddb{0}> machine ddbcpu 1
Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp
x86_ipi_db(ffff800029cebff0) at x86_ipi_db+0x1e 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+0x27
acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206
sched_idle(ffff800029cebff0) at sched_idle+0x41e sys/kern/kern_sched.c:183
end trace frame: 0x0, count: 10
ddb{1}> trace
x86_ipi_db(ffff800029cebff0) at x86_ipi_db+0x1e 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+0x27
acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206
sched_idle(ffff800029cebff0) at sched_idle+0x41e sys/kern/kern_sched.c:183
end trace frame: 0x0, count: -5


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Mar 28, 2024, 6:14:30 PMMar 28
to syzkaller-o...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 2ee472d028ec Support having bcmpcie(4) as both PCIe bus an..
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=12e047e6180000
kernel config: https://syzkaller.appspot.com/x/.config?x=1bc15e68cd2a49e5
dashboard link: https://syzkaller.appspot.com/bug?extid=7ff0cc778d7b5ae6834f
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=16a1e93a180000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/3251cdf9a375/disk-2ee472d0.raw.xz
bsd.gdb: https://storage.googleapis.com/syzbot-assets/45f17e008029/bsd-2ee472d0.gdb.xz
kernel image: https://storage.googleapis.com/syzbot-assets/c7513241ff7c/kernel-2ee472d0.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+7ff0cc...@syzkaller.appspotmail.com

panic: kernel diagnostic assertion "ps->ps_uvncount == 0" failed: file "/syzkaller/managers/main/kernel/sys/kern/kern_unveil.c", line 188
Stopped at db_enter+0x1c: addq $0x8,%rsp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82927b8e) at panic+0x165 sys/kern/subr_prf.c:198
__assert(ffffffff828e10c6,ffffffff828b33eb,bc,ffffffff82866e64) at __assert+0x29 sys/kern/subr_prf.c:157
unveil_destroy(ffff80002a704878) at unveil_destroy+0x174 sys/kern/kern_unveil.c:188
exit1(ffff80002a699a90,0,0,1) at exit1+0x3d6 sys/kern/kern_exit.c:218
sys_exit(ffff80002a699a90,ffff80002a827b50,ffff80002a827aa0) at sys_exit+0x1a sys/kern/kern_exit.c:89
syscall(ffff80002a827b50) at syscall+0x538 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x73d5ec4561a0, count: 7
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports. Insufficient info makes it difficult to find and fix bugs.
ddb>
ddb> set $lines = 0
ddb> set $maxwidth = 0
ddb> show panic
*cpu0: kernel diagnostic assertion "ps->ps_uvncount == 0" failed: file "/syzkaller/managers/main/kernel/sys/kern/kern_unveil.c", line 188
ddb> trace
db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82927b8e) at panic+0x165 sys/kern/subr_prf.c:198
__assert(ffffffff828e10c6,ffffffff828b33eb,bc,ffffffff82866e64) at __assert+0x29 sys/kern/subr_prf.c:157
unveil_destroy(ffff80002a704878) at unveil_destroy+0x174 sys/kern/kern_unveil.c:188
exit1(ffff80002a699a90,0,0,1) at exit1+0x3d6 sys/kern/kern_exit.c:218
sys_exit(ffff80002a699a90,ffff80002a827b50,ffff80002a827aa0) at sys_exit+0x1a sys/kern/kern_exit.c:89
syscall(ffff80002a827b50) at syscall+0x538 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x73d5ec4561a0, count: -8
ddb> show registers
rdi 0
rsi 0x1
rbp 0xffff80002a8278a0
rbx 0xffff80002a704878
rdx 0x3fd
rcx 0
rax 0x8a
r8 0x101010101010101
r9 0x8080808080808080
r10 0x78738389a21ddf2e
r11 0xe2e2337be5386985
r12 0
r13 0x2
r14 0
r15 0x1
rip 0xffffffff811a086c db_enter+0x1c
cs 0x8
rflags 0x246
rsp 0xffff80002a827890
ss 0x10
db_enter+0x1c: addq $0x8,%rsp
ddb> show proc
PROC (syz-executor.1) tid=361379 pid=25774 tcnt=1 stat=onproc
flags process=1008<EXITING,SINGLEEXIT> proc=2000<WEXIT>
runpri=32, usrpri=84, slppri=32, nice=20
wchan=0x0, wmesg=, ps_single=0xffff80002a699a90
forw=0xffffffffffffffff, list=0xffff80002a6c2ac0,0xffff80002a602d70
process=0xffff80002a704878 user=0xffff80002a822000, vmspace=0xfffffd8069866590
estcpu=34, cpticks=2, pctcpu=0.3, user=0, sys=2, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
97533 26008 85536 0 2 0 syz-executor.7
97533 252991 85536 0 3 0x4000080 fsleep syz-executor.7
64849 403912 96061 0 2 0 syz-executor.4
64849 195292 96061 0 3 0x4000080 fsleep syz-executor.4
9365 405220 71327 0 3 0 futex syz-executor.0
9365 287999 71327 0 2 0x4000000 syz-executor.0
40541 180870 23194 0 2 0 syz-executor.3
40541 466864 23194 0 2 0x4000000 syz-executor.3
40541 366712 23194 0 2 0x4000000 syz-executor.3
55189 174333 59120 0 2 0x2 syz-executor.5
306 403778 59120 0 2 0x2 syz-executor.6
78067 309974 59120 0 2 0x2 syz-executor.2
85536 155713 59120 0 3 0x82 nanoslp syz-executor.7
96061 109693 59120 0 3 0x82 nanoslp syz-executor.4
23194 133418 59120 0 3 0x82 nanoslp syz-executor.3
22279 487034 59120 0 3 0x82 nanoslp syz-executor.1
71327 59506 59120 0 3 0x82 nanoslp syz-executor.0
59120 385509 47431 0 3 0x1a000082 wait syz-execprog
59120 505790 47431 0 3 0x1e000082 thrsleep syz-execprog
59120 115063 47431 0 3 0x1e000082 wait syz-execprog
59120 180587 47431 0 3 0x1e000082 thrsleep syz-execprog
59120 386335 47431 0 3 0x1e000082 wait syz-execprog
59120 7528 47431 0 3 0x1e000082 wait syz-execprog
59120 567 47431 0 3 0x1e000082 wait syz-execprog
59120 485675 47431 0 3 0x1e000082 thrsleep syz-execprog
59120 114530 47431 0 3 0x1e000082 wait syz-execprog
59120 351718 47431 0 3 0x1e000082 thrsleep syz-execprog
59120 262762 47431 0 3 0x1e000082 wait syz-execprog
59120 69887 47431 0 3 0x1e000082 wait syz-execprog
59120 196161 47431 0 3 0x1e000082 kqread syz-execprog
59120 268087 47431 0 3 0x1e000082 thrsleep syz-execprog
47431 142931 77170 0 3 0x810008a sigsusp ksh
77170 189078 87282 0 3 0x1800009a kqread sshd
92175 333495 1 0 3 0x18100083 ttyin getty
87282 85331 1 0 3 0x18000088 kqread sshd
3674 387516 38108 73 3 0x19100090 kqread syslogd
38108 244495 1 0 3 0x18100082 netio syslogd
42820 138245 1 0 3 0x18100080 kqread resolvd
41088 119693 44951 77 3 0x18100092 kqread dhcpleased
41986 521929 44951 77 3 0x18100092 kqread dhcpleased
44951 75340 1 0 3 0x18000080 kqread dhcpleased
1829 522267 0 0 3 0x14200 bored smr
90143 44094 0 0 2 0x14200 zerothread
86579 8124 0 0 3 0x14200 aiodoned aiodoned
70888 270316 0 0 3 0x14200 syncer update
10574 311373 0 0 3 0x14200 cleaner cleaner
35931 408789 0 0 2 0x14200 reaper
62797 450578 0 0 3 0x14200 pgdaemon pagedaemon
9328 194078 0 0 3 0x14200 bored viomb
14855 192296 0 0 3 0x40014200 acpi0 acpi0
4555 181146 0 0 3 0x14200 bored softnet3
80249 103781 0 0 3 0x14200 bored softnet2
33864 35597 0 0 3 0x14200 bored softnet1
64473 233988 0 0 3 0x14200 bored softnet0
23211 279042 0 0 3 0x14200 bored systqmp
14005 134956 0 0 3 0x14200 bored systq
32797 160016 0 0 3 0x40014200 tmoslp softclock
37154 109874 0 0 3 0x40014200 idle0
1 205025 0 0 3 0x8000082 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb> show all locks
No such command
ddb> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 10161 6400K 6413K 166960K 11239 0
pcb 15 10K 10K 166960K 15 0
rtable 234 6K 6K 166960K 350 0
pf 29 8K 8K 166960K 29 0
ifaddr 43 11K 11K 166960K 45 0
ifgroup 50 2K 2K 166960K 50 0
counters 30 17K 17K 166960K 30 0
ioctlops 0 0K 2K 166960K 29 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1259 79K 79K 166960K 1275 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 1K 1K 166960K 2 0
VM map 2 1K 1K 166960K 2 0
sem 2 0K 0K 166960K 2 0
dirhash 12 2K 2K 166960K 12 0
ACPI 1697 195K 286K 166960K 12548 0
file desc 15 53K 77K 166960K 1557 0
proc 59 74K 123K 166960K 4742 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 16K 16K 166960K 1 0
in_multi 99 7K 7K 166960K 99 0
ether_multi 1 0K 0K 166960K 1 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 25 122K 122K 166960K 25 0
exec 0 0K 1K 166960K 364 0
tdb 3 0K 0K 166960K 3 0
VM swap 8 62K 64K 166960K 10 0
UVM amap 256 75K 76K 166960K 17469 0
UVM aobj 3 2K 2K 166960K 3 0
pinsyscall 22 44K 100K 166960K 1194 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
NDP 11 0K 2K 166960K 27 0
temp 1 6788K 6916K 166960K 6735 0
kqueue 12 18K 18K 166960K 25 0
SYN cache 2 16K 16K 166960K 2 0
ddb> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
rtpcb 120 36 0 33 1 0 1 1 0 8 0
rtentry 112 111 0 1 4 0 4 4 0 8 0
unpcb 144 33 0 20 1 0 1 1 0 8 0
syncache 336 5 0 5 1 1 0 1 0 8 0
tcpqe 32 87 0 87 1 1 0 1 0 8 0
tcpcb 808 8 0 5 1 0 1 1 0 8 0
arp 88 18 0 0 1 0 1 1 0 8 0
inpcb 360 58 0 52 1 0 1 1 0 8 0
nd6 104 24 0 0 1 0 1 1 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 453 0 0 29 0 29 29 0 8 0
art_table 32 454 0 0 4 0 4 4 0 8 0
art_node 16 110 0 10 1 0 1 1 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 2993 0 1477 95 0 95 95 0 8 0
ffsino 240 2993 0 1477 90 0 90 90 0 8 0
nchpl 144 6098 0 4337 66 0 66 66 0 8 0
uvmvnodes 80 3002 0 0 62 0 62 62 0 8 0
vnodes 216 3002 0 0 167 0 167 167 0 8 0
namei 1024 17560 0 17560 5 3 2 3 0 8 2
kstatmem 264 22 0 0 2 0 2 2 0 8 0
scxspl 216 15719 0 15719 9 7 2 8 1 8 2
plimitpl 152 34 0 19 1 0 1 1 0 8 0
sigapl 424 1858 0 1815 6 0 6 6 0 8 0
futexpl 64 15300 0 15297 1 0 1 1 0 8 0
knotepl 120 3880 0 3802 4 0 4 4 0 8 0
kqueuepl 184 21 0 13 1 0 1 1 0 8 0
pipepl 288 139 0 111 3 0 3 3 0 8 0
fdescpl 432 1842 0 1816 4 0 4 4 0 8 0
filepl 120 4437 0 4309 5 0 5 5 0 8 1
lockfpl 104 6 0 4 1 0 1 1 0 8 0
lockfspl 48 4 0 2 1 0 1 1 0 8 0
sessionpl 144 25 0 9 1 0 1 1 0 8 0
pgrppl 48 25 0 9 1 0 1 1 0 8 0
ucredpl 104 66 0 56 1 0 1 1 0 8 0
zombiepl 144 2889 0 2888 2 1 1 1 0 8 0
processpl 1072 1858 0 1815 4 0 4 4 0 8 0
procpl 680 4410 0 4348 7 0 7 7 0 8 1
sockpl 488 127 0 105 5 1 4 4 0 8 1
mcl8k 8192 4 0 4 1 1 0 1 0 8 0
mcl4k 4096 10 0 10 1 1 0 1 0 8 0
mcl2k 2048 11841 0 11796 30 24 6 30 0 8 0
mtagpl 96 4 0 4 1 1 0 1 0 8 0
mbufpl 256 19455 0 19270 21 9 12 16 0 8 0
bufpl 280 5678 0 169 394 0 394 394 0 8 0
anonpl 24 310705 0 305808 56 24 32 50 0 188 1
amapchunkpl 152 56130 0 55515 34 4 30 30 0 158 4
amappl16 200 7319 0 7220 7 1 6 6 0 8 0
amappl15 192 14 0 14 1 1 0 1 0 8 0
amappl14 184 158 0 147 2 1 1 2 0 8 0
amappl13 176 15 0 15 1 1 0 1 0 8 0
amappl12 168 2474 0 2447 2 0 2 2 0 8 0
amappl11 160 57 0 45 1 0 1 1 0 8 0
amappl10 152 44 0 33 1 0 1 1 0 8 0
amappl9 144 168 0 168 1 1 0 1 0 8 0
amappl8 136 111 0 84 1 0 1 1 0 8 0
amappl7 128 40 0 35 1 0 1 1 0 8 0
amappl6 120 334 0 321 2 1 1 2 0 8 0
amappl5 112 169 0 157 1 0 1 1 0 8 0
amappl4 104 517 0 485 2 0 2 2 0 8 0
amappl3 96 11311 0 11234 3 0 3 3 0 8 0
amappl2 88 2260 0 2190 4 2 2 4 0 8 0
amappl1 80 14791 0 14301 23 11 12 22 0 8 0
amappl 88 16940 0 16766 5 0 5 5 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 2 0 0 1 0 1 1 0 8 0
uaddrrnd 24 1842 0 1815 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 1842 0 1815 1 0 1 1 0 8 0
vmmpekpl 168 17844 0 17807 2 0 2 2 0 8 0
vmmpepl 168 112316 0 110671 117 39 78 111 0 357 2
vmsppl 352 1841 0 1815 3 0 3 3 0 8 0
rwobjpl 24 40954 0 36967 28 3 25 25 0 8 0
pdppl 4096 3690 0 3630 108 44 64 70 0 8 4
pvpl 32 697815 0 688028 369 285 84 359 0 265 1
pmappl 216 1841 0 1815 2 0 2 2 0 8 0
extentpl 40 56 0 38 1 0 1 1 0 8 0
phpool 112 399 0 85 10 0 10 10 0 8 0
ddb> machine ddbcpu 0
No such command
ddb> trace
db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82927b8e) at panic+0x165 sys/kern/subr_prf.c:198
__assert(ffffffff828e10c6,ffffffff828b33eb,bc,ffffffff82866e64) at __assert+0x29 sys/kern/subr_prf.c:157
unveil_destroy(ffff80002a704878) at unveil_destroy+0x174 sys/kern/kern_unveil.c:188
exit1(ffff80002a699a90,0,0,1) at exit1+0x3d6 sys/kern/kern_exit.c:218
sys_exit(ffff80002a699a90,ffff80002a827b50,ffff80002a827aa0) at sys_exit+0x1a sys/kern/kern_exit.c:89
syscall(ffff80002a827b50) at syscall+0x538 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x73d5ec4561a0, count: -8
ddb> machine ddbcpu 1
No such command
ddb> trace
db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82927b8e) at panic+0x165 sys/kern/subr_prf.c:198
__assert(ffffffff828e10c6,ffffffff828b33eb,bc,ffffffff82866e64) at __assert+0x29 sys/kern/subr_prf.c:157
unveil_destroy(ffff80002a704878) at unveil_destroy+0x174 sys/kern/kern_unveil.c:188
exit1(ffff80002a699a90,0,0,1) at exit1+0x3d6 sys/kern/kern_exit.c:218
sys_exit(ffff80002a699a90,ffff80002a827b50,ffff80002a827aa0) at sys_exit+0x1a sys/kern/kern_exit.c:89
syscall(ffff80002a827b50) at syscall+0x538 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x73d5ec4561a0, count: -8


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

syzbot

unread,
Mar 29, 2024, 4:44:22 AMMar 29
to syzkaller-o...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 2ee472d028ec Support having bcmpcie(4) as both PCIe bus an..
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=1674ae29180000
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=17daffe6180000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=102c421d180000

Downloadable assets:
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+7ff0cc...@syzkaller.appspotmail.com

panic: kernel diagnostic assertion "ps->ps_uvncount == 0" failed: file "/syzkaller/managers/main/kernel/sys/kern/kern_unveil.c", line 188
Stopped at db_enter+0x1c: addq $0x8,%rsp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82927b8e) at panic+0x165 sys/kern/subr_prf.c:198
__assert(ffffffff828e10c6,ffffffff828b33eb,bc,ffffffff82866e64) at __assert+0x29 sys/kern/subr_prf.c:157
unveil_destroy(ffff8000ffff4010) at unveil_destroy+0x174 sys/kern/kern_unveil.c:188
exit1(ffff80002a604ab0,0,0,1) at exit1+0x3d6 sys/kern/kern_exit.c:218
sys_exit(ffff80002a604ab0,ffff80002a665760,ffff80002a6656b0) at sys_exit+0x1a sys/kern/kern_exit.c:89
syscall(ffff80002a665760) at syscall+0x538 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x740961809ac0, count: 7
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports. Insufficient info makes it difficult to find and fix bugs.
ddb>
ddb> set $lines = 0
ddb> set $maxwidth = 0
ddb> show panic
*cpu0: kernel diagnostic assertion "ps->ps_uvncount == 0" failed: file "/syzkaller/managers/main/kernel/sys/kern/kern_unveil.c", line 188
ddb> trace
db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82927b8e) at panic+0x165 sys/kern/subr_prf.c:198
__assert(ffffffff828e10c6,ffffffff828b33eb,bc,ffffffff82866e64) at __assert+0x29 sys/kern/subr_prf.c:157
unveil_destroy(ffff8000ffff4010) at unveil_destroy+0x174 sys/kern/kern_unveil.c:188
exit1(ffff80002a604ab0,0,0,1) at exit1+0x3d6 sys/kern/kern_exit.c:218
sys_exit(ffff80002a604ab0,ffff80002a665760,ffff80002a6656b0) at sys_exit+0x1a sys/kern/kern_exit.c:89
syscall(ffff80002a665760) at syscall+0x538 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x740961809ac0, count: -8
ddb> show registers
rdi 0
rsi 0x1
rbp 0xffff80002a6654b0
rbx 0xffff8000ffff4010
rdx 0x3fd
rcx 0
rax 0x8a
r8 0x101010101010101
r9 0x8080808080808080
r10 0xb7a1e81a51ee1739
r11 0xf4e5a14ce68ef04e
r12 0
r13 0x2
r14 0
r15 0x1
rip 0xffffffff811a086c db_enter+0x1c
cs 0x8
rflags 0x246
rsp 0xffff80002a6654a0
ss 0x10
db_enter+0x1c: addq $0x8,%rsp
ddb> show proc
PROC (syz-executor2269761477) tid=330407 pid=66570 tcnt=1 stat=onproc
flags process=8001008<EXITING,SINGLEEXIT> proc=2000<WEXIT>
runpri=32, usrpri=86, slppri=32, nice=20
wchan=0x0, wmesg=, ps_single=0xffff80002a604ab0
forw=0xffffffffffffffff, list=0xffff80002a5d6558,0xffffffff82e14630
process=0xffff8000ffff4010 user=0xffff80002a660000, vmspace=0xfffffd80074a2420
estcpu=36, cpticks=11, pctcpu=0.0, user=0, sys=1, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
44207 453899 16710 0 3 0x8000082 nanoslp syz-executor2269761477
16710 375422 36781 0 3 0x810008a sigsusp ksh
36781 362871 57940 0 3 0x1800009a kqread sshd
38654 429732 1 0 3 0x18100083 ttyin getty
57940 312305 1 0 3 0x18000088 kqread sshd
85341 13763 60956 73 3 0x19100090 kqread syslogd
60956 219502 1 0 3 0x18100082 netio syslogd
3841 432820 1 0 3 0x18100080 kqread resolvd
47809 434522 73068 77 3 0x18100092 kqread dhcpleased
34716 320092 73068 77 3 0x18100092 kqread dhcpleased
73068 453173 1 0 3 0x18000080 kqread dhcpleased
92496 406398 0 0 3 0x14200 bored smr
52217 9050 0 0 3 0x14200 pgzero zerothread
48337 184428 0 0 3 0x14200 aiodoned aiodoned
36262 10713 0 0 3 0x14200 syncer update
22195 269322 0 0 3 0x14200 cleaner cleaner
5388 503820 0 0 3 0x14200 reaper reaper
39290 114086 0 0 3 0x14200 pgdaemon pagedaemon
98367 326106 0 0 3 0x14200 bored viomb
53215 320413 0 0 3 0x40014200 acpi0 acpi0
8325 92757 0 0 3 0x14200 bored softnet3
92924 319111 0 0 3 0x14200 bored softnet2
55792 247677 0 0 3 0x14200 bored softnet1
96076 167129 0 0 3 0x14200 bored softnet0
27513 175929 0 0 3 0x14200 bored systqmp
51866 166283 0 0 3 0x14200 bored systq
82378 345396 0 0 3 0x40014200 tmoslp softclock
88594 425982 0 0 3 0x40014200 idle0
1 80524 0 0 3 0x8000082 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb> show all locks
No such command
ddb> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 10137 6382K 6413K 166960K 11215 0
pcb 15 10K 10K 166960K 15 0
rtable 58 1K 2K 166960K 112 0
pf 12 6K 6K 166960K 12 0
ifaddr 11 5K 5K 166960K 11 0
ifgroup 17 1K 1K 166960K 17 0
counters 22 16K 16K 166960K 22 0
ioctlops 0 0K 2K 166960K 21 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1259 79K 79K 166960K 1275 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 1K 1K 166960K 2 0
VM map 2 1K 1K 166960K 2 0
sem 2 0K 0K 166960K 2 0
dirhash 12 2K 2K 166960K 12 0
ACPI 1697 195K 286K 166960K 12548 0
file desc 1 0K 0K 166960K 1 0
proc 59 74K 75K 166960K 1293 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 16K 16K 166960K 1 0
in_multi 11 0K 0K 166960K 11 0
ether_multi 1 0K 0K 166960K 1 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 25 122K 122K 166960K 25 0
exec 0 0K 1K 166960K 246 0
tdb 3 0K 0K 166960K 3 0
VM swap 8 62K 64K 166960K 10 0
UVM amap 99 4K 5K 166960K 4227 0
UVM aobj 3 2K 2K 166960K 3 0
pinsyscall 22 44K 48K 166960K 1197 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
NDP 3 0K 0K 166960K 3 0
temp 1 6788K 6852K 166960K 2930 0
kqueue 11 16K 18K 166960K 24 0
SYN cache 2 16K 16K 166960K 2 0
ddb> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
rtpcb 120 21 0 18 1 0 1 1 0 8 0
rtentry 112 23 0 1 1 0 1 1 0 8 0
unpcb 144 33 0 20 1 0 1 1 0 8 0
syncache 336 5 0 5 1 1 0 1 0 8 0
tcpqe 32 55 0 55 1 1 0 1 0 8 0
tcpcb 808 8 0 5 1 0 1 1 0 8 0
arp 88 2 0 0 1 0 1 1 0 8 0
inpcb 360 26 0 20 1 0 1 1 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 96 0 0 6 0 6 6 0 8 0
art_table 32 97 0 0 1 0 1 1 0 8 0
art_node 16 22 0 2 1 0 1 1 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 1502 0 40 92 0 92 92 0 8 0
ffsino 240 1502 0 40 86 0 86 86 0 8 0
nchpl 144 1686 0 47 61 0 61 61 0 8 0
uvmvnodes 80 1511 0 0 31 0 31 31 0 8 0
vnodes 216 1511 0 0 84 0 84 84 0 8 0
namei 1024 5748 0 5748 2 1 1 1 0 8 1
kstatmem 264 6 0 0 1 0 1 1 0 8 0
scxspl 216 5411 0 5411 9 1 8 8 1 8 8
plimitpl 152 16 0 10 1 0 1 1 0 8 0
sigapl 424 659 0 629 4 0 4 4 0 8 0
futexpl 64 1238 0 1238 1 0 1 1 0 8 1
knotepl 120 7455 0 7426 2 1 1 2 0 8 0
kqueuepl 184 20 0 13 1 0 1 1 0 8 0
pipepl 288 88 0 85 1 0 1 1 0 8 0
fdescpl 432 643 0 630 2 0 2 2 0 8 0
filepl 120 1136 0 1083 2 0 2 2 0 8 0
lockfpl 104 6 0 4 1 0 1 1 0 8 0
lockfspl 48 4 0 2 1 0 1 1 0 8 0
sessionpl 144 17 0 9 1 0 1 1 0 8 0
pgrppl 48 17 0 9 1 0 1 1 0 8 0
ucredpl 104 66 0 56 1 0 1 1 0 8 0
zombiepl 144 648 0 647 2 1 1 1 0 8 0
processpl 1072 659 0 629 3 0 3 3 0 8 0
procpl 680 1025 0 995 3 0 3 3 0 8 0
sockpl 488 80 0 58 3 0 3 3 0 8 0
mcl8k 8192 4 0 4 1 1 0 1 0 8 0
mcl4k 4096 10 0 10 1 1 0 1 0 8 0
mcl2k 2048 12505 0 12462 33 26 7 32 0 8 1
mtagpl 96 4 0 4 1 1 0 1 0 8 0
mbufpl 256 21181 0 21134 17 13 4 17 0 8 0
bufpl 280 2486 0 89 172 0 172 172 0 8 0
anonpl 24 169262 0 167424 23 11 12 22 0 188 0
amapchunkpl 152 14548 0 14397 7 1 6 7 0 158 0
amappl16 200 4096 0 4095 4 3 1 4 0 8 0
amappl15 192 10 0 10 1 1 0 1 0 8 0
amappl14 184 103 0 94 1 0 1 1 0 8 0
amappl13 176 7 0 7 1 1 0 1 0 8 0
amappl12 168 1140 0 1127 1 0 1 1 0 8 0
amappl11 160 49 0 39 1 0 1 1 0 8 0
amappl10 152 12 0 12 1 1 0 1 0 8 0
amappl9 144 78 0 78 1 1 0 1 0 8 0
amappl8 136 23 0 21 1 0 1 1 0 8 0
amappl7 128 358 0 355 1 0 1 1 0 8 0
amappl6 120 161 0 150 1 0 1 1 0 8 0
amappl5 112 122 0 110 1 0 1 1 0 8 0
amappl4 104 393 0 368 1 0 1 1 0 8 0
amappl3 96 3912 0 3881 1 0 1 1 0 8 0
amappl2 88 930 0 878 2 0 2 2 0 8 0
amappl1 80 10514 0 10100 11 0 11 11 0 8 0
amappl 88 3927 0 3873 2 0 2 2 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 2 0 0 1 0 1 1 0 8 0
uaddrrnd 24 643 0 629 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 643 0 629 1 0 1 1 0 8 0
vmmpekpl 168 7037 0 7020 1 0 1 1 0 8 0
vmmpepl 168 45505 0 44567 46 3 43 46 0 357 0
vmsppl 352 642 0 629 2 0 2 2 0 8 0
rwobjpl 24 22013 0 19883 14 0 14 14 0 8 0
pdppl 4096 1292 0 1258 48 14 34 40 0 8 0
pvpl 32 278205 0 274075 50 14 36 50 0 265 0
pmappl 216 642 0 629 1 0 1 1 0 8 0
extentpl 40 56 0 38 1 0 1 1 0 8 0
phpool 112 299 0 59 9 0 9 9 0 8 0
ddb> machine ddbcpu 0
No such command
ddb> trace
db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82927b8e) at panic+0x165 sys/kern/subr_prf.c:198
__assert(ffffffff828e10c6,ffffffff828b33eb,bc,ffffffff82866e64) at __assert+0x29 sys/kern/subr_prf.c:157
unveil_destroy(ffff8000ffff4010) at unveil_destroy+0x174 sys/kern/kern_unveil.c:188
exit1(ffff80002a604ab0,0,0,1) at exit1+0x3d6 sys/kern/kern_exit.c:218
sys_exit(ffff80002a604ab0,ffff80002a665760,ffff80002a6656b0) at sys_exit+0x1a sys/kern/kern_exit.c:89
syscall(ffff80002a665760) at syscall+0x538 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x740961809ac0, count: -8
ddb> machine ddbcpu 1
No such command
ddb> trace
db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82927b8e) at panic+0x165 sys/kern/subr_prf.c:198
__assert(ffffffff828e10c6,ffffffff828b33eb,bc,ffffffff82866e64) at __assert+0x29 sys/kern/subr_prf.c:157
unveil_destroy(ffff8000ffff4010) at unveil_destroy+0x174 sys/kern/kern_unveil.c:188
exit1(ffff80002a604ab0,0,0,1) at exit1+0x3d6 sys/kern/kern_exit.c:218
sys_exit(ffff80002a604ab0,ffff80002a665760,ffff80002a6656b0) at sys_exit+0x1a sys/kern/kern_exit.c:89
syscall(ffff80002a665760) at syscall+0x538 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x740961809ac0, count: -8
Reply all
Reply to author
Forward
0 new messages