Warning: Permanently added '10.128.1.42' (ED25519) to the list of known hosts. executing program uvm_fault(0xfffffd807effe000, 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 369773 13547 0 0x2 0 0 syz-executor1826400677 *386440 13547 0 0x2 0x4000000 1K syz-executor1826400677 socreate(18,ffff8000211c2020,3,3c) at socreate+0x84 sys_socketpair(ffff8000211422a8,ffff8000211c20b8,ffff8000211c2110) at sys_socketpair+0x6e syscall(ffff8000211c2180) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd28fdac3e0, 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(0xfffffd807effe000, 0x0, 0, 1) -> e ddb{1}> trace socreate(18,ffff8000211c2020,3,3c) at socreate+0x84 sys_socketpair(ffff8000211422a8,ffff8000211c20b8,ffff8000211c2110) at sys_socketpair+0x6e syscall(ffff8000211c2180) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd28fdac3e0, count: -4 ddb{1}> show registers rdi 0x3 rsi 0x3 rbp 0xffff8000211c2000 rbx 0x18 rdx 0x3 rcx 0 rax 0 r8 0xffffffff81e690f0 uvm_map_inentry_pc r9 0x24 r10 0 r11 0x45a721199aa3d807 r12 0xffff8000211c2020 r13 0xffffffff8288cea8 inet6sw+0x208 r14 0x3 r15 0x3c rip 0xffffffff81e82144 socreate+0x84 cs 0x8 rflags 0x10282 __ALIGN_SIZE+0xf282 rsp 0xffff8000211c1fa0 ss 0x10 socreate+0x84: cmpq $0,0(%rax) ddb{1}> show proc PROC (syz-executor1826400677) pid=386440 stat=onproc flags process=2 proc=4000000 pri=32, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff8000211427e8,0xffffffff82a987b8 process=0xffff8000ffff8008 user=0xffff8000211bd000, vmspace=0xfffffd807effe000 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 13547 369773 26646 0 7 0x2 syz-executor1826400677 *13547 386440 26646 0 7 0x4000002 syz-executor1826400677 26646 20042 18928 0 3 0x10008a sigsusp ksh 18928 434263 210 0 3 0x9a kqread sshd 92236 161341 1 0 3 0x100083 ttyin getty 210 324958 1 0 3 0x88 kqread sshd 85005 106712 97227 73 3 0x1100090 kqread syslogd 97227 440072 1 0 3 0x100082 netio syslogd 52657 429621 1 0 3 0x100080 kqread resolvd 7622 154043 73302 77 3 0x100092 kqread dhcpleased 37900 317789 73302 77 3 0x100092 kqread dhcpleased 73302 360442 1 0 3 0x80 kqread dhcpleased 1672 522103 0 0 3 0x14200 bored smr 86239 114842 0 0 3 0x14200 pgzero zerothread 30137 184705 0 0 3 0x14200 aiodoned aiodoned 2054 396863 0 0 3 0x14200 syncer update 56587 88598 0 0 3 0x14200 cleaner cleaner 46801 95130 0 0 3 0x14200 reaper reaper 81263 342393 0 0 3 0x14200 pgdaemon pagedaemon 43502 51147 0 0 3 0x14200 bored viomb 42069 249900 0 0 3 0x40014200 acpi0 acpi0 76292 515564 0 0 3 0x40014200 idle1 47045 394976 0 0 3 0x14200 bored softnet 12913 169371 0 0 3 0x14200 bored systqmp 16650 474771 0 0 3 0x14200 bored systq 73088 302564 0 0 3 0x40014200 bored softclock 76849 229685 0 0 3 0x40014200 idle0 1 108346 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 13547 (syz-executor1826400677) thread 0xffff8000211422a8 (386440) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82abcc60) #0 witness_lock+0x44d #1 kpageflttrap+0x23d #2 kerntrap+0xef #3 alltraps_kern_meltdown+0x7b #4 socreate+0x84 #5 sys_socketpair+0x6e #6 syscall+0x489 #7 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10143 6388K 6419K 78643K 11233 0 pcb 13 8K 8K 78643K 13 0 rtable 62 2K 2K 78643K 112 0 ifaddr 24 7K 7K 78643K 24 0 counters 40 33K 33K 78643K 40 0 ioctlops 0 0K 2K 78643K 25 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1166 73K 73K 78643K 1179 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 55 74K 75K 78643K 226 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 401 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 82 3K 4K 78643K 2040 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 3 0K 0K 78643K 3 0 temp 19 4686K 4749K 78643K 3144 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 19 0 16 1 0 1 1 0 8 0 rtentry 112 23 0 1 1 0 1 1 0 8 0 unpcb 136 33 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 25 0 19 1 0 1 1 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 1415 0 38 87 0 87 87 0 8 0 ffsino 272 1415 0 38 92 0 92 92 0 8 0 nchpl 144 1590 0 47 58 0 58 58 0 8 0 uvmvnodes 80 1424 0 0 30 0 30 30 0 8 0 vnodes 224 1424 0 0 84 0 84 84 0 8 0 namei 1024 4165 0 4165 2 1 1 1 0 8 1 percpumem 16 32 0 0 1 0 1 1 0 8 0 scxspl 216 3745 0 3745 3 2 1 2 0 8 1 plimitpl 152 15 0 9 1 0 1 1 0 8 0 sigapl 424 298 0 271 4 0 4 4 0 8 0 futexpl 64 1 0 1 1 0 1 1 0 8 1 knotepl 120 45 0 0 2 0 2 2 0 8 0 kqueuepl 216 20 0 13 1 0 1 1 0 8 0 pipepl 336 81 0 78 2 1 1 1 0 8 0 fdescpl 496 284 0 271 3 1 2 3 0 8 0 filepl 152 1022 0 969 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 17 0 9 1 0 1 1 0 8 0 pgrppl 48 17 0 9 1 0 1 1 0 8 0 ucredpl 96 64 0 54 1 0 1 1 0 8 0 zombiepl 144 271 0 271 2 1 1 1 0 8 1 processpl 1064 298 0 271 3 1 2 3 0 8 0 procpl 672 299 0 271 3 0 3 3 0 8 0 sockpl 480 77 0 55 3 0 3 3 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 64 0 0 8 0 8 8 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 108 0 0 7 0 7 7 0 8 0 bufpl 288 1944 0 82 133 0 133 133 0 8 0 anonpl 24 39099 0 36774 17 2 15 15 0 186 0 amapchunkpl 152 3720 0 3569 7 1 6 7 0 158 0 amappl16 200 27 0 26 1 0 1 1 0 8 0 amappl15 192 61 0 58 1 0 1 1 0 8 0 amappl14 184 2 0 1 1 0 1 1 0 8 0 amappl13 176 32 0 31 2 1 1 1 0 8 0 amappl12 168 19 0 19 2 1 1 1 0 8 1 amappl11 160 46 0 36 1 0 1 1 0 8 0 amappl10 152 8 0 8 2 1 1 1 0 8 1 amappl9 144 458 0 456 1 0 1 1 0 8 0 amappl8 136 351 0 347 1 0 1 1 0 8 0 amappl7 128 61 0 58 1 0 1 1 0 8 0 amappl6 120 109 0 95 1 0 1 1 0 8 0 amappl5 112 167 0 159 1 0 1 1 0 8 0 amappl4 104 587 0 567 1 0 1 1 0 8 0 amappl3 96 114 0 105 1 0 1 1 0 8 0 amappl2 88 351 0 315 1 0 1 1 0 8 0 amappl1 80 8334 0 7973 10 1 9 9 0 8 0 amappl 88 1781 0 1714 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 284 0 271 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 284 0 271 1 0 1 1 0 8 0 vmmpekpl 168 5912 0 5899 1 0 1 1 0 8 0 vmmpepl 168 25116 0 24310 40 2 38 38 0 357 0 vmsppl 368 283 0 271 2 0 2 2 0 8 0 rwobjpl 56 9161 0 7208 30 1 29 29 0 8 1 pdppl 4096 575 0 542 59 26 33 41 0 8 0 pvpl 32 125940 0 121854 35 1 34 34 0 265 0 pmappl 248 283 0 271 2 1 1 2 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 409 0 30 11 0 11 11 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 x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82abca58) at __mp_lock+0x122 softintr_dispatch(0) at softintr_dispatch+0x4e Xsoftclock() at Xsoftclock+0x1f end of kernel end trace frame: 0x7f7ffffcf260, count: 9 ddb{0}> trace x86_ipi_db(ffffffff828d5ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82abca58) at __mp_lock+0x122 softintr_dispatch(0) at softintr_dispatch+0x4e Xsoftclock() at Xsoftclock+0x1f end of kernel end trace frame: 0x7f7ffffcf260, count: -6 ddb{0}> machine ddbcpu 1 Stopped at socreate+0x84: cmpq $0,0(%rax) socreate(18,ffff8000211c2020,3,3c) at socreate+0x84 sys_socketpair(ffff8000211422a8,ffff8000211c20b8,ffff8000211c2110) at sys_socketpair+0x6e syscall(ffff8000211c2180) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd28fdac3e0, count: 11 ddb{1}> trace socreate(18,ffff8000211c2020,3,3c) at socreate+0x84 sys_socketpair(ffff8000211422a8,ffff8000211c20b8,ffff8000211c2110) at sys_socketpair+0x6e syscall(ffff8000211c2180) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd28fdac3e0, count: -4 ddb{1}>