uvm_fault(0xfffffd806eed9458, 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 372935 90385 32767 0x10 0 1 syz-executor.0 *153813 90385 32767 0x10 0x4000000 0K syz-executor.0 socreate(18,ffff80002e3d6220,3,2c) at socreate+0x84 sys/kern/uipc_socket.c:172 sys_socketpair(ffff8000295107e0,ffff80002e3d62b8,ffff80002e3d6310) at sys_socketpair+0x6e sys/kern/uipc_syscalls.c:430 syscall(ffff80002e3d6380) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e3d6380) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x43e438f68c0, 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(0xfffffd806eed9458, 0x0, 0, 1) -> e ddb{0}> trace socreate(18,ffff80002e3d6220,3,2c) at socreate+0x84 sys/kern/uipc_socket.c:172 sys_socketpair(ffff8000295107e0,ffff80002e3d62b8,ffff80002e3d6310) at sys_socketpair+0x6e sys/kern/uipc_syscalls.c:430 syscall(ffff80002e3d6380) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e3d6380) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x43e438f68c0, count: -4 ddb{0}> show registers rdi 0xffff800021227000 rsi 0x16c1 __ALIGN_SIZE+0x6c1 rbp 0xffff80002e3d6200 rbx 0x18 rdx 0xffff800021227000 rcx 0x16c0 __ALIGN_SIZE+0x6c0 rax 0 r8 0xffffffff81e690f0 uvm_map_inentry_pc r9 0x13 r10 0 r11 0x909d5a62e71a4183 r12 0xffff80002e3d6220 r13 0xffffffff8288cf78 inet6sw+0x2d8 r14 0x3 r15 0x2c rip 0xffffffff81e82144 socreate+0x84 cs 0x8 rflags 0x10286 __ALIGN_SIZE+0xf286 rsp 0xffff80002e3d61a0 ss 0x10 socreate+0x84: cmpq $0,0(%rax) ddb{0}> show proc PROC (syz-executor.0) pid=153813 stat=onproc flags process=10 proc=4000000 pri=81, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff8000295117a0,0xffff800029511a50 process=0xffff8000ffff3a48 user=0xffff80002e3d1000, vmspace=0xfffffd806eed9458 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 4584 433103 10249 32767 2 0x10 syz-executor.6 90385 372935 44859 32767 7 0x10 syz-executor.0 *90385 153813 44859 32767 7 0x4000010 syz-executor.0 46451 381791 74648 32767 2 0x10 syz-executor.4 46451 224462 74648 32767 2 0x4000010 syz-executor.4 64563 46362 91640 32767 3 0x90 nanoslp syz-executor.3 64563 44016 91640 32767 3 0x4000090 ttyin syz-executor.3 64563 359760 91640 32767 3 0x4000090 ttyin syz-executor.3 64563 67256 91640 32767 3 0x4000090 fsleep syz-executor.3 21999 298094 35798 32767 2 0x10 syz-executor.1 21999 517937 35798 32767 2 0x4000010 syz-executor.1 91640 478076 14424 32767 3 0x90 nanoslp syz-executor.3 14424 162808 66331 0 3 0x82 wait syz-executor.3 10625 65238 55262 32767 2 0x10 syz-executor.7 55262 124722 66331 0 3 0x82 wait syz-executor.7 35798 237818 11545 32767 3 0x90 nanoslp syz-executor.1 11545 485965 66331 0 3 0x82 wait syz-executor.1 74648 493315 39419 32767 3 0x90 nanoslp syz-executor.4 39419 30906 66331 0 3 0x82 wait syz-executor.4 89824 503282 0 0 3 0x14200 bored sosplice 35890 463817 88991 32767 2 0x10 syz-executor.5 10249 497020 31313 32767 3 0x90 nanoslp syz-executor.6 88991 286964 66331 0 3 0x82 wait syz-executor.5 31313 234497 66331 0 3 0x82 wait syz-executor.6 49354 392809 77561 32767 2 0x10 syz-executor.2 44859 315703 26690 32767 3 0x90 nanoslp syz-executor.0 77561 85043 66331 0 3 0x82 wait syz-executor.2 26690 269800 66331 0 3 0x82 wait syz-executor.0 66331 123560 51985 0 3 0x82 thrsleep syz-fuzzer 66331 304460 51985 0 3 0x4000082 nanoslp syz-fuzzer 66331 125811 51985 0 3 0x4000082 nanoslp syz-fuzzer 66331 90549 51985 0 3 0x4000082 kqread syz-fuzzer 66331 157064 51985 0 3 0x4000082 thrsleep syz-fuzzer 66331 216198 51985 0 3 0x4000082 thrsleep syz-fuzzer 66331 142261 51985 0 3 0x4000082 thrsleep syz-fuzzer 66331 368760 51985 0 3 0x4000082 thrsleep syz-fuzzer 51985 354170 90563 0 3 0x10008a sigsusp ksh 90563 122945 55838 0 3 0x9a kqread sshd 3691 346561 1 0 3 0x100083 ttyin getty 55838 454376 1 0 3 0x88 kqread sshd 80210 11848 52643 73 3 0x1100090 kqread syslogd 52643 399916 1 0 3 0x100082 netio syslogd 13243 178511 1 0 3 0x100080 kqread resolvd 79812 222639 86065 77 3 0x100092 kqread dhcpleased 78198 44476 86065 77 3 0x100092 kqread dhcpleased 86065 130563 1 0 3 0x80 kqread dhcpleased 94496 362860 0 0 3 0x14200 bored smr 57257 200667 0 0 2 0x14200 zerothread 51293 455889 0 0 3 0x14200 aiodoned aiodoned 97348 124297 0 0 3 0x14200 syncer update 70550 34536 0 0 3 0x14200 cleaner cleaner 34746 313391 0 0 3 0x14200 reaper reaper 39318 322460 0 0 3 0x14200 pgdaemon pagedaemon 46026 388950 0 0 3 0x14200 bored viomb 34569 306968 0 0 3 0x40014200 acpi0 acpi0 70410 435745 0 0 3 0x40014200 idle1 23694 94732 0 0 3 0x14200 bored softnet 98726 67439 0 0 3 0x14200 bored systqmp 58519 466183 0 0 3 0x14200 bored systq 1360 337164 0 0 3 0x40014200 bored softclock 79708 290510 0 0 3 0x40014200 idle0 1 379727 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 90385 (syz-executor.0) thread 0xffff8000295107e0 (153813) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82abcc60) #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_socketpair+0x6e sys/kern/uipc_syscalls.c:430 #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 10213 6412K 6419K 78643K 11329 0 pcb 13 16K 20K 78643K 19 0 rtable 276 8K 8K 78643K 1894 0 ifaddr 81 17K 17K 78643K 139 0 sysctl 3 1K 5K 78643K 11 0 counters 56 35K 35K 78643K 72 0 ioctlops 0 0K 2K 78643K 435 0 iov 0 0K 28K 78643K 3278 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1271 79K 79K 78643K 5570 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 222 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 5022 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 23 85K 121K 78643K 22016 0 sigio 0 0K 0K 78643K 609 0 proc 56 74K 123K 78643K 1842 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 41795 0 in_multi 99 6K 7K 78643K 501 0 ether_multi 1 0K 0K 78643K 100 0 mrt 2 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 295 1314K 1314K 78643K 295 0 exec 0 0K 2K 78643K 3743 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 468 94K 541K 78643K 288773 0 UVM aobj 131 4K 4K 78643K 134 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 661 0 NDP 11 0K 2K 78643K 51 0 temp 125 4703K 4831K 78643K 54171 0 kqueue 12 18K 28K 78643K 1707 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 1956 0 1953 24 23 1 3 0 8 0 rtentry 112 261 0 132 4 0 4 4 0 8 0 unpcb 136 16336 0 16323 135 130 5 9 0 8 4 syncache 296 155 0 155 35 35 0 1 0 8 0 tcpqe 32 45 0 45 17 17 0 1 0 8 0 tcpcb 736 29331 0 29322 504 494 10 26 0 8 8 arp 120 41 0 22 1 0 1 1 0 8 0 ipq 40 59 0 59 11 11 0 1 0 8 0 ipqe 40 485 0 485 11 11 0 1 0 8 0 inpcb 304 42142 0 42128 307 298 9 17 0 8 7 rttmr 72 22 0 19 1 0 1 1 0 8 0 ip6q 72 24 0 24 5 5 0 1 0 8 0 ip6af 40 47 0 47 5 5 0 1 0 8 0 nd6 48 97 0 58 1 0 1 1 0 8 0 kcovpl 48 16 0 8 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1211 0 581 44 3 41 41 0 8 0 art_table 32 1212 0 581 6 0 6 6 0 8 0 art_node 16 260 0 141 1 0 1 1 0 8 0 sysvmsgpl 40 20 0 7 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 5019 0 5009 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 30871 0 29400 93 0 93 93 0 8 0 ffsino 272 30871 0 29400 99 0 99 99 0 8 0 nchpl 144 59430 0 57795 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 198005 0 198005 13 12 1 2 0 8 1 percpumem 16 48 0 8 1 0 1 1 0 8 0 scxspl 216 172162 0 172162 57 54 3 8 0 8 3 plimitpl 152 4601 0 4577 19 18 1 2 0 8 0 sigapl 424 22276 0 22226 7 1 6 7 0 8 0 futexpl 64 217064 0 217063 12 11 1 1 0 8 0 knotepl 120 1292 0 0 25 8 17 17 0 8 0 kqueuepl 216 7501 0 7493 120 119 1 10 0 8 0 pipepl 336 4482 0 4453 134 128 6 14 0 8 3 fdescpl 496 22261 0 22227 7 2 5 6 0 8 0 filepl 152 165633 0 165391 259 244 15 22 0 8 5 lockfpl 104 7772 0 7770 4 3 1 2 0 8 0 lockfspl 48 1788 0 1786 1 0 1 1 0 8 0 sessionpl 144 31 0 15 1 0 1 1 0 8 0 pgrppl 48 199 0 183 1 0 1 1 0 8 0 ucredpl 96 26134 0 26116 1 0 1 1 0 8 0 zombiepl 144 22227 0 22226 5 4 1 1 0 8 0 processpl 1064 22276 0 22226 5 1 4 4 0 8 0 procpl 672 67487 0 67424 20 13 7 8 0 8 0 sosppl 168 286 0 286 31 31 0 1 0 8 0 sockpl 480 61525 0 61500 1104 1091 13 42 0 8 9 mcl64k 65536 44 0 0 5 2 3 4 0 8 0 mcl16k 16384 55 0 0 5 2 3 3 0 8 0 mcl12k 12288 41 0 0 2 0 2 2 0 8 0 mcl9k 9216 41 0 0 2 0 2 2 0 8 0 mcl8k 8192 41 0 0 6 3 3 3 0 8 0 mcl4k 4096 89 0 0 10 7 3 9 0 8 0 mcl2k2 2112 14 0 0 1 0 1 1 0 8 0 mcl2k 2048 562 0 0 21 8 13 21 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 1813 0 0 63 4 59 59 0 8 0 bufpl 288 36883 0 30548 453 0 453 453 0 8 0 anonpl 24 6568103 0 6553221 410 297 113 125 0 186 0 amapchunkpl 152 818205 0 817454 2429 2394 35 2228 0 158 1 amappl16 200 70473 0 70045 369 345 24 37 0 8 0 amappl15 192 3686 0 3678 1 0 1 1 0 8 0 amappl14 184 2755 0 2753 1 0 1 1 0 8 0 amappl13 176 3554 0 3546 1 0 1 1 0 8 0 amappl12 168 30 0 29 3 2 1 1 0 8 0 amappl11 160 4142 0 4129 1 0 1 1 0 8 0 amappl10 152 2669 0 2663 1 0 1 1 0 8 0 amappl9 144 5873 0 5867 1 0 1 1 0 8 0 amappl8 136 1786 0 1575 9 1 8 8 0 8 0 amappl7 128 156 0 144 1 0 1 1 0 8 0 amappl6 120 5628 0 5597 8 7 1 2 0 8 0 amappl5 112 23263 0 23247 1 0 1 1 0 8 0 amappl4 104 5715 0 5679 15 13 2 2 0 8 1 amappl3 96 4205 0 4187 1 0 1 1 0 8 0 amappl2 88 5484 0 5424 3 1 2 3 0 8 0 amappl1 80 404597 0 403994 42 27 15 18 0 8 1 amappl 88 287101 0 286845 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 22261 0 22227 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 22261 0 22227 1 0 1 1 0 8 0 vmmpekpl 168 166175 0 166107 4 0 4 4 0 8 0 vmmpepl 168 2052728 0 2049976 348 213 135 143 0 357 0 vmsppl 368 22260 0 22227 4 0 4 4 0 8 0 rwobjpl 56 509585 0 502028 137 27 110 112 0 8 0 pdppl 4096 44529 0 44454 457 376 81 93 0 8 6 pvpl 32 10728370 0 10708187 739 554 185 257 0 265 0 pmappl 248 22260 0 22227 4 1 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1918 0 1041 26 0 26 26 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace socreate(18,ffff80002e3d6220,3,2c) at socreate+0x84 sys/kern/uipc_socket.c:172 sys_socketpair(ffff8000295107e0,ffff80002e3d62b8,ffff80002e3d6310) at sys_socketpair+0x6e sys/kern/uipc_syscalls.c:430 syscall(ffff80002e3d6380) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e3d6380) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x43e438f68c0, 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 __sanitizer_cov_trace_const_cmp4(0,0) at __sanitizer_cov_trace_const_cmp4+0x1a kd_curproc sys/dev/kcov.c:577 [inline] __sanitizer_cov_trace_const_cmp4(0,0) at __sanitizer_cov_trace_const_cmp4+0x1a sys/dev/kcov.c:225 sys_clock_gettime(ffff800029510d20,ffff800022c48830,ffff800022c48890) at sys_clock_gettime+0xb5 sys/kern/kern_time.c:172 syscall(ffff800022c48900) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022c48900) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd8710, count: 8 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 __sanitizer_cov_trace_const_cmp4(0,0) at __sanitizer_cov_trace_const_cmp4+0x1a kd_curproc sys/dev/kcov.c:577 [inline] __sanitizer_cov_trace_const_cmp4(0,0) at __sanitizer_cov_trace_const_cmp4+0x1a sys/dev/kcov.c:225 sys_clock_gettime(ffff800029510d20,ffff800022c48830,ffff800022c48890) at sys_clock_gettime+0xb5 sys/kern/kern_time.c:172 syscall(ffff800022c48900) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022c48900) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd8710, count: -7