uvm_fault(0xfffffd806c4bade0, 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 *213012 16336 0 0 0x4000000 0 syz-executor.1 socreate(18,ffff8000299976f0,3,3c) at socreate+0x7b sys/kern/uipc_socket.c:172 sys_socketpair(ffff8000ffff8a88,ffff800029997788,ffff8000299977e0) at sys_socketpair+0x6e sys/kern/uipc_syscalls.c:430 syscall(ffff800029997850) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5867f5ff80, 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(0xfffffd806c4bade0, 0x0, 0, 1) -> e ddb> trace socreate(18,ffff8000299976f0,3,3c) at socreate+0x7b sys/kern/uipc_socket.c:172 sys_socketpair(ffff8000ffff8a88,ffff800029997788,ffff8000299977e0) at sys_socketpair+0x6e sys/kern/uipc_syscalls.c:430 syscall(ffff800029997850) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5867f5ff80, count: -4 ddb> show registers rdi 0xffff800024d22000 rsi 0x338 rbp 0xffff8000299976d0 rbx 0x18 rdx 0xffff800024d22000 rcx 0x337 rax 0 r8 0xffffffff8152fd20 uvm_map_inentry_pc r9 0x13 r10 0 r11 0xee0ed7a4a4984b82 r12 0xffff8000299976f0 r13 0xffffffff826dd678 inet6sw+0x208 r14 0x3 r15 0x3c rip 0xffffffff81b2452b socreate+0x7b cs 0x8 rflags 0x10286 __ALIGN_SIZE+0xf286 rsp 0xffff800029997670 ss 0x10 socreate+0x7b: cmpq $0,0(%rax) ddb> show proc PROC (syz-executor.1) pid=213012 stat=onproc flags process=0 proc=4000000 pri=73, usrpri=73, nice=20 forw=0xffffffffffffffff, list=0xffff8000216a5508,0xffff8000ffff9cf8 process=0xffff8000216773b0 user=0xffff800029992000, vmspace=0xfffffd806c4bade0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 89942 51128 1841 0 2 0 syz-executor.2 63492 252677 23747 0 2 0 syz-executor.0 63492 32781 23747 0 2 0x4000000 syz-executor.0 1867 407599 11290 0 2 0 syz-executor.6 1867 75028 11290 0 3 0x4000080 fsleep syz-executor.6 28091 60648 99862 0 2 0 syz-executor.3 28091 159643 99862 0 3 0x4000080 fsleep syz-executor.3 65958 472156 9702 0 2 0 syz-executor.4 65958 410519 9702 0 3 0x4000080 fsleep syz-executor.4 16336 33179 35106 0 2 0 syz-executor.1 *16336 213012 35106 0 7 0x4000000 syz-executor.1 11290 441046 61189 0 3 0x82 nanoslp syz-executor.6 28309 185932 0 0 3 0x14200 bored sosplice 41107 297222 61189 0 2 0x2 syz-executor.7 76308 290063 61189 0 2 0x2 syz-executor.5 99862 25770 61189 0 3 0x82 nanoslp syz-executor.3 35106 433415 61189 0 3 0x82 nanoslp syz-executor.1 1841 49771 61189 0 2 0x2 syz-executor.2 23747 237133 61189 0 3 0x82 nanoslp syz-executor.0 9702 216648 61189 0 3 0x82 nanoslp syz-executor.4 61189 308260 43057 0 3 0x82 thrsleep syz-fuzzer 61189 201753 43057 0 3 0x4000082 thrsleep syz-fuzzer 61189 437126 43057 0 3 0x4000082 thrsleep syz-fuzzer 61189 140939 43057 0 3 0x4000082 thrsleep syz-fuzzer 61189 516399 43057 0 3 0x4000082 thrsleep syz-fuzzer 61189 443624 43057 0 3 0x4000082 thrsleep syz-fuzzer 61189 98019 43057 0 3 0x4000082 kqread syz-fuzzer 61189 17989 43057 0 3 0x4000082 thrsleep syz-fuzzer 43057 196515 80860 0 3 0x10008a sigsusp ksh 80860 104235 8826 0 3 0x9a kqread sshd 48563 195538 1 0 3 0x100083 ttyin getty 8826 300830 1 0 3 0x88 kqread sshd 87797 475576 75971 73 3 0x1100090 kqread syslogd 75971 361573 1 0 3 0x100082 netio syslogd 29523 151874 1 0 3 0x100080 kqread resolvd 22891 416081 59232 77 3 0x100092 kqread dhcpleased 25943 242093 59232 77 3 0x100092 kqread dhcpleased 59232 96434 1 0 3 0x80 kqread dhcpleased 68775 11056 0 0 3 0x14200 bored smr 76991 318493 0 0 2 0x14200 zerothread 3083 13671 0 0 3 0x14200 aiodoned aiodoned 73525 220248 0 0 3 0x14200 syncer update 52436 77475 0 0 3 0x14200 cleaner cleaner 45542 316220 0 0 3 0x14200 reaper reaper 61661 133045 0 0 3 0x14200 pgdaemon pagedaemon 5926 199249 0 0 3 0x14200 bored viomb 29643 467167 0 0 3 0x40014200 acpi0 acpi0 10906 217836 0 0 3 0x14200 bored softnet 63704 498088 0 0 3 0x14200 bored systqmp 28305 176170 0 0 3 0x14200 bored systq 26076 393350 0 0 3 0x40014200 bored softclock 47033 166300 0 0 3 0x40014200 idle0 1 230869 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 10166 6401K 6853K 78643K 13066 0 pcb 13 8K 8K 78643K 73 0 rtable 244 8K 8K 78643K 437 0 ifaddr 84 17K 18K 78643K 128 0 sysctl 3 1K 1K 78643K 3 0 counters 27 17K 17K 78643K 34 0 ioctlops 0 0K 4K 78643K 143 0 iov 0 0K 16K 78643K 40 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1272 79K 80K 78643K 1851 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 10 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 58 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 16 57K 74K 78643K 1812 0 proc 58 55K 79K 78643K 522 0 subproc 104 6K 6K 78643K 117 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 102 0 in_multi 99 6K 7K 78643K 205 0 ether_multi 1 0K 0K 78643K 31 0 mrt 0 0K 0K 78643K 6 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 2K 78643K 664 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 270 77K 78K 78643K 22674 0 UVM aobj 11 2K 2K 78643K 11 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 107 0 NDP 11 0K 2K 78643K 40 0 temp 92 4695K 4760K 78643K 10962 0 kqueue 12 18K 34K 78643K 179 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 112 0 109 1 0 1 1 0 8 0 rtentry 112 126 0 16 4 0 4 4 0 8 0 unpcb 136 274 0 261 1 0 1 1 0 8 0 syncache 296 21 0 21 2 2 0 1 0 8 0 tcpqe 32 67 0 67 1 1 0 1 0 8 0 tcpcb 736 311 0 305 7 5 2 4 0 8 1 arp 88 20 0 2 1 0 1 1 0 8 0 inpcb 304 715 0 708 4 2 2 2 0 8 1 nd6 48 31 0 7 1 0 1 1 0 8 0 pkpcb 40 8 0 8 2 2 0 1 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1152 2 0 2 1 0 1 1 0 8 1 pfstscr 40 11 0 11 2 2 0 1 0 8 0 pffrag 232 5 0 4 2 1 1 1 0 482 0 pffrnode 88 5 0 4 2 1 1 1 0 8 0 pffrent 40 13 0 12 1 0 1 1 0 8 0 pfrktable 1344 1 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 264 1 0 1 1 1 0 1 0 8 0 pfstitem 24 2 0 2 1 1 0 1 0 8 0 pfstkey 112 22 0 22 2 2 0 1 0 8 0 pfstate 320 11 0 11 2 2 0 1 0 8 0 pfrule 1360 21 0 13 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 497 0 44 29 0 29 29 0 8 0 art_table 32 498 0 44 4 0 4 4 0 8 0 art_node 16 125 0 25 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semapl 112 56 0 46 1 0 1 1 0 8 0 shmpl 112 8 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3663 0 2235 90 0 90 90 0 8 0 ffsino 240 3663 0 2235 85 0 85 85 0 8 0 nchpl 144 5849 0 4224 62 0 62 62 0 8 0 uvmvnodes 80 4164 0 0 85 0 85 85 0 8 0 vnodes 224 4164 0 0 245 0 245 245 0 8 0 namei 1024 15755 0 15755 4 2 2 2 0 8 2 scsiplug 72 4 0 4 1 1 0 1 0 8 0 scxspl 216 18095 0 18095 10 9 1 8 0 8 1 plimitpl 152 72 0 58 1 0 1 1 0 8 0 sigapl 424 2095 0 2054 6 1 5 6 0 8 0 futexpl 64 9074 0 9071 1 0 1 1 0 8 0 knotepl 120 20947 0 20867 4 0 4 4 0 8 0 kqueuepl 184 208 0 200 1 0 1 1 0 8 0 pipepl 304 155 0 127 3 0 3 3 0 8 0 fdescpl 432 2081 0 2054 4 0 4 4 0 8 0 filepl 120 5839 0 5605 8 0 8 8 0 8 0 lockfpl 104 192 0 190 1 0 1 1 0 8 0 lockfspl 48 83 0 81 1 0 1 1 0 8 0 sessionpl 144 24 0 8 1 0 1 1 0 8 0 pgrppl 48 24 0 8 1 0 1 1 0 8 0 ucredpl 96 798 0 788 1 0 1 1 0 8 0 zombiepl 144 2054 0 2054 1 0 1 1 0 8 1 processpl 1000 2095 0 2054 6 0 6 6 0 8 0 procpl 672 3951 0 3898 7 1 6 6 0 8 1 sosppl 168 36 0 36 3 3 0 1 0 8 0 sockpl 448 1113 0 1090 6 2 4 4 0 8 1 mcl64k 65536 6 0 5 1 0 1 1 0 8 0 mcl16k 16384 4 0 4 1 1 0 1 0 8 0 mcl12k 12288 10 0 10 1 1 0 1 0 8 0 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 18 0 18 2 2 0 1 0 8 0 mcl4k 4096 15 0 15 3 2 1 1 0 8 1 mcl2k2 2112 6 0 6 1 1 0 1 0 8 0 mcl2k 2048 59384 0 59338 16 6 10 13 0 8 2 mtagpl 96 232 0 30 6 1 5 5 0 8 0 mbufpl 256 113689 0 113251 33 2 31 31 0 8 1 bufpl 288 6454 0 148 451 0 451 451 0 8 0 anonpl 24 522710 0 508129 127 31 96 116 0 188 0 amapchunkpl 152 53575 0 52872 40 6 34 39 0 158 0 amappl16 200 5811 0 5368 47 20 27 38 0 8 0 amappl15 192 577 0 572 1 0 1 1 0 8 0 amappl14 184 238 0 234 1 0 1 1 0 8 0 amappl13 176 300 0 295 1 0 1 1 0 8 0 amappl12 168 156 0 152 2 1 1 1 0 8 0 amappl11 160 258 0 246 1 0 1 1 0 8 0 amappl10 152 458 0 455 1 0 1 1 0 8 0 amappl9 144 455 0 453 1 0 1 1 0 8 0 amappl8 136 796 0 752 2 0 2 2 0 8 0 amappl7 128 334 0 323 1 0 1 1 0 8 0 amappl6 120 193 0 172 2 1 1 2 0 8 0 amappl5 112 1539 0 1527 1 0 1 1 0 8 0 amappl4 104 1473 0 1439 2 0 2 2 0 8 0 amappl3 96 529 0 514 1 0 1 1 0 8 0 amappl2 88 884 0 838 3 1 2 3 0 8 0 amappl1 80 37553 0 37014 18 5 13 18 0 8 0 amappl 88 22227 0 22018 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 10 0 0 1 0 1 1 0 8 0 uaddrrnd 24 2081 0 2054 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2081 0 2054 1 0 1 1 0 8 0 vmmpekpl 168 15792 0 15752 3 0 3 3 0 8 0 vmmpepl 168 184744 0 182502 161 52 109 160 0 357 11 vmsppl 272 2080 0 2054 4 2 2 3 0 8 0 rwobjpl 24 47013 0 41511 34 0 34 34 0 8 0 pdppl 4096 4168 0 4108 117 53 64 70 0 8 4 pvpl 32 1008778 0 990161 259 65 194 259 0 265 34 pmappl 216 2080 0 2054 2 0 2 2 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 857 0 79 23 0 23 23 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace socreate(18,ffff8000299976f0,3,3c) at socreate+0x7b sys/kern/uipc_socket.c:172 sys_socketpair(ffff8000ffff8a88,ffff800029997788,ffff8000299977e0) at sys_socketpair+0x6e sys/kern/uipc_syscalls.c:430 syscall(ffff800029997850) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5867f5ff80, count: -4 ddb> machine ddbcpu 1 No such command ddb> trace socreate(18,ffff8000299976f0,3,3c) at socreate+0x7b sys/kern/uipc_socket.c:172 sys_socketpair(ffff8000ffff8a88,ffff800029997788,ffff8000299977e0) at sys_socketpair+0x6e sys/kern/uipc_syscalls.c:430 syscall(ffff800029997850) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5867f5ff80, count: -4