login: panic: uao_find_swhash_elt: can't allocate entry Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *197274 23620 0 0x14000 0x200 0 pagedaemon db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83354918) at panic+0x1cf sys/kern/subr_prf.c:198 uao_set_swslot(fffffd806ffb8b40,b0c50,afe3) at uao_set_swslot+0x443 uvmpd_scan_inactive(0,9615) at uvmpd_scan_inactive+0x1073 sys/uvm/uvm_pdaemon.c:728 uvmpd_scan(0,9615,bef) at uvmpd_scan+0x9e sys/uvm/uvm_pdaemon.c:925 uvm_pageout(ffff80002a72d4c0) at uvm_pageout+0x4fc sys/uvm/uvm_pdaemon.c:305 end trace frame: 0x0, count: 9 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: uao_find_swhash_elt: can't allocate entry ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83354918) at panic+0x1cf sys/kern/subr_prf.c:198 uao_set_swslot(fffffd806ffb8b40,b0c50,afe3) at uao_set_swslot+0x443 uvmpd_scan_inactive(0,9615) at uvmpd_scan_inactive+0x1073 sys/uvm/uvm_pdaemon.c:728 uvmpd_scan(0,9615,bef) at uvmpd_scan+0x9e sys/uvm/uvm_pdaemon.c:925 uvm_pageout(ffff80002a72d4c0) at uvm_pageout+0x4fc sys/uvm/uvm_pdaemon.c:305 end trace frame: 0x0, count: -6 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80002a75d9d0 rbx 0xffff800001492e28 rdx 0 rcx 0 rax 0xffff80002a72d4c0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x7a0f144890f6fa37 r11 0x3de1c6942f410eae r12 0 r13 0xb0c5 __ALIGN_SIZE+0xa0c5 r14 0 r15 0x1 rip 0xffffffff810825d5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a75d9c0 ss 0 db_enter+0x25: addq $0x8,%rsp ddb> show proc PROC (pagedaemon) tid=197274 pid=23620 tcnt=1 stat=onproc flags process=14000 proc=200 runpri=4, usrpri=56, slppri=4, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a72d228,0xffff80002a72d768 process=0xffff8000ffffcd80 user=0xffff80002a758000, vmspace=0xffffffff83886790 estcpu=6, cpticks=409, pctcpu=1.68, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 47905 274141 87480 0 3 0x100000 flt_noram3 sh 83951 79799 97488 0 3 0x2 uvm_pmr_getp syz-executor 87480 152467 96342 0 3 0x100002 flt_noram3 sh 41287 230483 1 0 3 0x100083 ttyin getty 18225 118909 28485 0 3 0x3000 suspend syz-executor 18225 211625 28485 0 3 0x4081000 pfioctl_rw syz-executor 94490 37522 26071 0 3 0x3000 suspend syz-executor 94490 281899 26071 0 3 0x4081000 pfioctl_rw syz-executor 94490 133106 26071 0 3 0x4081000 pfioctl_rw syz-executor 78855 13638 97488 0 3 0x82 piperd syz-executor 96342 241745 97488 0 3 0x82 wait syz-executor 26071 451234 97488 0 3 0x82 wait syz-executor 89821 386715 0 0 3 0x14200 acct acct 70050 240133 1 0 3 0x3000 suspend syz-executor 70050 469068 1 0 3 0x4081000 pfioctl_rw syz-executor 93577 491705 1 0 3 0x3000 suspend syz-executor 93577 68267 1 0 3 0x4081000 pfioctl_rw syz-executor 14824 29423 1 0 3 0x3000 suspend syz-executor 14824 452374 1 0 3 0x4081000 pfioctl_rw syz-executor 14824 135983 1 0 3 0x4081000 pfioctl_rw syz-executor 14824 56306 1 0 3 0x4081000 pfioctl_rw syz-executor 61794 293372 1 0 3 0x3010 suspend syz-executor 61794 156459 1 0 3 0x4081010 uao_getpage syz-executor 19648 144708 0 0 3 0x14280 nfsidl nfsio 33409 435606 0 0 3 0x14280 nfsidl nfsio 83001 93121 0 0 3 0x14280 nfsidl nfsio 48884 313531 0 0 3 0x14280 nfsidl nfsio 88294 215812 0 0 3 0x14280 nfsidl nfsio 99572 21601 0 0 3 0x14280 nfsidl nfsio 85776 265756 0 0 3 0x14280 nfsidl nfsio 23924 385134 0 0 3 0x14280 nfsidl nfsio 49931 232597 0 0 3 0x14280 nfsidl nfsio 33869 194008 0 0 3 0x14280 nfsidl nfsio 97543 483683 0 0 3 0x14280 nfsidl nfsio 54971 15732 0 0 3 0x14280 nfsidl nfsio 26254 413845 0 0 3 0x14280 nfsidl nfsio 69092 83702 0 0 3 0x14280 nfsidl nfsio 84413 264105 0 0 3 0x14280 nfsidl nfsio 52064 488380 0 0 3 0x14280 nfsidl nfsio 7685 413386 0 0 3 0x14280 nfsidl nfsio 53522 88013 0 0 3 0x14280 nfsidl nfsio 25982 96074 0 0 3 0x14280 nfsidl nfsio 8815 289519 0 0 3 0x14280 nfsidl nfsio 28485 203035 97488 0 3 0x82 wait syz-executor 94170 249141 97488 0 3 0x82 wait syz-executor 98893 149112 97488 0 3 0x82 wait syz-executor 97488 1099 73451 0 3 0x2 uvm_pmr_getp syz-executor 73451 123415 12631 0 3 0x10008a sigsusp ksh 12631 258547 85216 0 3 0x98 kqread sshd-session 85216 387438 35512 0 3 0x92 kqread sshd-session 35512 142163 1 0 3 0x88 kqread sshd 42111 109335 51844 73 3 0x1100010 flt_noram1 syslogd 51844 150717 1 0 3 0x100082 sbwait syslogd 78168 412798 1 0 3 0x100080 kqread resolvd 2992 242921 91619 77 3 0x100092 kqread dhcpleased 98625 448721 91619 77 3 0x100092 kqread dhcpleased 91619 18393 1 0 3 0x80 kqread dhcpleased 3901 13649 0 0 3 0x14200 bored smr 81143 388722 0 0 3 0x14200 pgzero zerothread 64460 442889 0 0 3 0x14200 aiodoned aiodoned 26602 48445 0 0 3 0x14200 syncer update 36363 415123 0 0 3 0x14200 cleaner cleaner 83281 163568 0 0 3 0x14200 reaper reaper *23620 197274 0 0 7 0x14200 pagedaemon 31227 147916 0 0 3 0x14200 bored viomb 70876 217881 0 0 3 0x40014200 acpi0 acpi0 30704 45136 0 0 3 0x14200 bored softnet0 19774 408272 0 0 3 0x14200 bored systqmp 24158 400495 0 0 3 0x14200 bored systq 82684 338758 0 0 3 0x40014200 tmoslp softclock 21455 381014 0 0 3 0x40014200 idle0 1 297617 0 0 3 0x82 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 10181 11174K 11468K 166960K 12073 0 pcb 19 15K 17K 166960K 156 0 rtable 234 9K 9K 166960K 496 0 pf 33 13K 13K 166960K 64 0 ifaddr 42 7K 7K 166960K 71 0 ifgroup 55 2K 2K 166960K 89 0 sysctl 1 1K 9K 166960K 9 0 counters 33 17K 18K 166960K 51 0 ioctlops 6 18K 18K 166960K 182 0 iov 0 0K 16K 166960K 11 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1447 91K 91K 166960K 1981 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 43 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 20 73K 97K 166960K 507 0 sigio 0 0K 0K 166960K 74 0 proc 60 59K 124K 166960K 618 0 subproc 107 6K 6K 166960K 224 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 92 0 in_multi 96 7K 7K 166960K 146 0 ether_multi 1 0K 0K 166960K 4 0 mrt 0 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 2K 166960K 434 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 270 177K 185K 166960K 5881 0 UVM aobj 14 6K 6K 166960K 14 0 pinsyscall 41 82K 96K 166960K 1672 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 18 0 NDP 12 0K 2K 166960K 45 0 temp 59 8653K 8726K 166960K 13702 0 kqueue 13 20K 30K 166960K 82 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 130 0 127 3 0 3 3 0 8 2 rtentry 136 151 0 53 4 0 4 4 0 8 0 unpcb 144 143 0 123 1 0 1 1 0 8 0 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 185 0 180 7 0 7 7 0 8 6 arp 96 25 0 6 1 0 1 1 0 8 0 inpcb 328 520 0 510 7 0 7 7 0 8 6 ip6q 72 1 0 1 1 0 1 1 0 8 1 ip6af 40 2 0 2 1 0 1 1 0 8 1 nd6 112 32 0 9 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 24 0 13 1 0 1 1 0 8 0 ppxss 1072 13 0 13 1 0 1 1 0 8 1 pppxif 1384 2 0 2 1 0 1 1 0 8 1 pfrktable 1344 1 0 0 1 0 1 1 0 8 0 pfrule 1344 2 0 2 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 642 0 246 29 0 29 29 0 8 3 art_table 40 645 0 246 5 0 5 5 0 8 0 art_node 32 150 0 63 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 4 1 0 1 1 0 8 0 semapl 112 41 0 31 1 0 1 1 0 8 0 shmpl 112 9 0 0 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2216 0 696 95 0 95 95 0 8 0 ffsino 256 2216 0 696 95 0 95 95 0 8 0 nchpl 144 2808 0 1094 64 0 64 64 0 8 0 rtmask 32 5 0 5 1 0 1 1 0 8 1 vnodes 216 2711 0 0 151 0 151 151 0 8 0 namei 1024 9657 0 9657 2 0 2 2 0 8 2 vcpupl 3904 2 0 0 1 0 1 1 0 8 0 vmpool 800 2 0 0 1 0 1 1 0 8 0 kstatmem 264 46 0 22 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 11345 0 11344 10 0 10 10 1 8 9 plimitpl 152 144 0 121 1 0 1 1 0 8 0 sigapl 424 786 0 720 8 0 8 8 0 8 0 knotepl 120 17468 0 17423 10 0 10 10 0 8 8 kqueuepl 184 142 0 132 3 0 3 3 0 8 2 pipepl 304 192 0 158 3 0 3 3 0 8 0 fdescpl 448 752 0 720 5 0 5 5 0 8 1 filepl 120 4291 0 3977 11 0 11 11 0 8 1 lockfpl 104 142 0 140 1 0 1 1 0 8 0 lockfspl 48 57 0 55 1 0 1 1 0 8 0 sessionpl 144 31 0 23 1 0 1 1 0 8 0 pgrppl 48 69 0 49 1 0 1 1 0 8 0 ucredpl 104 660 0 648 1 0 1 1 0 8 0 zombiepl 144 729 0 720 1 0 1 1 0 8 0 processpl 1152 786 0 720 5 0 5 5 0 8 0 procpl 664 1233 0 1158 7 0 7 7 0 8 0 sosppl 176 5 0 5 1 0 1 1 0 8 1 sockpl 552 863 0 830 7 0 7 7 0 8 4 mcl64k 65536 35 0 35 2 0 2 2 0 8 2 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 2849 0 2798 13 0 13 13 0 8 6 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 782 0 778 5 0 5 5 0 8 4 mtagpl 96 31 0 19 1 0 1 1 0 8 0 mbufpl 256 7487 0 7319 19 0 19 19 0 8 4 bufpl 280 53626 0 51029 204 0 204 204 0 8 18 anonpl 24 142335 0 138797 33 0 33 33 0 187 5 amapchunkpl 152 18374 0 17804 27 0 27 27 0 158 3 amappl16 200 2381 0 2346 5 0 5 5 0 8 3 amappl15 192 47 0 47 1 0 1 1 0 8 1 amappl14 184 7 0 7 1 0 1 1 0 8 1 amappl13 176 443 0 441 1 0 1 1 0 8 0 amappl12 168 1138 0 1098 3 0 3 3 0 8 1 amappl11 160 4 0 4 1 0 1 1 0 8 1 amappl10 152 42 0 32 1 0 1 1 0 8 0 amappl9 144 250 0 250 1 0 1 1 0 8 1 amappl8 136 36 0 35 1 0 1 1 0 8 0 amappl7 128 97 0 95 1 0 1 1 0 8 0 amappl6 120 311 0 299 1 0 1 1 0 8 0 amappl5 112 98 0 91 1 0 1 1 0 8 0 amappl4 104 397 0 374 1 0 1 1 0 8 0 amappl3 96 3047 0 2943 3 0 3 3 0 8 0 amappl2 88 858 0 786 2 0 2 2 0 8 0 amappl1 80 10428 0 9867 13 0 13 13 0 8 1 amappl 88 5056 0 4860 5 0 5 5 0 92 0 uvmvnodes 80 101 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 8 0 8 1 0 1 1 0 8 1 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 13 0 0 1 0 1 1 0 8 0 uaoeltpl 96 96957 1 94292 65 0 65 65 0 8 0 uaddrrnd 24 752 0 720 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 752 0 720 1 0 1 1 0 8 0 vmmpekpl 168 8027 0 7993 2 0 2 2 0 8 0 vmmpepl 168 54868 0 52938 87 0 87 87 0 357 2 vmsppl 368 751 0 720 4 0 4 4 0 8 1 rwobjpl 40 17401 0 16329 12 0 12 12 0 8 0 pdppl 4096 1515 0 1442 104 29 75 83 0 8 2 pvpl 32 1596980 0 1346370 2808 578 2230 2808 0 265 208 pmappl 216 753 0 720 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 391 0 29 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83354918) at panic+0x1cf sys/kern/subr_prf.c:198 uao_set_swslot(fffffd806ffb8b40,b0c50,afe3) at uao_set_swslot+0x443 uvmpd_scan_inactive(0,9615) at uvmpd_scan_inactive+0x1073 sys/uvm/uvm_pdaemon.c:728 uvmpd_scan(0,9615,bef) at uvmpd_scan+0x9e sys/uvm/uvm_pdaemon.c:925 uvm_pageout(ffff80002a72d4c0) at uvm_pageout+0x4fc sys/uvm/uvm_pdaemon.c:305 end trace frame: 0x0, count: -6 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83354918) at panic+0x1cf sys/kern/subr_prf.c:198 uao_set_swslot(fffffd806ffb8b40,b0c50,afe3) at uao_set_swslot+0x443 uvmpd_scan_inactive(0,9615) at uvmpd_scan_inactive+0x1073 sys/uvm/uvm_pdaemon.c:728 uvmpd_scan(0,9615,bef) at uvmpd_scan+0x9e sys/uvm/uvm_pdaemon.c:925 uvm_pageout(ffff80002a72d4c0) at uvm_pageout+0x4fc sys/uvm/uvm_pdaemon.c:305 end trace frame: 0x0, count: -6