uvm_fault(0xfffffd80673c7000, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at socreate+0x84: cmpq $0,0(%rax) TID PID UID PRFLAGS PFLAGS CPU COMMAND *249205 26703 0 0 0x4000000 0K syz-executor.3 socreate(18,ffff800022c6bed8,0,29) at socreate+0x84 sys/kern/uipc_socket.c:172 sys_socket(ffff800029537a40,ffff800022c6bf68,ffff800022c6bfc0) at sys_socket+0xd8 sys/kern/uipc_syscalls.c:96 syscall(ffff800022c6c030) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022c6c030) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x37324b866f0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xfffffd80673c7000, 0x0, 0, 1) -> e ddb{0}> trace socreate(18,ffff800022c6bed8,0,29) at socreate+0x84 sys/kern/uipc_socket.c:172 sys_socket(ffff800029537a40,ffff800022c6bf68,ffff800022c6bfc0) at sys_socket+0xd8 sys/kern/uipc_syscalls.c:96 syscall(ffff800022c6c030) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022c6c030) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x37324b866f0, count: -4 ddb{0}> show registers rdi 0xffff800023c9b000 rsi 0x17 rbp 0xffff800022c6bec0 rbx 0x18 rdx 0xffff800023c9b000 rcx 0x16 rax 0 r8 0xffffffff811cfb80 uvm_map_inentry_pc r9 0x16 r10 0 r11 0x18e69c1d9be7c95a r12 0xffff800022c6bed8 r13 0xffffffff82675e40 inet6sw r14 0 r15 0x29 rip 0xffffffff81b8f4e4 socreate+0x84 cs 0x8 rflags 0x10282 __ALIGN_SIZE+0xf282 rsp 0xffff800022c6be60 ss 0x10 socreate+0x84: cmpq $0,0(%rax) ddb{0}> show proc PROC (syz-executor.3) pid=249205 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=83, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff4d20,0xffff8000295377b0 process=0xffff8000ffff0c98 user=0xffff800022c67000, vmspace=0xfffffd80673c7000 estcpu=33, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 45011 125815 78853 0 2 0 syz-executor.2 45011 92470 78853 0 2 0x4000000 syz-executor.2 26047 41337 25169 0 2 0 syz-executor.6 26047 489408 25169 0 2 0x4000000 syz-executor.6 26703 282694 86921 0 2 0 syz-executor.3 *26703 249205 86921 0 7 0x4000000 syz-executor.3 95168 176704 41679 0 2 0 syz-executor.4 95168 371655 41679 0 3 0x4000080 fsleep syz-executor.4 15594 107817 77650 0 2 0 syz-executor.7 15594 17515 77650 0 3 0x4000080 fsleep syz-executor.7 75005 212489 87416 0 2 0 syz-executor.1 75005 315967 87416 0 3 0x4000080 fsleep syz-executor.1 75005 437751 87416 0 2 0x4000000 syz-executor.1 33688 184079 17236 0 2 0 syz-executor.5 33688 176192 17236 0 3 0x4000080 fsleep syz-executor.5 99401 79612 25579 0 2 0 syz-executor.0 99401 402626 25579 0 2 0x4000000 syz-executor.0 87416 413299 29229 0 3 0x82 nanoslp syz-executor.1 78853 42916 29229 0 3 0x82 nanoslp syz-executor.2 17236 339871 29229 0 3 0x82 nanoslp syz-executor.5 77650 366287 29229 0 3 0x82 nanoslp syz-executor.7 25579 217872 29229 0 3 0x82 nanoslp syz-executor.0 41679 480487 29229 0 3 0x82 nanoslp syz-executor.4 86921 73853 29229 0 3 0x82 nanoslp syz-executor.3 31749 213407 0 0 3 0x14200 acct acct 13991 320416 1 0 3 0x100083 ttyin getty 54847 415971 0 0 3 0x14280 nfsidl nfsio 92251 319892 0 0 3 0x14280 nfsidl nfsio 30503 121735 0 0 3 0x14280 nfsidl nfsio 61856 71822 0 0 3 0x14280 nfsidl nfsio 18178 474864 0 0 3 0x14280 nfsidl nfsio 49346 241594 0 0 3 0x14280 nfsidl nfsio 51027 403147 0 0 3 0x14280 nfsidl nfsio 86596 463986 0 0 3 0x14280 nfsidl nfsio 4202 287075 0 0 3 0x14280 nfsidl nfsio 56229 312831 0 0 3 0x14280 nfsidl nfsio 14788 280181 0 0 3 0x14280 nfsidl nfsio 79857 229094 0 0 3 0x14280 nfsidl nfsio 11723 329626 0 0 3 0x14280 nfsidl nfsio 71366 252714 0 0 3 0x14280 nfsidl nfsio 46298 333204 0 0 3 0x14280 nfsidl nfsio 86221 211888 0 0 3 0x14280 nfsidl nfsio 20072 439826 0 0 3 0x14280 nfsidl nfsio 22172 221673 0 0 3 0x14280 nfsidl nfsio 98013 175872 0 0 3 0x14280 nfsidl nfsio 12748 225392 0 0 3 0x14280 nfsidl nfsio 37291 103883 0 0 3 0x14200 bored sosplice 25169 76466 29229 0 3 0x82 nanoslp syz-executor.6 29229 117535 6326 0 3 0x82 thrsleep syz-fuzzer 29229 360032 6326 0 3 0x4000082 thrsleep syz-fuzzer 29229 433310 6326 0 3 0x4000082 thrsleep syz-fuzzer 29229 169125 6326 0 3 0x4000082 thrsleep syz-fuzzer 29229 72478 6326 0 3 0x4000082 kqread syz-fuzzer 29229 316367 6326 0 3 0x4000082 thrsleep syz-fuzzer 29229 84439 6326 0 3 0x4000082 thrsleep syz-fuzzer 29229 86836 6326 0 3 0x4000082 thrsleep syz-fuzzer 29229 196588 6326 0 3 0x4000082 thrsleep syz-fuzzer 6326 146491 29801 0 3 0x10008a sigsusp ksh 29801 231880 21715 0 3 0x9a kqread sshd 21715 22129 1 0 3 0x88 kqread sshd 48359 225491 28577 74 3 0x1100092 bpf pflogd 28577 519453 1 0 3 0x80 netio pflogd 43667 192758 30093 73 3 0x1100090 kqread syslogd 30093 295331 1 0 3 0x100082 netio syslogd 79234 506415 1 0 3 0x100080 kqread resolvd 44676 232137 86129 77 3 0x100092 kqread dhcpleased 60276 116918 86129 77 3 0x100092 kqread dhcpleased 86129 330393 1 0 3 0x80 kqread dhcpleased 30046 17412 0 0 3 0x14200 bored smr 2967 103609 0 0 2 0x14200 zerothread 84483 91404 0 0 3 0x14200 aiodoned aiodoned 68778 115801 0 0 3 0x14200 syncer update 18114 411919 0 0 3 0x14200 cleaner cleaner 24369 338718 0 0 3 0x14200 reaper reaper 49716 161132 0 0 3 0x14200 pgdaemon pagedaemon 44494 40627 0 0 3 0x14200 bored viomb 22366 30079 0 0 3 0x40014200 acpi0 acpi0 89936 213965 0 0 7 0x40014200 idle1 12674 228079 0 0 3 0x14200 bored softnet 84476 471168 0 0 3 0x14200 bored systqmp 59730 473723 0 0 3 0x14200 bored systq 22983 28229 0 0 3 0x40014200 bored softclock 66624 432605 0 0 3 0x40014200 idle0 1 160203 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 26703 (syz-executor.3) thread 0xffff800029537a40 (249205) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82b6e770) #0 witness_lock+0x44d #1 kpageflttrap+0x23d sys/arch/amd64/amd64/trap.c:274 #2 kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 #3 alltraps_kern_meltdown+0x7b #4 socreate+0x84 sys/kern/uipc_socket.c:172 #5 sys_socket+0xd8 sys/kern/uipc_syscalls.c:96 #6 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #6 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #7 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10215 6495K 6871K 78643K 18449 0 pcb 13 14K 16K 78643K 733 0 rtable 249 11K 13K 78643K 1492 0 ifaddr 90 20K 20K 78643K 587 0 sysctl 2 0K 0K 78643K 2 0 counters 56 35K 36K 78643K 240 0 ioctlops 0 0K 4K 78643K 2241 0 iov 0 0K 24K 78643K 455 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1332 83K 84K 78643K 6176 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 47 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 860 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 18 65K 93K 78643K 4959 0 sigio 0 0K 0K 78643K 91 0 proc 71 87K 124K 78643K 1175 0 subproc 104 6K 6K 78643K 364 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 209 0 in_multi 97 6K 6K 78643K 411 0 ether_multi 1 0K 0K 78643K 47 0 mrt 1 0K 0K 78643K 31 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 253 1129K 1129K 78643K 253 0 exec 0 0K 2K 78643K 1592 0 pfkey data 0 0K 0K 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 434 288K 292K 78643K 63275 0 UVM aobj 131 8K 8K 78643K 134 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 253 0 NDP 12 0K 1K 78643K 161 0 temp 138 4719K 8815K 78643K 36272 0 kqueue 12 18K 26K 78643K 252 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 242 0 239 4 3 1 3 0 8 0 rtentry 112 372 0 268 4 0 4 4 0 8 0 unpcb 136 3726 0 3711 50 49 1 6 0 8 0 syncache 296 12 0 12 4 4 0 1 0 8 0 tcpqe 32 77 0 77 4 4 0 1 0 8 0 tcpcb 736 1743 0 1739 64 63 1 14 0 8 0 arp 120 67 0 46 1 0 1 1 0 8 0 inpcb 304 4653 0 4646 75 71 4 11 0 8 3 rttmr 72 6 0 6 2 2 0 1 0 8 0 nd6 48 89 0 65 1 0 1 1 0 8 0 pkpcb 40 12 0 12 3 2 1 1 0 8 1 kcovpl 48 28 0 20 1 0 1 1 0 8 0 ppxss 1248 56 0 56 4 4 0 1 0 8 0 pfstscr 40 75 0 75 3 3 0 1 0 8 0 pffrag 232 10 0 9 4 3 1 1 0 482 0 pffrnode 88 10 0 9 4 3 1 1 0 8 0 pffrent 40 214 0 213 4 3 1 1 0 8 0 pfosfp 40 1433 0 1008 5 0 5 5 0 8 0 pfosfpen 112 1433 0 714 21 0 21 21 0 8 0 pfrktable 1344 57 0 48 2 1 1 2 0 8 0 pftag 88 11 0 8 1 0 1 1 0 8 0 pfstitem 24 31 0 29 1 0 1 1 0 8 0 pfstkey 112 173 0 171 1 0 1 1 0 8 0 pfstate 320 99 0 97 3 2 1 3 0 8 0 pfrule 1360 117 0 90 6 3 3 3 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1613 0 1189 37 10 27 29 0 8 0 art_table 32 1614 0 1189 4 0 4 4 0 8 0 art_node 16 364 0 272 1 0 1 1 0 8 0 sysvmsgpl 40 52 0 19 1 0 1 1 0 8 0 semapl 112 858 0 848 1 0 1 1 0 8 0 shmpl 112 131 0 3 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 10280 0 8828 92 0 92 92 0 8 0 ffsino 272 10280 0 8828 98 0 98 98 0 8 0 nchpl 144 17586 0 15957 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 67159 0 67159 6 5 1 2 0 8 1 percpumem 16 132 0 92 1 0 1 1 0 8 0 vcpupl 2048 48 0 0 6 0 6 6 0 8 0 vmpool 560 52 0 4 5 1 4 4 0 8 0 pfiaddrpl 120 25 0 8 1 0 1 1 0 8 0 scxspl 216 40521 0 40521 24 23 1 8 0 8 1 plimitpl 152 721 0 706 1 0 1 1 0 8 0 sigapl 424 5246 0 5179 8 0 8 8 0 8 0 futexpl 64 46362 0 46358 2 1 1 1 0 8 0 knotepl 120 186 0 0 5 0 5 5 0 8 0 kqueuepl 216 958 0 950 21 20 1 5 0 8 0 pipepl 336 1484 0 1456 49 43 6 11 0 8 3 fdescpl 496 5210 0 5179 5 1 4 5 0 8 0 filepl 152 47072 0 46833 105 87 18 22 0 8 7 lockfpl 104 1284 0 1282 5 4 1 3 0 8 0 lockfspl 48 326 0 324 1 0 1 1 0 8 0 sessionpl 144 45 0 28 1 0 1 1 0 8 0 pgrppl 48 49 0 32 1 0 1 1 0 8 0 ucredpl 96 15349 0 15337 1 0 1 1 0 8 0 zombiepl 144 5179 0 5179 4 3 1 1 0 8 1 processpl 1064 5246 0 5179 5 0 5 5 0 8 0 procpl 672 13662 0 13578 17 9 8 10 0 8 1 srpgc 96 22 0 22 6 6 0 1 0 8 0 sosppl 168 40 0 40 8 8 0 1 0 8 0 sockpl 480 8643 0 8618 233 225 8 29 0 8 4 mcl64k 65536 15 0 0 2 0 2 2 0 8 0 mcl16k 16384 8 0 0 1 0 1 1 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 25 0 0 4 1 3 3 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 170 0 0 20 0 20 20 0 8 0 mtagpl 96 293 0 0 7 1 6 7 0 8 0 mbufpl 256 6960 0 0 422 0 422 422 0 8 0 bufpl 288 11479 0 5143 453 0 453 453 0 8 0 anonpl 24 1416368 0 1398764 191 51 140 152 0 186 0 amapchunkpl 152 164974 0 164018 91 52 39 52 0 158 1 amappl16 200 13111 0 12484 66 27 39 45 0 8 0 amappl15 192 1445 0 1437 1 0 1 1 0 8 0 amappl14 184 1191 0 1183 1 0 1 1 0 8 0 amappl13 176 1073 0 1069 1 0 1 1 0 8 0 amappl12 168 160 0 147 1 0 1 1 0 8 0 amappl11 160 300 0 284 1 0 1 1 0 8 0 amappl10 152 993 0 987 1 0 1 1 0 8 0 amappl9 144 1488 0 1482 1 0 1 1 0 8 0 amappl8 136 1182 0 1089 4 0 4 4 0 8 0 amappl7 128 314 0 302 1 0 1 1 0 8 0 amappl6 120 1287 0 1259 2 1 1 2 0 8 0 amappl5 112 4231 0 4210 1 0 1 1 0 8 0 amappl4 104 2781 0 2743 4 2 2 2 0 8 0 amappl3 96 1268 0 1253 1 0 1 1 0 8 0 amappl2 88 1792 0 1747 3 1 2 3 0 8 0 amappl1 80 98463 0 97848 21 7 14 19 0 8 0 amappl 88 62348 0 62041 8 0 8 8 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 133 0 3 3 0 3 3 0 8 0 uaddrrnd 24 5262 0 5183 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5262 0 5183 1 0 1 1 0 8 0 vmmpekpl 168 43124 0 43054 4 0 4 4 0 8 0 vmmpepl 168 482191 0 479325 314 179 135 176 0 357 2 vmsppl 368 5261 0 5183 9 1 8 8 0 8 0 rwobjpl 56 122969 0 115200 112 1 111 111 0 8 0 pdppl 4096 10531 0 10414 396 279 117 117 0 8 0 pvpl 32 2464993 0 2442651 338 110 228 246 0 265 0 pmappl 248 5261 0 5183 6 1 5 5 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1675 0 407 37 0 37 37 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace socreate(18,ffff800022c6bed8,0,29) at socreate+0x84 sys/kern/uipc_socket.c:172 sys_socket(ffff800029537a40,ffff800022c6bf68,ffff800022c6bfc0) at sys_socket+0xd8 sys/kern/uipc_syscalls.c:96 syscall(ffff800022c6c030) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022c6c030) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x37324b866f0, count: -4 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020ce8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020ce8ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff800020ce8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020ce8ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -5