uvm_fault(0xfffffd806c3f4450, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at socreate+0x7b: cmpq $0,0(%rax) TID PID UID PRFLAGS PFLAGS CPU COMMAND *200199 65802 0 0 0x4000000 0 syz-executor.5 socreate(18,ffff800023b01760,3,3c) at socreate+0x7b sys/kern/uipc_socket.c:172 sys_socketpair(ffff80002169b7a8,ffff800023b017f8,ffff800023b01850) at sys_socketpair+0x6e sys/kern/uipc_syscalls.c:430 syscall(ffff800023b018c0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x159d129efa0, count: 11 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: uvm_fault(0xfffffd806c3f4450, 0x0, 0, 1) -> e ddb> trace socreate(18,ffff800023b01760,3,3c) at socreate+0x7b sys/kern/uipc_socket.c:172 sys_socketpair(ffff80002169b7a8,ffff800023b017f8,ffff800023b01850) at sys_socketpair+0x6e sys/kern/uipc_syscalls.c:430 syscall(ffff800023b018c0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x159d129efa0, count: -4 ddb> show registers rdi 0xffff800026516000 rsi 0x522 rbp 0xffff800023b01740 rbx 0x18 rdx 0xffff800026516000 rcx 0x521 rax 0 r8 0xffffffff8152fd20 uvm_map_inentry_pc r9 0x14 r10 0 r11 0x2fe064c604c7065 r12 0xffff800023b01760 r13 0xffffffff826dd678 inet6sw+0x208 r14 0x3 r15 0x3c rip 0xffffffff81b2452b socreate+0x7b cs 0x8 rflags 0x10286 __ALIGN_SIZE+0xf286 rsp 0xffff800023b016e0 ss 0x10 socreate+0x7b: cmpq $0,0(%rax) ddb> show proc PROC (syz-executor.5) pid=200199 stat=onproc flags process=0 proc=4000000 pri=82, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff80002169a2a8,0xffff8000215f97c0 process=0xffff800021adcbe0 user=0xffff800023afc000, vmspace=0xfffffd806c3f4450 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 13049 428586 31038 0 2 0 syz-executor.4 13049 107929 31038 0 2 0x4000000 syz-executor.4 56277 13948 17321 0 2 0 syz-executor.0 56277 188093 17321 0 2 0x4000000 syz-executor.0 42932 53973 13865 0 2 0 syz-executor.7 42932 382741 13865 0 2 0x4000000 syz-executor.7 82535 199479 97362 0 2 0 syz-executor.6 82535 192377 97362 0 2 0x4000000 syz-executor.6 76402 323768 52640 0 2 0 syz-executor.1 76402 417949 52640 0 2 0x4000000 syz-executor.1 52864 430759 377 0 2 0 syz-executor.3 52864 133678 377 0 3 0x4000080 fsleep syz-executor.3 65802 317746 68166 0 2 0 syz-executor.5 *65802 200199 68166 0 7 0x4000000 syz-executor.5 97362 158715 79610 0 3 0x82 nanoslp syz-executor.6 5333 463564 79610 0 2 0x2 syz-executor.2 68166 204664 79610 0 3 0x82 nanoslp syz-executor.5 33404 513175 1 0 3 0x100083 ttyin getty 377 236880 79610 0 3 0x82 nanoslp syz-executor.3 13865 31504 79610 0 3 0x82 nanoslp syz-executor.7 39149 396088 0 0 3 0x14200 bored sosplice 52640 393065 79610 0 3 0x82 nanoslp syz-executor.1 17321 22125 79610 0 3 0x82 nanoslp syz-executor.0 31038 49193 79610 0 3 0x82 nanoslp syz-executor.4 79610 159759 50800 0 3 0x82 thrsleep syz-fuzzer 79610 275525 50800 0 3 0x4000082 thrsleep syz-fuzzer 79610 499895 50800 0 3 0x4000082 thrsleep syz-fuzzer 79610 429718 50800 0 3 0x4000082 thrsleep syz-fuzzer 79610 285721 50800 0 3 0x4000082 thrsleep syz-fuzzer 79610 330702 50800 0 3 0x4000082 kqread syz-fuzzer 79610 53150 50800 0 3 0x4000082 thrsleep syz-fuzzer 79610 266850 50800 0 3 0x4000082 thrsleep syz-fuzzer 79610 258432 50800 0 3 0x4000082 thrsleep syz-fuzzer 50800 71693 99203 0 3 0x10008a sigsusp ksh 99203 499276 97767 0 3 0x9a kqread sshd 97767 433525 1 0 3 0x88 kqread sshd 80492 24844 11345 73 3 0x1100090 kqread syslogd 11345 110896 1 0 3 0x100082 netio syslogd 48644 128202 1 0 3 0x100080 kqread resolvd 70510 239975 62968 77 3 0x100092 kqread dhcpleased 25224 353552 62968 77 3 0x100092 kqread dhcpleased 62968 117850 1 0 3 0x80 kqread dhcpleased 77317 174291 0 0 3 0x14200 bored smr 99507 368180 0 0 2 0x14200 zerothread 14761 472800 0 0 3 0x14200 aiodoned aiodoned 11179 356860 0 0 3 0x14200 syncer update 13847 508202 0 0 3 0x14200 cleaner cleaner 83951 500140 0 0 3 0x14200 reaper reaper 94569 502787 0 0 3 0x14200 pgdaemon pagedaemon 30379 435699 0 0 3 0x14200 bored viomb 50607 334914 0 0 3 0x40014200 acpi0 acpi0 24964 507477 0 0 3 0x14200 bored softnet 98794 440523 0 0 3 0x14200 bored systqmp 53500 214368 0 0 3 0x14200 bored systq 69736 412922 0 0 3 0x40014200 bored softclock 22340 443961 0 0 3 0x40014200 idle0 1 355063 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 10178 6429K 7281K 78643K 15354 0 pcb 13 8K 8K 78643K 282 0 rtable 213 9K 12K 78643K 857 0 ifaddr 77 17K 18K 78643K 285 0 sysctl 2 0K 0K 78643K 2 0 counters 26 17K 17K 78643K 53 0 ioctlops 0 0K 4K 78643K 413 0 iov 0 0K 24K 78643K 99 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1273 80K 80K 78643K 2777 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 17 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 62 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 17 61K 77K 78643K 4727 0 sigio 0 0K 0K 78643K 40 0 proc 63 55K 79K 78643K 816 0 subproc 104 6K 6K 78643K 208 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 246 0 in_multi 88 5K 6K 78643K 316 0 ether_multi 1 0K 0K 78643K 51 0 mrt 2 0K 0K 78643K 20 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 127 572K 572K 78643K 127 0 exec 0 0K 2K 78643K 953 0 pfkey data 0 0K 1K 78643K 5 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 345 245K 246K 78643K 56467 0 UVM aobj 23 6K 6K 78643K 27 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 234 0 NDP 10 0K 2K 78643K 69 0 temp 155 4763K 4839K 78643K 36943 0 kqueue 12 18K 28K 78643K 292 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 149 0 146 1 0 1 1 0 8 0 rtentry 112 214 0 124 4 0 4 4 0 8 0 unpcb 136 988 0 975 2 1 1 2 0 8 0 syncache 296 62 0 62 8 8 0 1 0 8 0 tcpqe 32 133 0 133 5 5 0 1 0 8 0 tcpcb 736 819 0 810 14 12 2 4 0 8 0 arp 88 35 0 19 1 0 1 1 0 8 0 ipq 40 3 0 2 3 2 1 1 0 8 0 ipqe 40 6 0 5 3 2 1 1 0 8 0 inpcb 304 1932 0 1921 8 6 2 3 0 8 1 rttmr 72 5 0 5 2 2 0 1 0 8 0 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 1 0 0 1 0 1 1 0 8 0 nd6 48 49 0 28 1 0 1 1 0 8 0 pkpcb 40 26 0 26 6 5 1 1 0 8 1 kcovpl 48 16 0 8 1 0 1 1 0 8 0 ppxss 1152 9 0 9 2 2 0 1 0 8 0 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfrktable 1344 62 0 57 3 2 1 1 0 8 0 pftag 88 18 0 12 2 1 1 1 0 8 0 pfqueue 264 1 0 1 1 1 0 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 112 10 0 8 1 0 1 1 0 8 0 pfstate 320 5 0 4 1 0 1 1 0 8 0 pfrule 1360 109 0 86 6 3 3 3 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 895 0 546 30 6 24 29 0 8 0 art_table 32 896 0 546 4 0 4 4 0 8 0 art_node 16 213 0 135 1 0 1 1 0 8 0 sysvmsgpl 40 37 0 33 2 1 1 1 0 8 0 semupl 112 11 0 11 1 1 0 1 0 8 0 semapl 112 55 0 45 1 0 1 1 0 8 0 shmpl 112 24 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 7366 0 5916 91 0 91 91 0 8 0 ffsino 240 7366 0 5916 86 0 86 86 0 8 0 nchpl 144 12951 0 11328 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 34226 0 34226 6 5 1 2 0 8 1 vcpupl 1984 10 0 0 2 0 2 2 0 8 0 vmpool 528 24 0 14 3 2 1 1 0 8 0 pfiaddrpl 120 31 0 16 3 2 1 1 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 45996 0 45996 11 10 1 8 0 8 1 plimitpl 152 228 0 214 1 0 1 1 0 8 0 sigapl 424 4986 0 4944 6 1 5 6 0 8 0 futexpl 64 28806 0 28805 5 4 1 1 0 8 0 knotepl 120 42358 0 42278 4 1 3 4 0 8 0 kqueuepl 184 516 0 508 1 0 1 1 0 8 0 pipepl 304 357 0 329 3 0 3 3 0 8 0 fdescpl 432 4972 0 4944 8 4 4 4 0 8 0 filepl 120 15073 0 14840 12 4 8 9 0 8 0 lockfpl 104 703 0 701 1 0 1 1 0 8 0 lockfspl 48 267 0 265 1 0 1 1 0 8 0 sessionpl 144 32 0 16 1 0 1 1 0 8 0 pgrppl 48 36 0 20 1 0 1 1 0 8 0 ucredpl 96 2477 0 2467 1 0 1 1 0 8 0 zombiepl 144 4944 0 4944 1 0 1 1 0 8 1 processpl 1000 4986 0 4944 6 0 6 6 0 8 0 procpl 672 10025 0 9968 11 5 6 6 0 8 1 sosppl 168 51 0 51 5 4 1 1 0 8 1 sockpl 448 3095 0 3067 17 13 4 5 0 8 0 mcl64k 65536 74 0 74 2 1 1 1 0 8 1 mcl16k 16384 26 0 26 4 4 0 1 0 8 0 mcl12k 12288 32 0 32 4 3 1 1 0 8 1 mcl9k 9216 23 0 23 4 3 1 1 0 8 1 mcl8k 8192 49 0 49 7 7 0 1 0 8 0 mcl4k 4096 205 0 205 4 3 1 1 0 8 1 mcl2k2 2112 5 0 5 3 3 0 1 0 8 0 mcl2k 2048 32636 0 32577 30 20 10 14 0 8 1 mtagpl 96 488 0 321 8 1 7 7 0 8 0 mbufpl 256 106960 0 106504 71 27 44 67 0 8 1 bufpl 288 11113 0 4707 458 0 458 458 0 8 0 anonpl 24 1313257 0 1303000 206 128 78 143 0 188 10 amapchunkpl 152 137014 0 136377 82 55 27 60 0 158 2 amappl16 200 11603 0 11332 49 33 16 27 0 8 1 amappl15 192 1598 0 1590 1 0 1 1 0 8 0 amappl14 184 150 0 143 1 0 1 1 0 8 0 amappl13 176 134 0 129 1 0 1 1 0 8 0 amappl12 168 17 0 14 3 2 1 1 0 8 0 amappl11 160 598 0 583 1 0 1 1 0 8 0 amappl10 152 592 0 587 1 0 1 1 0 8 0 amappl9 144 704 0 698 1 0 1 1 0 8 0 amappl8 136 2323 0 2231 4 0 4 4 0 8 0 amappl7 128 1725 0 1712 1 0 1 1 0 8 0 amappl6 120 462 0 438 2 1 1 2 0 8 0 amappl5 112 5278 0 5259 1 0 1 1 0 8 0 amappl4 104 1599 0 1566 2 1 1 2 0 8 0 amappl3 96 285 0 270 1 0 1 1 0 8 0 amappl2 88 610 0 562 3 1 2 3 0 8 0 amappl1 80 83806 0 83258 19 6 13 18 0 8 0 amappl 88 55756 0 55524 6 0 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 26 0 4 1 0 1 1 0 8 0 uaddrrnd 24 4996 0 4958 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4996 0 4958 1 0 1 1 0 8 0 vmmpekpl 168 29997 0 29948 3 0 3 3 0 8 0 vmmpepl 168 428354 0 426103 142 39 103 110 0 357 5 vmsppl 272 4995 0 4958 5 2 3 3 0 8 0 rwobjpl 24 101203 0 94032 46 2 44 45 0 8 0 pdppl 4096 9998 0 9926 238 164 74 74 0 8 2 pvpl 32 2473028 0 2458387 335 187 148 256 0 265 20 pmappl 216 4995 0 4958 3 0 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1076 0 269 24 0 24 24 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace socreate(18,ffff800023b01760,3,3c) at socreate+0x7b sys/kern/uipc_socket.c:172 sys_socketpair(ffff80002169b7a8,ffff800023b017f8,ffff800023b01850) at sys_socketpair+0x6e sys/kern/uipc_syscalls.c:430 syscall(ffff800023b018c0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x159d129efa0, count: -4 ddb> machine ddbcpu 1 No such command ddb> trace socreate(18,ffff800023b01760,3,3c) at socreate+0x7b sys/kern/uipc_socket.c:172 sys_socketpair(ffff80002169b7a8,ffff800023b017f8,ffff800023b01850) at sys_socketpair+0x6e sys/kern/uipc_syscalls.c:430 syscall(ffff800023b018c0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x159d129efa0, count: -4