login: uvm_fault(0xfffffd806ee6ee68, 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 55563 81344 0 0x2 0 0 syz-executor2943506013 *163264 81344 0 0x2 0x4000000 1K syz-executor2943506013 socreate(18,ffff8000211d3da8,0,29) at socreate+0x84 sys/kern/uipc_socket.c:172 sys_socket(ffff8000ffff7a50,ffff8000211d3e38,ffff8000211d3e90) at sys_socket+0xd8 sys/kern/uipc_syscalls.c:96 syscall(ffff8000211d3f00) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211d3f00) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa1902cfcdb0, 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(0xfffffd806ee6ee68, 0x0, 0, 1) -> e ddb{1}> trace socreate(18,ffff8000211d3da8,0,29) at socreate+0x84 sys/kern/uipc_socket.c:172 sys_socket(ffff8000ffff7a50,ffff8000211d3e38,ffff8000211d3e90) at sys_socket+0xd8 sys/kern/uipc_syscalls.c:96 syscall(ffff8000211d3f00) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211d3f00) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa1902cfcdb0, count: -4 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff8000211d3d90 rbx 0x18 rdx 0 rcx 0x29 rax 0 r8 0xffffffff811cfb80 uvm_map_inentry_pc r9 0x24 r10 0 r11 0xe844cb8f685aa3f6 r12 0xffff8000211d3da8 r13 0xffffffff82675e40 inet6sw r14 0 r15 0x29 rip 0xffffffff81b8f4e4 socreate+0x84 cs 0x8 rflags 0x10282 __ALIGN_SIZE+0xf282 rsp 0xffff8000211d3d30 ss 0x10 socreate+0x84: cmpq $0,0(%rax) ddb{1}> show proc PROC (syz-executor2943506013) pid=163264 stat=onproc flags process=2 proc=4000000 pri=32, usrpri=54, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff6d30,0xffffffff82b22b18 process=0xffff8000211ba150 user=0xffff8000211ce000, vmspace=0xfffffd806ee6ee68 estcpu=4, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 81344 55563 37402 0 7 0x2 syz-executor2943506013 *81344 163264 37402 0 7 0x4000002 syz-executor2943506013 37402 341940 70383 0 3 0x10008a sigsusp ksh 70383 18020 69720 0 3 0x9a kqread sshd 60010 307058 1 0 3 0x100083 ttyin getty 69720 308011 1 0 3 0x88 kqread sshd 55613 70186 20342 74 3 0x1100092 bpf pflogd 20342 318062 1 0 3 0x80 netio pflogd 87292 322532 98828 73 3 0x1100090 kqread syslogd 98828 44501 1 0 3 0x100082 netio syslogd 35506 420813 1 0 3 0x100080 kqread resolvd 13084 125436 39761 77 3 0x100092 kqread dhcpleased 96152 314666 39761 77 3 0x100092 kqread dhcpleased 39761 87913 1 0 3 0x80 kqread dhcpleased 1631 23734 0 0 3 0x14200 bored smr 76600 458619 0 0 3 0x14200 pgzero zerothread 74941 119860 0 0 3 0x14200 aiodoned aiodoned 76064 19545 0 0 3 0x14200 syncer update 25680 503983 0 0 3 0x14200 cleaner cleaner 78267 479418 0 0 3 0x14200 reaper reaper 96418 482222 0 0 3 0x14200 pgdaemon pagedaemon 6836 203558 0 0 3 0x14200 bored viomb 17643 6409 0 0 3 0x40014200 acpi0 acpi0 24197 353208 0 0 3 0x40014200 idle1 31842 272562 0 0 3 0x14200 bored softnet 72405 156809 0 0 3 0x14200 bored systqmp 10076 98521 0 0 3 0x14200 bored systq 41545 363030 0 0 3 0x40014200 bored softclock 38938 468739 0 0 3 0x40014200 idle0 1 385773 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 81344 (syz-executor2943506013) thread 0xffff8000ffff7a50 (163264) 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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10149 6454K 6455K 78643K 11239 0 pcb 13 8K 8K 78643K 13 0 rtable 62 2K 2K 78643K 112 0 ifaddr 29 8K 8K 78643K 32 0 counters 40 33K 33K 78643K 40 0 ioctlops 0 0K 4K 78643K 1479 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1167 73K 73K 78643K 1180 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 1K 1K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 1 0K 0K 78643K 1 0 proc 67 87K 87K 78643K 282 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 11 0K 0K 78643K 11 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 25 122K 122K 78643K 25 0 exec 0 0K 2K 78643K 432 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 93 3K 5K 78643K 2196 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 4 0K 0K 78643K 4 0 temp 24 4686K 4749K 78643K 3292 0 kqueue 11 16K 18K 78643K 24 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 17 0 14 1 0 1 1 0 8 0 rtentry 112 23 0 1 1 0 1 1 0 8 0 unpcb 136 35 0 20 1 0 1 1 0 8 0 syncache 296 5 0 5 2 1 1 1 0 8 1 tcpcb 736 8 0 5 1 0 1 1 0 8 0 arp 120 2 0 0 1 0 1 1 0 8 0 inpcb 304 32 0 26 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 8 0 0 1 0 1 1 0 8 0 pfstkey 112 8 0 0 1 0 1 1 0 8 0 pfstate 320 8 0 0 1 0 1 1 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 97 0 0 7 0 7 7 0 8 0 art_table 32 98 0 0 1 0 1 1 0 8 0 art_node 16 22 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1424 0 39 87 0 87 87 0 8 0 ffsino 272 1424 0 39 93 0 93 93 0 8 0 nchpl 144 1599 0 49 58 0 58 58 0 8 0 uvmvnodes 80 1434 0 0 30 0 30 30 0 8 0 vnodes 224 1434 0 0 85 0 85 85 0 8 0 namei 1024 4422 0 4422 2 1 1 1 0 8 1 percpumem 16 32 0 0 1 0 1 1 0 8 0 scxspl 216 3799 0 3799 3 2 1 2 0 8 1 plimitpl 152 16 0 9 1 0 1 1 0 8 0 sigapl 424 320 0 291 4 0 4 4 0 8 0 futexpl 64 1 0 1 1 0 1 1 0 8 1 knotepl 120 43 0 0 2 0 2 2 0 8 0 kqueuepl 216 20 0 13 1 0 1 1 0 8 0 pipepl 336 86 0 83 2 1 1 1 0 8 0 fdescpl 496 306 0 291 3 0 3 3 0 8 0 filepl 152 1145 0 1087 3 0 3 3 0 8 0 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 0 2 1 0 1 1 0 8 0 sessionpl 144 18 0 9 1 0 1 1 0 8 0 pgrppl 48 18 0 9 1 0 1 1 0 8 0 ucredpl 96 69 0 57 1 0 1 1 0 8 0 zombiepl 144 291 0 291 2 1 1 1 0 8 1 processpl 1064 320 0 291 3 0 3 3 0 8 0 procpl 672 321 0 291 3 0 3 3 0 8 0 sockpl 480 84 0 60 5 1 4 4 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 57 0 0 8 0 8 8 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 110 0 0 7 0 7 7 0 8 0 bufpl 288 2024 0 93 138 0 138 138 0 8 0 anonpl 24 41738 0 39146 19 3 16 17 0 186 0 amapchunkpl 152 3981 0 3812 8 1 7 7 0 158 0 amappl16 200 30 0 30 1 1 0 1 0 8 0 amappl15 192 67 0 64 1 0 1 1 0 8 0 amappl13 176 35 0 33 1 0 1 1 0 8 0 amappl12 168 18 0 18 2 1 1 1 0 8 1 amappl11 160 47 0 33 1 0 1 1 0 8 0 amappl10 152 2 0 0 1 0 1 1 0 8 0 amappl9 144 459 0 457 1 0 1 1 0 8 0 amappl8 136 373 0 369 1 0 1 1 0 8 0 amappl7 128 65 0 62 1 0 1 1 0 8 0 amappl6 120 117 0 104 1 0 1 1 0 8 0 amappl5 112 175 0 162 1 0 1 1 0 8 0 amappl4 104 637 0 617 1 0 1 1 0 8 0 amappl3 96 121 0 112 1 0 1 1 0 8 0 amappl2 88 370 0 332 1 0 1 1 0 8 0 amappl1 80 8824 0 8438 10 1 9 9 0 8 0 amappl 88 1915 0 1840 2 0 2 2 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 306 0 291 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 306 0 291 1 0 1 1 0 8 0 vmmpekpl 168 6187 0 6170 1 0 1 1 0 8 0 vmmpepl 168 26607 0 25728 43 2 41 41 0 357 0 vmsppl 368 305 0 291 2 0 2 2 0 8 0 rwobjpl 56 9605 0 7599 29 0 29 29 0 8 0 pdppl 4096 619 0 582 57 20 37 45 0 8 0 pvpl 32 135244 0 130791 40 3 37 37 0 265 1 pmappl 248 305 0 291 2 0 2 2 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 415 0 25 12 0 12 12 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82999ff0) 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 end of kernel end trace frame: 0x7f7fffffaf10, count: 12 ddb{0}> trace x86_ipi_db(ffffffff82999ff0) 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 end of kernel end trace frame: 0x7f7fffffaf10, count: -3 ddb{0}> machine ddbcpu 1 Stopped at socreate+0x84: cmpq $0,0(%rax) socreate(18,ffff8000211d3da8,0,29) at socreate+0x84 sys/kern/uipc_socket.c:172 sys_socket(ffff8000ffff7a50,ffff8000211d3e38,ffff8000211d3e90) at sys_socket+0xd8 sys/kern/uipc_syscalls.c:96 syscall(ffff8000211d3f00) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211d3f00) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa1902cfcdb0, count: 11 ddb{1}> trace socreate(18,ffff8000211d3da8,0,29) at socreate+0x84 sys/kern/uipc_socket.c:172 sys_socket(ffff8000ffff7a50,ffff8000211d3e38,ffff8000211d3e90) at sys_socket+0xd8 sys/kern/uipc_syscalls.c:96 syscall(ffff8000211d3f00) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211d3f00) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa1902cfcdb0, count: -4 ddb{1}>