uvm_fault(0xfffffd806c3f4ef0, 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 *415311 53059 0 0 0x4000000 0 syz-executor.5 socreate(18,ffff800022ee7038,3,3c) at socreate+0x7b sys/kern/uipc_socket.c:172 sys_socket(ffff8000216bf510,ffff800022ee70c8,ffff800022ee7120) at sys_socket+0xd8 sys/kern/uipc_syscalls.c:96 syscall(ffff800022ee7190) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd6f537c2780, 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(0xfffffd806c3f4ef0, 0x0, 0, 1) -> e ddb> trace socreate(18,ffff800022ee7038,3,3c) at socreate+0x7b sys/kern/uipc_socket.c:172 sys_socket(ffff8000216bf510,ffff800022ee70c8,ffff800022ee7120) at sys_socket+0xd8 sys/kern/uipc_syscalls.c:96 syscall(ffff800022ee7190) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd6f537c2780, count: -4 ddb> show registers rdi 0xffff80002b39c000 rsi 0x25 rbp 0xffff800022ee7020 rbx 0x18 rdx 0xffff80002b39c000 rcx 0x24 rax 0 r8 0xffffffff8152fd20 uvm_map_inentry_pc r9 0x16 r10 0 r11 0x76a7a0187a5bbd63 r12 0xffff800022ee7038 r13 0xffffffff826dd678 inet6sw+0x208 r14 0x3 r15 0x3c rip 0xffffffff81b2452b socreate+0x7b cs 0x8 rflags 0x10286 __ALIGN_SIZE+0xf286 rsp 0xffff800022ee6fc0 ss 0x10 socreate+0x7b: cmpq $0,0(%rax) ddb> show proc PROC (syz-executor.5) pid=415311 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000216be7f0,0xffffffff82a76760 process=0xffff8000216613a8 user=0xffff800022ee2000, vmspace=0xfffffd806c3f4ef0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 53059 484693 71173 0 2 0 syz-executor.5 *53059 415311 71173 0 7 0x4000000 syz-executor.5 91689 422298 45114 0 2 0 syz-executor.4 91689 259822 45114 0 3 0x4000080 kqread syz-executor.4 91689 140778 45114 0 3 0x4000080 kqread syz-executor.4 91689 473110 45114 0 3 0x4000080 fsleep syz-executor.4 78874 156465 85178 0 3 0x80 nanoslp syz-executor.7 78874 410588 85178 0 2 0x4000000 syz-executor.7 78874 285181 85178 0 3 0x4000080 fsleep syz-executor.7 78874 244723 85178 0 3 0x4000080 fsleep syz-executor.7 50085 294079 6341 0 3 0x80 nanoslp syz-executor.3 50085 63388 6341 0 3 0x4000080 fsleep syz-executor.3 50085 138192 6341 0 3 0x4000080 fsleep syz-executor.3 96198 165000 32071 0 2 0x2 syz-executor.1 20429 51969 32071 0 3 0x82 piperd syz-executor.0 9382 184879 32071 0 2 0x2 syz-executor.2 45114 90832 32071 0 3 0x82 nanoslp syz-executor.4 52642 462305 32071 0 2 0x2 syz-executor.6 6341 502135 32071 0 3 0x82 nanoslp syz-executor.3 85178 445923 32071 0 3 0x82 nanoslp syz-executor.7 73126 323823 0 0 3 0x14200 acct acct 86007 127504 1 0 3 0x100083 ttyin getty 15229 217643 0 0 3 0x14200 bored sosplice 43594 442364 0 0 3 0x14280 nfsidl nfsio 88183 246429 0 0 3 0x14280 nfsidl nfsio 75107 74972 0 0 3 0x14280 nfsidl nfsio 59235 134882 0 0 3 0x14280 nfsidl nfsio 84287 211624 0 0 3 0x14280 nfsidl nfsio 90126 146365 0 0 3 0x14280 nfsidl nfsio 96129 308050 0 0 3 0x14280 nfsidl nfsio 43092 388726 0 0 3 0x14280 nfsidl nfsio 44740 23221 0 0 3 0x14280 nfsidl nfsio 19067 437735 0 0 3 0x14280 nfsidl nfsio 14669 235827 0 0 3 0x14280 nfsidl nfsio 37778 144345 0 0 3 0x14280 nfsidl nfsio 32055 223338 0 0 3 0x14280 nfsidl nfsio 37596 153668 0 0 3 0x14280 nfsidl nfsio 29847 358115 0 0 3 0x14280 nfsidl nfsio 9991 493076 0 0 3 0x14280 nfsidl nfsio 46510 472802 0 0 3 0x14280 nfsidl nfsio 65220 467539 0 0 3 0x14280 nfsidl nfsio 78419 83845 0 0 3 0x14280 nfsidl nfsio 45120 409578 0 0 3 0x14280 nfsidl nfsio 71173 169612 32071 0 3 0x82 nanoslp syz-executor.5 32071 273286 74312 0 3 0x82 thrsleep syz-fuzzer 32071 380914 74312 0 3 0x4000082 nanoslp syz-fuzzer 32071 453792 74312 0 3 0x4000082 kqread syz-fuzzer 32071 248432 74312 0 3 0x4000082 thrsleep syz-fuzzer 32071 354351 74312 0 3 0x4000082 thrsleep syz-fuzzer 32071 153222 74312 0 3 0x4000082 thrsleep syz-fuzzer 32071 344471 74312 0 3 0x4000082 thrsleep syz-fuzzer 32071 484184 74312 0 3 0x4000082 thrsleep syz-fuzzer 32071 467896 74312 0 3 0x4000082 thrsleep syz-fuzzer 74312 355325 57145 0 3 0x10008a sigsusp ksh 57145 214648 58923 0 3 0x9a kqread sshd 58923 122702 1 0 3 0x88 kqread sshd 51275 140751 27527 73 3 0x1100090 kqread syslogd 27527 232619 1 0 3 0x100082 netio syslogd 3752 64852 1 0 3 0x100080 kqread resolvd 52262 261870 35494 77 3 0x100092 kqread dhcpleased 53304 183524 35494 77 3 0x100092 kqread dhcpleased 35494 100413 1 0 3 0x80 kqread dhcpleased 45985 310391 0 0 3 0x14200 bored smr 42233 377319 0 0 2 0x14200 zerothread 61483 130196 0 0 3 0x14200 aiodoned aiodoned 85843 157472 0 0 3 0x14200 syncer update 96845 101432 0 0 3 0x14200 cleaner cleaner 73725 99883 0 0 3 0x14200 reaper reaper 34216 275928 0 0 3 0x14200 pgdaemon pagedaemon 22886 250497 0 0 3 0x14200 bored viomb 25178 294584 0 0 3 0x40014200 acpi0 acpi0 58150 311184 0 0 3 0x14200 bored softnet 47793 302265 0 0 3 0x14200 bored systqmp 60756 380455 0 0 3 0x14200 bored systq 51203 468856 0 0 3 0x40014200 bored softclock 78531 231924 0 0 3 0x40014200 idle0 1 46731 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 10232 6448K 7520K 78643K 23053 0 pcb 13 16K 18K 78643K 942 0 rtable 226 7K 10K 78643K 1532 0 ifaddr 88 19K 19K 78643K 876 0 sysctl 2 0K 0K 78643K 2 0 counters 28 17K 17K 78643K 85 0 ioctlops 0 0K 4K 78643K 3197 0 iov 0 0K 32K 78643K 582 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1527 95K 96K 78643K 5268 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 79 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 729 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 14 49K 89K 78643K 5279 0 sigio 0 0K 0K 78643K 124 0 proc 59 55K 79K 78643K 1303 0 subproc 104 6K 6K 78643K 426 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 578 0 in_multi 95 6K 6K 78643K 637 0 ether_multi 1 0K 0K 78643K 90 0 mrt 1 0K 0K 78643K 37 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 235 1049K 1049K 78643K 235 0 exec 0 0K 2K 78643K 1889 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 385 460K 461K 78643K 64581 0 UVM aobj 131 4K 4K 78643K 132 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 385 0 NDP 12 0K 1K 78643K 147 0 temp 135 4705K 4785K 78643K 39422 0 kqueue 13 20K 26K 78643K 357 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 548 0 545 9 8 1 3 0 8 0 rtentry 112 458 0 356 4 1 3 4 0 8 0 unpcb 136 3165 0 3151 42 41 1 6 0 8 0 syncache 296 27 0 27 6 5 1 1 0 8 1 tcpcb 736 1868 0 1862 61 57 4 14 0 8 3 arp 88 74 0 55 1 0 1 1 0 8 0 ipq 40 2 0 2 2 2 0 1 0 8 0 ipqe 40 72 0 72 2 2 0 1 0 8 0 inpcb 304 9490 0 9352 82 71 11 16 0 8 0 rttmr 72 12 0 12 4 4 0 1 0 8 0 nd6 48 113 0 91 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 2 0 1 0 8 0 kcovpl 48 32 0 24 1 0 1 1 0 8 0 ppxss 1152 12 0 12 3 3 0 1 0 8 0 pfstscr 40 9 0 7 1 0 1 1 0 8 0 pfosfp 40 1993 0 1956 1 0 1 1 0 8 0 pfosfpen 112 1993 0 1832 5 0 5 5 0 8 0 pfrktable 1344 65 0 65 3 3 0 1 0 8 0 pftag 88 14 0 8 1 0 1 1 0 8 0 pfqueue 264 3 0 3 1 1 0 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 112 18 0 14 1 0 1 1 0 8 0 pfstate 320 9 0 7 1 0 1 1 0 8 0 pfrule 1360 332 0 327 5 4 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1891 0 1447 34 6 28 29 0 8 0 art_table 32 1892 0 1447 4 0 4 4 0 8 0 art_node 16 457 0 366 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 0 1 0 1 1 0 8 0 semapl 112 727 0 717 1 0 1 1 0 8 0 shmpl 112 129 0 1 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 8450 0 7003 91 0 91 91 0 8 0 ffsino 240 8450 0 7003 86 0 86 86 0 8 0 nchpl 144 15541 0 13916 62 0 62 62 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 57335 0 57334 4 3 1 2 0 8 0 vcpupl 1984 30 0 0 4 0 4 4 0 8 0 vmpool 528 31 0 1 2 0 2 2 0 8 0 pfiaddrpl 120 17 0 17 3 3 0 1 0 8 0 scxspl 216 48229 0 48229 19 18 1 8 0 8 1 plimitpl 152 796 0 782 1 0 1 1 0 8 0 sigapl 424 5530 0 5470 11 3 8 8 0 8 0 futexpl 64 53280 0 53275 3 2 1 1 0 8 0 knotepl 120 50580 0 50499 13 10 3 10 0 8 0 kqueuepl 184 1478 0 1469 21 20 1 7 0 8 0 pipepl 304 1621 0 1593 37 34 3 9 0 8 0 fdescpl 432 5495 0 5470 4 0 4 4 0 8 0 filepl 120 43056 0 42583 65 50 15 19 0 8 0 lockfpl 104 1274 0 1272 3 2 1 2 0 8 0 lockfspl 48 348 0 346 1 0 1 1 0 8 0 sessionpl 144 48 0 32 1 0 1 1 0 8 0 pgrppl 48 128 0 112 1 0 1 1 0 8 0 ucredpl 96 5672 0 5661 1 0 1 1 0 8 0 zombiepl 144 5470 0 5470 1 0 1 1 0 8 1 processpl 1000 5530 0 5470 9 0 9 9 0 8 1 procpl 672 13275 0 13198 15 7 8 9 0 8 0 sosppl 168 21 0 21 6 6 0 1 0 8 0 sockpl 448 13217 0 13062 187 169 18 25 0 8 0 mcl64k 65536 322 0 322 7 6 1 2 0 8 1 mcl16k 16384 59 0 59 14 13 1 1 0 8 1 mcl12k 12288 163 0 163 11 10 1 1 0 8 1 mcl9k 9216 154 0 154 11 11 0 1 0 8 0 mcl8k 8192 296 0 296 9 8 1 1 0 8 1 mcl4k 4096 552 0 552 8 7 1 1 0 8 1 mcl2k2 2112 36 0 36 10 9 1 1 0 8 1 mcl2k 2048 85908 0 85866 17 10 7 10 0 8 0 mtagpl 96 1364 0 1160 16 6 10 13 0 8 0 mbufpl 256 190751 0 190269 218 183 35 155 0 8 0 bufpl 288 13475 0 7069 458 0 458 458 0 8 0 anonpl 24 1523565 0 1504185 233 85 148 150 0 188 21 amapchunkpl 152 167381 0 166579 75 37 38 43 0 158 4 amappl16 200 16546 0 15870 107 64 43 49 0 8 6 amappl15 192 1532 0 1526 1 0 1 1 0 8 0 amappl14 184 1108 0 1102 1 0 1 1 0 8 0 amappl13 176 307 0 303 1 0 1 1 0 8 0 amappl12 168 1461 0 1456 1 0 1 1 0 8 0 amappl11 160 195 0 184 1 0 1 1 0 8 0 amappl10 152 27 0 24 1 0 1 1 0 8 0 amappl9 144 982 0 977 1 0 1 1 0 8 0 amappl8 136 2106 0 2031 3 0 3 3 0 8 0 amappl7 128 1230 0 1219 1 0 1 1 0 8 0 amappl6 120 777 0 756 2 1 1 2 0 8 0 amappl5 112 3640 0 3625 1 0 1 1 0 8 0 amappl4 104 2382 0 2349 3 2 1 2 0 8 0 amappl3 96 2015 0 2001 1 0 1 1 0 8 0 amappl2 88 1856 0 1800 3 1 2 3 0 8 0 amappl1 80 99360 0 98829 22 9 13 18 0 8 1 amappl 88 63559 0 63316 8 1 7 7 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 131 0 1 3 0 3 3 0 8 0 uaddrrnd 24 5526 0 5471 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5526 0 5471 1 0 1 1 0 8 0 vmmpekpl 168 43856 0 43790 4 0 4 4 0 8 0 vmmpepl 168 505746 0 503258 238 107 131 143 0 357 6 vmsppl 272 5525 0 5471 6 2 4 4 0 8 0 rwobjpl 24 125280 0 117586 49 1 48 49 0 8 0 pdppl 4096 11058 0 10972 402 308 94 94 0 8 8 pvpl 32 2937563 0 2915124 386 158 228 246 0 265 20 pmappl 216 5525 0 5471 5 1 4 4 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1614 0 778 27 2 25 25 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace socreate(18,ffff800022ee7038,3,3c) at socreate+0x7b sys/kern/uipc_socket.c:172 sys_socket(ffff8000216bf510,ffff800022ee70c8,ffff800022ee7120) at sys_socket+0xd8 sys/kern/uipc_syscalls.c:96 syscall(ffff800022ee7190) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd6f537c2780, count: -4 ddb> machine ddbcpu 1 No such command ddb> trace socreate(18,ffff800022ee7038,3,3c) at socreate+0x7b sys/kern/uipc_socket.c:172 sys_socket(ffff8000216bf510,ffff800022ee70c8,ffff800022ee7120) at sys_socket+0xd8 sys/kern/uipc_syscalls.c:96 syscall(ffff800022ee7190) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd6f537c2780, count: -4