uvm_fault(0xfffffd806bdbdd00, 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 328359 75589 32767 0x10 0 0 syz-executor.3 *315468 54004 32767 0x10 0x4000000 1K syz-executor.5 socreate(18,ffff800021e76d90,0,29) at socreate+0x84 sys/kern/uipc_socket.c:172 sys_socketpair(ffff8000fffecfd0,ffff800021e76e28,ffff800021e76e80) at sys_socketpair+0x6e sys/kern/uipc_syscalls.c:430 syscall(ffff800021e76ef0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021e76ef0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc1198912810, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: uvm_fault(0xfffffd806bdbdd00, 0x0, 0, 1) -> e ddb{1}> trace socreate(18,ffff800021e76d90,0,29) at socreate+0x84 sys/kern/uipc_socket.c:172 sys_socketpair(ffff8000fffecfd0,ffff800021e76e28,ffff800021e76e80) at sys_socketpair+0x6e sys/kern/uipc_syscalls.c:430 syscall(ffff800021e76ef0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021e76ef0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc1198912810, count: -4 ddb{1}> show registers rdi 0xffff8000292f3000 rsi 0x21ce __ALIGN_SIZE+0x11ce rbp 0xffff800021e76d70 rbx 0x18 rdx 0xffff8000292f3000 rcx 0x21cd __ALIGN_SIZE+0x11cd rax 0 r8 0xffffffff81e690f0 uvm_map_inentry_pc r9 0x16 r10 0 r11 0xac894fcaf673c3f5 r12 0xffff800021e76d90 r13 0xffffffff8288cca0 inet6sw r14 0 r15 0x29 rip 0xffffffff81e82144 socreate+0x84 cs 0x8 rflags 0x10286 __ALIGN_SIZE+0xf286 rsp 0xffff800021e76d10 ss 0x10 socreate+0x84: cmpq $0,0(%rax) ddb{1}> show proc PROC (syz-executor.5) pid=315468 stat=onproc flags process=10 proc=4000000 pri=55, usrpri=55, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff4a80,0xffff8000fffec800 process=0xffff8000fffeadd8 user=0xffff800021e71000, vmspace=0xfffffd806bdbdd00 estcpu=5, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 88512 221910 12840 32767 2 0x10 syz-executor.6 63153 315857 7056 32767 2 0x10 syz-executor.1 65043 131054 19894 32767 2 0x10 syz-executor.7 65043 373247 19894 32767 3 0x4000090 fsleep syz-executor.7 65043 326527 19894 32767 3 0x4000090 fsleep syz-executor.7 65043 74274 19894 32767 3 0x4000090 netio syz-executor.7 75589 328359 43098 32767 7 0x10 syz-executor.3 75589 521129 43098 32767 2 0x4000010 syz-executor.3 14741 388972 56751 32767 2 0x10 syz-executor.2 54004 489480 81115 32767 2 0x10 syz-executor.5 *54004 315468 81115 32767 7 0x4000010 syz-executor.5 9870 464710 3525 32767 2 0x10 syz-executor.0 9870 510146 3525 32767 3 0x4000090 fsleep syz-executor.0 3525 496104 63469 32767 3 0x90 nanoslp syz-executor.0 63469 214429 49834 0 3 0x82 wait syz-executor.0 39810 91646 0 0 3 0x14200 bored sosplice 12840 399716 94681 32767 3 0x90 nanoslp syz-executor.6 19894 142887 61438 32767 3 0x90 nanoslp syz-executor.7 94681 89256 49834 0 3 0x82 wait syz-executor.6 61438 115941 49834 0 3 0x82 wait syz-executor.7 81115 418393 24617 32767 3 0x90 nanoslp syz-executor.5 56751 456154 32404 32767 3 0x90 nanoslp syz-executor.2 15954 383007 13336 32767 3 0x90 nanoslp syz-executor.4 24617 94706 49834 0 3 0x82 wait syz-executor.5 43098 22702 29563 32767 3 0x90 nanoslp syz-executor.3 13336 502240 49834 0 3 0x82 wait syz-executor.4 7056 89898 75936 32767 3 0x90 nanoslp syz-executor.1 32404 268917 49834 0 3 0x82 wait syz-executor.2 29563 248440 49834 0 3 0x82 wait syz-executor.3 75936 85448 49834 0 3 0x82 wait syz-executor.1 49834 156031 11725 0 3 0x82 thrsleep syz-fuzzer 49834 377384 11725 0 3 0x4000082 thrsleep syz-fuzzer 49834 412220 11725 0 3 0x4000082 thrsleep syz-fuzzer 49834 24793 11725 0 3 0x4000082 kqread syz-fuzzer 49834 406838 11725 0 3 0x4000082 thrsleep syz-fuzzer 49834 188232 11725 0 3 0x4000082 thrsleep syz-fuzzer 49834 181274 11725 0 3 0x4000082 thrsleep syz-fuzzer 49834 110655 11725 0 3 0x4000082 thrsleep syz-fuzzer 49834 335632 11725 0 3 0x4000082 thrsleep syz-fuzzer 11725 459232 86099 0 3 0x10008a sigsusp ksh 86099 483220 24827 0 3 0x9a kqread sshd 65448 448752 1 0 3 0x100083 ttyin getty 24827 86724 1 0 3 0x88 kqread sshd 94886 465936 47237 73 3 0x1100090 kqread syslogd 47237 59588 1 0 3 0x100082 netio syslogd 20884 191864 1 0 3 0x100080 kqread resolvd 65605 124487 25314 77 3 0x100092 kqread dhcpleased 36164 518244 25314 77 3 0x100092 kqread dhcpleased 25314 409223 1 0 3 0x80 kqread dhcpleased 44566 80997 0 0 3 0x14200 bored smr 32385 264843 0 0 2 0x14200 zerothread 80419 518142 0 0 3 0x14200 aiodoned aiodoned 60738 350662 0 0 3 0x14200 syncer update 50599 12376 0 0 3 0x14200 cleaner cleaner 17614 441956 0 0 3 0x14200 reaper reaper 1901 30089 0 0 3 0x14200 pgdaemon pagedaemon 56133 119842 0 0 3 0x14200 bored viomb 32403 398353 0 0 3 0x40014200 acpi0 acpi0 49726 443763 0 0 3 0x40014200 idle1 33315 129555 0 0 3 0x14200 bored softnet 82139 462220 0 0 3 0x14200 bored systqmp 64519 109372 0 0 3 0x14200 bored systq 45737 92409 0 0 3 0x40014200 bored softclock 33866 390648 0 0 3 0x40014200 idle0 1 441582 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 54004 (syz-executor.5) thread 0xffff8000fffecfd0 (315468) 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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10175 6407K 6419K 78643K 11268 0 pcb 13 10K 12K 78643K 15 0 rtable 248 7K 7K 78643K 554 0 ifaddr 81 16K 16K 78643K 89 0 sysctl 3 1K 1K 78643K 3 0 counters 56 35K 35K 78643K 58 0 ioctlops 0 0K 2K 78643K 82 0 iov 0 0K 24K 78643K 389 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1271 79K 79K 78643K 1917 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 21 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 446 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 25 93K 121K 78643K 3045 0 sigio 0 0K 0K 78643K 172 0 proc 56 74K 111K 78643K 641 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 453 0 in_multi 99 6K 6K 78643K 163 0 ether_multi 1 0K 0K 78643K 21 0 mrt 3 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 67 307K 307K 78643K 67 0 exec 0 0K 2K 78643K 1296 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 357 89K 102K 78643K 41373 0 UVM aobj 131 8K 8K 78643K 138 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 69 0 NDP 11 0K 2K 78643K 30 0 temp 125 4703K 4767K 78643K 11216 0 kqueue 12 18K 26K 78643K 254 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> 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 180 0 177 3 2 1 3 0 8 0 rtentry 112 131 0 16 4 0 4 4 0 8 0 unpcb 136 3352 0 3339 41 40 1 9 0 8 0 syncache 296 38 0 38 8 8 0 1 0 8 0 tcpqe 32 16 0 16 4 4 0 1 0 8 0 tcpcb 736 3957 0 3946 70 67 3 17 0 8 0 arp 120 22 0 3 1 0 1 1 0 8 0 ipq 40 6 0 5 3 2 1 1 0 8 0 ipqe 40 104 0 100 3 2 1 1 0 8 0 inpcb 304 5137 0 5119 57 54 3 17 0 8 0 ip6q 72 7 0 7 1 1 0 1 0 8 0 ip6af 40 13 0 13 1 1 0 1 0 8 0 nd6 48 34 0 6 1 0 1 1 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 530 0 61 31 1 30 30 0 8 0 art_table 32 531 0 61 4 0 4 4 0 8 0 art_node 16 130 0 25 1 0 1 1 0 8 0 semapl 112 444 0 434 1 0 1 1 0 8 0 shmpl 112 135 0 7 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 5502 0 4057 91 0 91 91 0 8 0 ffsino 272 5502 0 4057 97 0 97 97 0 8 0 nchpl 144 9482 0 7856 62 0 62 62 0 8 0 uvmvnodes 80 5628 0 0 115 0 115 115 0 8 0 vnodes 224 5628 0 0 332 0 332 332 0 8 0 namei 1024 30901 0 30901 4 3 1 2 0 8 1 percpumem 16 41 0 1 1 0 1 1 0 8 0 scxspl 216 32345 0 32345 18 17 1 8 0 8 1 plimitpl 152 399 0 377 4 3 1 2 0 8 0 sigapl 424 3318 0 3266 7 1 6 7 0 8 0 futexpl 64 25792 0 25789 3 2 1 1 0 8 0 knotepl 120 177 0 0 6 1 5 6 0 8 0 kqueuepl 216 1475 0 1467 42 41 1 12 0 8 0 pipepl 336 1174 0 1145 33 30 3 13 0 8 0 fdescpl 496 3303 0 3267 7 2 5 6 0 8 0 filepl 152 24646 0 24409 65 53 12 20 0 8 1 lockfpl 104 258 0 256 1 0 1 1 0 8 0 lockfspl 48 118 0 116 1 0 1 1 0 8 0 sessionpl 144 24 0 8 1 0 1 1 0 8 0 pgrppl 48 34 0 18 1 0 1 1 0 8 0 ucredpl 96 3532 0 3514 1 0 1 1 0 8 0 zombiepl 144 3267 0 3266 1 0 1 1 0 8 0 processpl 1064 3318 0 3266 5 1 4 4 0 8 0 procpl 672 9612 0 9546 11 4 7 8 0 8 1 sosppl 168 40 0 39 4 3 1 1 0 8 0 sockpl 480 8834 0 8802 183 178 5 35 0 8 0 mcl64k 65536 20 0 0 3 0 3 3 0 8 1 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 21 0 0 2 0 2 2 0 8 0 mcl9k 9216 16 0 0 2 0 2 2 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 188 0 0 20 0 20 20 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 8942 0 0 554 0 554 554 0 8 0 bufpl 288 9296 0 2961 453 0 453 453 0 8 0 anonpl 24 918624 0 904441 150 55 95 112 0 186 0 amapchunkpl 152 112711 0 111929 71 36 35 45 0 158 1 amappl16 200 8587 0 8191 53 31 22 34 0 8 0 amappl15 192 843 0 832 1 0 1 1 0 8 0 amappl14 184 409 0 403 1 0 1 1 0 8 0 amappl13 176 428 0 425 1 0 1 1 0 8 0 amappl12 168 385 0 382 2 1 1 1 0 8 0 amappl11 160 788 0 775 1 0 1 1 0 8 0 amappl10 152 281 0 276 1 0 1 1 0 8 0 amappl9 144 983 0 976 1 0 1 1 0 8 0 amappl8 136 695 0 616 4 1 3 3 0 8 0 amappl7 128 117 0 106 1 0 1 1 0 8 0 amappl6 120 722 0 695 2 1 1 2 0 8 0 amappl5 112 1984 0 1969 1 0 1 1 0 8 0 amappl4 104 2699 0 2662 2 0 2 2 0 8 0 amappl3 96 674 0 657 1 0 1 1 0 8 0 amappl2 88 1396 0 1350 3 1 2 3 0 8 0 amappl1 80 63793 0 63167 18 3 15 18 0 8 0 amappl 88 40826 0 40561 8 1 7 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 137 0 7 3 0 3 3 0 8 0 uaddrrnd 24 3303 0 3267 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3303 0 3267 1 0 1 1 0 8 0 vmmpekpl 168 30920 0 30862 3 0 3 3 0 8 0 vmmpepl 168 304116 0 301415 145 20 125 130 0 357 2 vmsppl 368 3302 0 3267 4 0 4 4 0 8 0 rwobjpl 56 81695 0 74576 101 0 101 101 0 8 0 pdppl 4096 6613 0 6534 173 92 81 93 0 8 2 pvpl 32 1659082 0 1639662 282 112 170 244 0 265 0 pmappl 248 3302 0 3267 4 1 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1549 0 195 40 0 40 40 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff828d5ff0) 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 __mp_lock(ffffffff82abca58) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82abca58) at __mp_lock+0x122 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x1f end of kernel end trace frame: 0x7f7ffffe48a0, count: 9 ddb{0}> trace x86_ipi_db(ffffffff828d5ff0) 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 __mp_lock(ffffffff82abca58) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82abca58) at __mp_lock+0x122 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x1f end of kernel end trace frame: 0x7f7ffffe48a0, count: -6 ddb{0}> machine ddbcpu 1 Stopped at socreate+0x84: cmpq $0,0(%rax) socreate(18,ffff800021e76d90,0,29) at socreate+0x84 sys/kern/uipc_socket.c:172 sys_socketpair(ffff8000fffecfd0,ffff800021e76e28,ffff800021e76e80) at sys_socketpair+0x6e sys/kern/uipc_syscalls.c:430 syscall(ffff800021e76ef0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021e76ef0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc1198912810, count: 11 ddb{1}> trace socreate(18,ffff800021e76d90,0,29) at socreate+0x84 sys/kern/uipc_socket.c:172 sys_socketpair(ffff8000fffecfd0,ffff800021e76e28,ffff800021e76e80) at sys_socketpair+0x6e sys/kern/uipc_syscalls.c:430 syscall(ffff800021e76ef0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021e76ef0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc1198912810, count: -4