panic: missing alias Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 137277 6403 0 0 0 1 syz-executor *474912 23863 0 0x2 0 0K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82fe401c) at panic+0x1e5 sys/kern/subr_prf.c:198 vgonel(fffffd806798db00,ffff8000ffff0538) at vgonel+0x681 sys/kern/vfs_subr.c:1200 vrecycle(fffffd806798db00,ffff8000ffff0538) at vrecycle+0x7c sys/kern/vfs_subr.c:1126 ufs_inactive(ffff80002a13de88) at ufs_inactive+0x35d sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd806798db00,ffff8000ffff0538) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495 vput(fffffd806798db00) at vput+0xe5 sys/kern/vfs_subr.c:779 VOP_REMOVE(fffffd806798d290,fffffd806798db00,ffff80002a13e008) at VOP_REMOVE+0x19d sys/kern/vfs_vops.c:336 dounlinkat(ffff8000ffff0538,ffffff9c,7f7e8d3c1270,0) at dounlinkat+0x177 sys/kern/vfs_syscalls.c:1888 syscall(ffff80002a13e180) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a13e180) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7e8d3c1720, count: 4 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: missing alias ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82fe401c) at panic+0x1e5 sys/kern/subr_prf.c:198 vgonel(fffffd806798db00,ffff8000ffff0538) at vgonel+0x681 sys/kern/vfs_subr.c:1200 vrecycle(fffffd806798db00,ffff8000ffff0538) at vrecycle+0x7c sys/kern/vfs_subr.c:1126 ufs_inactive(ffff80002a13de88) at ufs_inactive+0x35d sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd806798db00,ffff8000ffff0538) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495 vput(fffffd806798db00) at vput+0xe5 sys/kern/vfs_subr.c:779 VOP_REMOVE(fffffd806798d290,fffffd806798db00,ffff80002a13e008) at VOP_REMOVE+0x19d sys/kern/vfs_vops.c:336 dounlinkat(ffff8000ffff0538,ffffff9c,7f7e8d3c1270,0) at dounlinkat+0x177 sys/kern/vfs_syscalls.c:1888 syscall(ffff80002a13e180) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a13e180) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7e8d3c1720, count: -11 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a13dcc0 rbx 0xffffffff834bad87 cpu_info_full_primary+0x2d87 rdx 0 rcx 0xffff8000ffff0538 rax 0xffffffff834b9ff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x626d0200e6dc8c3f r11 0x47af5e587b89a7e9 r12 0xffffffff834bab88 cpu_info_full_primary+0x2b88 r13 0 r14 0 r15 0x1 rip 0xffffffff81fab715 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a13dcb0 ss 0 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=474912 pid=23863 tcnt=1 stat=onproc flags process=2 proc=0 runpri=17, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff0cd0,0xffff8000ffff1988 process=0xffff8000ffff71f0 user=0xffff80002a139000, vmspace=0xfffffd8063d63dc0 estcpu=36, cpticks=0, pctcpu=0.1, user=1, sys=3, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 47149 283958 79551 0 2 0 syz-executor 6403 137277 94473 0 7 0 syz-executor 6403 433298 94473 0 2 0x4000000 syz-executor 60819 219505 10345 0 2 0x82000 syz-executor 60819 94015 10345 0 4 0x4082000 syz-executor 60819 301055 10345 0 3 0x4002000 suspend syz-executor 99297 491029 99577 0 2 0 syz-executor 99297 380026 99577 0 3 0x4000080 sbwait syz-executor 78576 58158 96405 0 2 0 syz-executor 78576 513855 96405 0 3 0x4000080 fsleep syz-executor 78576 183895 96405 0 3 0x4000080 fsleep syz-executor 50115 139537 99246 0 3 0x90 nanoslp syz-executor 50115 235016 99246 0 2 0x4000010 syz-executor 50115 306702 99246 0 3 0x4000090 fsleep syz-executor 50115 21586 99246 0 3 0x4000090 fsleep syz-executor 43066 367950 0 0 3 0x14280 nfsidl nfsio 34141 472702 0 0 3 0x14280 nfsidl nfsio 49866 53511 0 0 3 0x14280 nfsidl nfsio 59205 304567 0 0 3 0x14280 nfsidl nfsio 11093 338776 0 0 3 0x14280 nfsidl nfsio 27419 421081 0 0 3 0x14280 nfsidl nfsio 10338 490833 0 0 3 0x14280 nfsidl nfsio 76968 122344 0 0 3 0x14280 nfsidl nfsio 2461 80413 0 0 3 0x14280 nfsidl nfsio 72105 440627 0 0 3 0x14280 nfsidl nfsio 68875 138160 0 0 3 0x14280 nfsidl nfsio 71167 451786 0 0 3 0x14280 nfsidl nfsio 53342 421230 0 0 3 0x14280 nfsidl nfsio 1949 471897 0 0 3 0x14280 nfsidl nfsio 18576 286104 0 0 3 0x14280 nfsidl nfsio 33061 388053 0 0 3 0x14280 nfsidl nfsio 60761 192546 0 0 3 0x14280 nfsidl nfsio 80500 307127 0 0 3 0x14280 nfsidl nfsio 51345 93707 0 0 3 0x14280 nfsidl nfsio 59366 74968 0 0 3 0x14280 nfsidl nfsio 34226 33802 85072 0 3 0x82 nanoslp syz-executor *23863 474912 85072 0 7 0x2 syz-executor 79551 167903 85072 0 3 0x82 nanoslp syz-executor 94473 173055 85072 0 3 0x82 nanoslp syz-executor 10345 498551 85072 0 3 0x82 nanoslp syz-executor 99246 342184 85072 0 3 0x82 nanoslp syz-executor 99577 234520 85072 0 3 0x82 nanoslp syz-executor 96405 14445 85072 0 3 0x82 nanoslp syz-executor 49519 273361 1 0 3 0x100083 ttyin getty 52732 1133 0 0 3 0x14200 bored sosplice 85072 289497 13231 0 2 0x2 syz-executor 13231 22986 52772 0 3 0x10008a sigsusp ksh 52772 99054 12800 0 3 0x98 kqread sshd-session 12800 64863 61773 0 3 0x92 kqread sshd-session 61773 497518 1 0 3 0x88 kqread sshd 78946 433933 53272 74 3 0x1100092 bpf pflogd 53272 425659 1 0 3 0x80 sbwait pflogd 8018 4944 80527 73 3 0x1100090 kqread syslogd 80527 424005 1 0 3 0x100082 sbwait syslogd 18749 352416 1 0 3 0x100080 kqread resolvd 52114 436289 36065 77 3 0x100092 kqread dhcpleased 12527 318349 36065 77 3 0x100092 kqread dhcpleased 36065 6974 1 0 3 0x80 kqread dhcpleased 31155 519824 0 0 3 0x14200 bored smr 398 110600 0 0 2 0x14200 zerothread 66085 21497 0 0 3 0x14200 aiodoned aiodoned 77325 461779 0 0 3 0x14200 syncer update 11154 256519 0 0 3 0x14200 cleaner cleaner 5948 367527 0 0 2 0x14200 reaper 44206 70138 0 0 3 0x14200 pgdaemon pagedaemon 93527 128450 0 0 3 0x14200 bored viomb 83266 379710 0 0 3 0x40014200 acpi0 acpi0 77377 50025 0 0 3 0x40014200 idle1 62958 69691 0 0 3 0x14200 bored softnet3 18635 58090 0 0 3 0x14200 bored softnet2 86273 333372 0 0 3 0x14200 bored softnet1 26652 184246 0 0 3 0x14200 bored softnet0 71103 386100 0 0 3 0x14200 bored systqmp 15632 479269 0 0 3 0x14200 bored systq 14472 433405 0 0 3 0x14200 tmoslp softclockmp 51930 259307 0 0 3 0x40014200 tmoslp softclock 83804 355770 0 0 3 0x40014200 idle0 1 169605 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 99297 (syz-executor) thread 0xffff80003729a7d0 (380026) Process 50115 (syz-executor) thread 0xffff800029fd8518 (235016) Process 23863 (syz-executor) thread 0xffff8000ffff0538 (474912) Process 5948 (reaper) thread 0xffff800029fd96d0 (367527) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10204 14207K 14588K 166960K 11936 0 pcb 20 12K 12K 166960K 112 0 rtable 221 6K 7K 166960K 1381 0 pf 38 18K 21K 166960K 138 0 ifaddr 43 7K 8K 166960K 184 0 ifgroup 55 2K 2K 166960K 197 0 sysctl 3 0K 0K 166960K 3 0 counters 64 36K 36K 166960K 136 0 ioctlops 0 0K 4K 166960K 1551 0 iov 0 0K 12K 166960K 33 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1386 87K 87K 166960K 2192 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 28 0 dirhash 12 2K 2K 166960K 36 0 ACPI 1690 195K 286K 166960K 12418 0 file desc 17 61K 93K 166960K 1154 0 sigio 1 0K 0K 166960K 71 0 proc 72 91K 128K 166960K 1503 0 subproc 104 6K 6K 166960K 520 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 213 0 in_multi 96 7K 7K 166960K 474 0 ether_multi 1 0K 0K 166960K 5 0 mrt 0 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 831 0 pfkey data 0 0K 0K 166960K 5 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 240 73K 91K 166960K 10713 0 UVM aobj 15 2K 2K 166960K 15 0 pinsyscall 42 84K 102K 166960K 3069 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 24 0 NDP 12 0K 2K 166960K 129 0 temp 57 6819K 6886K 166960K 50076 0 kqueue 13 20K 31K 166960K 116 0 SYN cache 2 16K 16K 166960K 2 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 175 0 172 2 1 1 2 0 8 0 rtentry 112 486 0 384 4 1 3 4 0 8 0 unpcb 144 633 0 614 10 6 4 5 0 8 3 syncache 336 5 0 5 3 2 1 1 0 8 1 tcpqe 32 2 0 2 1 0 1 1 0 8 1 tcpcb 808 172 0 166 7 5 2 4 0 8 1 arp 120 85 0 66 1 0 1 1 0 8 0 inpcb 336 854 0 841 18 13 5 7 0 8 3 nd6 136 131 0 105 2 1 1 2 0 8 0 pkpcb 40 7 0 7 4 4 0 1 0 8 0 kcovpl 48 40 0 32 1 0 1 1 0 8 0 ppxss 1168 2 0 2 2 2 0 1 0 8 0 pfstscr 40 4 0 4 2 1 1 1 0 8 1 pffrag 232 5 0 3 2 1 1 1 0 482 0 pffrnode 88 3 0 2 2 1 1 1 0 8 0 pffrent 40 6 0 4 2 1 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 95 0 67 1 0 1 1 0 8 0 pfstkey 128 100 0 72 2 0 2 2 0 8 0 pfstate 376 98 0 70 5 1 4 5 0 8 0 pfrule 1344 25 0 19 2 0 2 2 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 1915 0 1507 35 8 27 29 0 8 1 art_table 32 1917 0 1507 4 0 4 4 0 8 0 art_node 16 483 0 392 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 3 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 23 0 13 1 0 1 1 0 8 0 shmpl 112 12 0 0 1 0 1 1 0 8 0 dirhash 1024 33 0 16 3 0 3 3 0 8 0 dino2pl 256 2620 0 1047 99 0 99 99 0 8 0 ffsino 272 2620 0 1047 107 1 106 106 0 8 0 nchpl 144 3578 0 1840 65 0 65 65 0 8 0 uvmvnodes 80 3381 0 0 69 0 69 69 0 8 0 vnodes 216 3381 0 0 188 0 188 188 0 8 0 namei 1024 15115 0 15114 6 4 2 2 0 8 1 percpumem 16 82 0 36 1 0 1 1 0 8 0 kstatmem 264 96 0 72 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 26366 0 26366 11 10 1 8 1 8 1 plimitpl 152 279 0 260 1 0 1 1 0 8 0 sigapl 424 1412 0 1342 10 1 9 9 0 8 0 futexpl 64 8250 0 8246 3 2 1 1 0 8 0 knotepl 120 624 0 0 17 0 17 17 0 8 0 kqueuepl 216 163 0 152 1 0 1 1 0 8 0 pipepl 320 243 0 212 3 0 3 3 0 8 0 fdescpl 496 1373 0 1342 7 2 5 5 0 8 0 filepl 152 6407 0 6141 21 8 13 15 0 8 1 lockfpl 104 216 0 213 1 0 1 1 0 8 0 lockfspl 48 92 0 89 1 0 1 1 0 8 0 sessionpl 144 57 0 48 1 0 1 1 0 8 0 pgrppl 48 100 0 83 1 0 1 1 0 8 0 ucredpl 104 681 0 666 1 0 1 1 0 8 0 zombiepl 144 1609 0 1608 2 1 1 1 0 8 0 processpl 1160 1412 0 1342 7 1 6 6 0 8 0 procpl 648 2440 0 2359 8 0 8 8 0 8 0 srpgc 96 2 0 2 1 1 0 1 0 8 0 sosppl 168 1 0 1 1 1 0 1 0 8 0 sockpl 664 1677 0 1643 26 17 9 13 0 8 5 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 224 0 0 28 0 28 28 0 8 0 mtagpl 96 76 0 0 2 0 2 2 0 8 0 mbufpl 256 335 0 0 19 0 19 19 0 8 0 bufpl 280 7605 0 1233 456 0 456 456 0 8 0 anonpl 24 241152 0 237186 108 40 68 75 0 185 35 amapchunkpl 152 34436 0 33926 65 29 36 42 0 158 13 amappl16 200 4418 0 4363 13 5 8 8 0 8 0 amappl15 192 9 0 9 1 1 0 1 0 8 0 amappl14 184 227 0 215 1 0 1 1 0 8 0 amappl13 176 10 0 9 1 0 1 1 0 8 0 amappl12 168 2536 0 2505 4 2 2 3 0 8 0 amappl11 160 56 0 42 1 0 1 1 0 8 0 amappl10 152 6 0 6 1 1 0 1 0 8 0 amappl9 144 136 0 136 1 1 0 1 0 8 0 amappl8 136 25 0 22 1 0 1 1 0 8 0 amappl7 128 220 0 208 1 0 1 1 0 8 0 amappl6 120 487 0 485 1 0 1 1 0 8 0 amappl5 112 262 0 251 1 0 1 1 0 8 0 amappl4 104 427 0 406 1 0 1 1 0 8 0 amappl3 96 6602 0 6486 5 1 4 4 0 8 0 amappl2 88 1143 0 1072 2 0 2 2 0 8 0 amappl1 80 12960 0 12394 15 1 14 14 0 8 1 amappl 88 10043 0 9866 6 1 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 14 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1373 0 1342 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1373 0 1342 1 0 1 1 0 8 0 vmmpekpl 168 12600 0 12543 3 0 3 3 0 8 0 vmmpepl 168 91033 0 89144 104 10 94 94 0 357 1 vmsppl 440 1372 0 1342 6 2 4 5 0 8 0 rwobjpl 56 31493 0 27130 64 0 64 64 0 8 0 pdppl 4096 2753 0 2684 141 68 73 85 0 8 4 pvpl 32 41012 0 0 331 0 331 331 0 265 0 pmappl 248 1372 0 1342 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 476 0 105 11 0 11 11 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82fe401c) at panic+0x1e5 sys/kern/subr_prf.c:198 vgonel(fffffd806798db00,ffff8000ffff0538) at vgonel+0x681 sys/kern/vfs_subr.c:1200 vrecycle(fffffd806798db00,ffff8000ffff0538) at vrecycle+0x7c sys/kern/vfs_subr.c:1126 ufs_inactive(ffff80002a13de88) at ufs_inactive+0x35d sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd806798db00,ffff8000ffff0538) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495 vput(fffffd806798db00) at vput+0xe5 sys/kern/vfs_subr.c:779 VOP_REMOVE(fffffd806798d290,fffffd806798db00,ffff80002a13e008) at VOP_REMOVE+0x19d sys/kern/vfs_vops.c:336 dounlinkat(ffff8000ffff0538,ffffff9c,7f7e8d3c1270,0) at dounlinkat+0x177 sys/kern/vfs_syscalls.c:1888 syscall(ffff80002a13e180) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a13e180) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7e8d3c1720, count: -11 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 end of kernel end trace frame: 0x7275205cd320, count: 12 ddb{1}> trace x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 end of kernel end trace frame: 0x7275205cd320, count: -3