uvm_fault(0xfffff5806d19b8b0, 0xa00000084, 0, 2) -> e kernel: page fault trap, code=2 Stopped at in_pcbhash_insert+0x252: movq %r13,0x20(%r12) TID PID UID PRFLAGS PFLAGS CPU COMMAND *203123 76063 0 0 0x4000000 0 syz-executor in_pcbhash_insert(fffff5806c02b680) at in_pcbhash_insert+0x252 sys/netinet/in_pcb.c:1108 in_pcballoc(ffff800010fe08b0,ffffffff83ab9d78,1) at in_pcballoc+0x23a sys/netinet/in_pcb.c:269 rip_attach(ffff800010fe08b0,fc,1) at rip_attach+0x117 sys/netinet/raw_ip.c:489 socreate(2,ffff80003c900f70,3,fc) at socreate+0x22f pru_attach sys/sys/protosw.h:275 [inline] socreate(2,ffff80003c900f70,3,fc) at socreate+0x22f sys/kern/uipc_socket.c:220 sys_socket(ffff80002a771240,ffff80003c9010b0,ffff80003c901000) at sys_socket+0x124 sys/kern/uipc_syscalls.c:102 syscall(ffff80003c9010b0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9010b0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xda7ad57dff0, count: 8 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: uvm_fault(0xfffff5806d19b8b0, 0xa00000084, 0, 2) -> e ddb> show kasan No such command ddb> trace in_pcbhash_insert(fffff5806c02b680) at in_pcbhash_insert+0x252 sys/netinet/in_pcb.c:1108 in_pcballoc(ffff800010fe08b0,ffffffff83ab9d78,1) at in_pcballoc+0x23a sys/netinet/in_pcb.c:269 rip_attach(ffff800010fe08b0,fc,1) at rip_attach+0x117 sys/netinet/raw_ip.c:489 socreate(2,ffff80003c900f70,3,fc) at socreate+0x22f pru_attach sys/sys/protosw.h:275 [inline] socreate(2,ffff80003c900f70,3,fc) at socreate+0x22f sys/kern/uipc_socket.c:220 sys_socket(ffff80002a771240,ffff80003c9010b0,ffff80003c901000) at sys_socket+0x124 sys/kern/uipc_syscalls.c:102 syscall(ffff80003c9010b0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9010b0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xda7ad57dff0, count: -7 ddb> show registers rdi 0xffff80003c900cd0 rsi 0x30 rbp 0xffff80003c900e10 rbx 0 rdx 0 rcx 0xffff800000c57af0 rax 0xffff80002a771240 r8 0x30 r9 0 r10 0x8e74d249f932cddc r11 0xc7f4f9f339f67a54 r12 0xa00000064 r13 0xfffff5806c02b698 r14 0xfffff5806c02b680 r15 0xffff800000c57af0 rip 0xffffffff832c9052 in_pcbhash_insert+0x252 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c900d80 ss 0x10 in_pcbhash_insert+0x252: movq %r13,0x20(%r12) ddb> show proc PROC (syz-executor) tid=203123 pid=76063 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7702b0,0xffff80002a737a08 process=0xffff800045ff9698 user=0xffff80003c8fc000, vmspace=0xfffff5806d19b8b0 estcpu=12, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 76063 351927 39773 0 2 0 0 syz-executor *76063 203123 39773 0 7 0 0x4000000 syz-executor 76063 490556 39773 0 3 0 0x4000080 fsleep syz-executor 76063 146901 39773 0 3 0 0x4000080 fsleep syz-executor 5042 382706 8240 0 2 0 0 syz-executor 5042 345514 8240 0 3 0 0x4000080 fsleep syz-executor 44699 384643 90057 0 2 0 0 syz-executor 44699 458747 90057 0 3 0 0x4000080 fsleep syz-executor 29743 136471 17825 -1 2 0x10 0 syz-executor 29743 501350 17825 -1 3 0x10 0x4000080 kqread syz-executor 29743 182588 17825 -1 3 0x10 0x4000080 kqsel syz-executor 71506 138349 96120 0 3 0 0x80 nanoslp syz-executor 71506 117669 96120 0 3 0 0x4000080 nanoslp syz-executor 1824 68146 99169 60928 3 0x10 0x80 nanoslp syz-executor 1824 96482 99169 60928 3 0x10 0x4000080 netacc syz-executor 1824 215650 99169 60928 3 0x10 0x4000080 fsleep syz-executor 90057 47881 37539 0 3 0x2 0x80 nanoslp syz-executor 99169 336431 37539 0 3 0x2 0x80 nanoslp syz-executor 17825 387722 37539 0 3 0x2 0x80 nanoslp syz-executor 8240 140169 37539 0 3 0x2 0x80 nanoslp syz-executor 96120 501056 37539 0 3 0x2 0x80 nanoslp syz-executor 68134 62352 37539 0 3 0x2 0x80 nanoslp syz-executor 39773 79832 37539 0 3 0x2 0x80 nanoslp syz-executor 35528 390774 37539 0 2 0x2 0 syz-executor 37539 432777 36061 0 3 0x2 0x80 kqread syz-executor 36061 196527 21586 0 3 0x100002 0x88 sigsusp ksh 21586 71798 34647 0 3 0x10 0x88 kqread sshd-session 34647 432707 70207 0 3 0x12 0x80 kqread sshd-session 45768 363373 1 0 3 0x100003 0x80 ttyin getty 70207 73184 1 0 3 0 0x88 kqread sshd 24838 364369 56294 73 3 0x1100010 0x80 kqread syslogd 56294 184608 1 0 3 0x100002 0x80 sbwait syslogd 23978 16024 1 0 3 0x100000 0x80 kqread resolvd 99532 172369 64263 77 3 0x100012 0x80 kqread dhcpleased 49060 85146 64263 77 3 0x100012 0x80 kqread dhcpleased 64263 363759 1 0 3 0 0x80 kqread dhcpleased 40311 203608 0 0 3 0x14000 0x200 bored smr 19310 152837 0 0 2 0x14000 0x200 zerothread 69156 148789 0 0 3 0x14000 0x200 aiodoned aiodoned 13246 161794 0 0 3 0x14000 0x200 syncer update 72722 128924 0 0 3 0x14000 0x200 cleaner cleaner 86384 340911 0 0 3 0x14000 0x200 reaper reaper 50460 195626 0 0 3 0x14000 0x200 pgdaemon pagedaemon 69988 234728 0 0 3 0x14000 0x200 bored viomb 29919 131602 0 0 3 0x14000 0x40000200 acpi0 acpi0 748 153706 0 0 3 0x14000 0x200 bored softnet0 59202 20189 0 0 3 0x14000 0x200 smrbar systqmp 48546 174111 0 0 3 0x14000 0x200 bored systq 63361 350191 0 0 3 0x14000 0x40000200 tmoslp softclock 32462 114771 0 0 3 0x14000 0x40000200 idle0 1 241087 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11043 12188K 12296K 166960K 12142 0 pcb 18 12K 12K 166960K 26 0 rtable 223 6K 7K 166960K 376 0 pf 34 13K 13K 166960K 35 0 ifaddr 41 6K 7K 166960K 46 0 ifgroup 56 2K 2K 166960K 56 0 sysctl 1 1K 9K 166960K 5 0 counters 36 18K 18K 166960K 36 0 ioctlops 0 0K 4K 166960K 36 0 iov 0 0K 2K 166960K 1 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1296 82K 82K 166960K 1376 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 3 0K 0K 166960K 3 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 17 61K 97K 166960K 173 0 proc 60 59K 124K 166960K 508 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 1 0K 0K 166960K 3 0 in_multi 88 5K 6K 166960K 100 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 37 175K 175K 166960K 37 0 exec 0 0K 1K 166960K 369 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 227 163K 168K 166960K 3201 0 UVM aobj 4 2K 2K 166960K 4 0 pinsyscall 38 76K 96K 166960K 1283 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 2 0 NDP 27 1K 2K 166960K 29 0 temp 38 9110K 9174K 166960K 3782 0 kqueue 14 22K 24K 166960K 30 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 39 0 35 1 0 1 1 0 8 0 rtentry 136 113 0 14 4 0 4 4 0 8 0 unpcb 144 58 0 43 1 0 1 1 0 8 0 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpcb 736 49 0 43 4 0 4 4 0 8 3 arp 96 18 0 2 1 0 1 1 0 8 0 ipq 40 2 0 0 1 0 1 1 0 8 0 ipqe 40 2 0 0 1 0 1 1 0 8 0 inpcb 328 118 0 104 4 0 4 4 0 8 2 nd6 112 25 0 4 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 2 0 0 1 0 1 1 0 8 0 pfrule 1360 4 0 4 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 463 0 0 29 0 29 29 0 8 0 art_table 40 464 0 0 5 0 5 5 0 8 0 art_node 32 113 0 12 1 0 1 1 0 8 0 semapl 72 1 0 0 1 0 1 1 0 8 0 shmpl 112 1 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1609 0 148 92 0 92 92 0 8 0 ffsino 256 1609 0 148 92 0 92 92 0 8 0 nchpl 144 1868 0 174 64 0 64 64 0 8 0 vnodes 216 1705 0 0 95 0 95 95 0 8 0 namei 1024 5616 0 5616 2 0 2 2 0 8 2 kstatmem 264 27 0 0 2 0 2 2 0 8 0 scxspl 216 6233 0 6233 5 0 5 5 1 8 5 plimitpl 152 36 0 20 1 0 1 1 0 8 0 sigapl 424 471 0 429 6 0 6 6 0 8 1 knotepl 120 3629 0 3580 2 0 2 2 0 8 0 kqueuepl 184 33 0 21 1 0 1 1 0 8 0 pipepl 304 125 0 98 3 0 3 3 0 8 0 fdescpl 448 458 0 429 5 0 5 5 0 8 1 filepl 120 1734 0 1516 8 0 8 8 0 8 1 lockfpl 104 18 0 16 1 0 1 1 0 8 0 lockfspl 48 10 0 8 1 0 1 1 0 8 0 sessionpl 144 25 0 17 1 0 1 1 0 8 0 pgrppl 48 33 0 17 1 0 1 1 0 8 0 ucredpl 104 121 0 108 1 0 1 1 0 8 0 zombiepl 144 430 0 429 1 0 1 1 0 8 0 processpl 1152 471 0 429 4 0 4 4 0 8 0 procpl 664 530 0 478 5 0 5 5 0 8 0 sockpl 552 219 0 186 5 0 5 5 0 8 2 mcl64k 65536 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 2535 0 2482 14 0 14 14 0 8 6 mcl2k 2048 149 0 135 2 0 2 2 0 8 0 mextrefs 64 60 0 46 1 0 1 1 0 8 0 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 4663 0 4495 12 0 12 12 0 8 1 bufpl 272 2276 0 102 145 0 145 145 0 8 0 anonpl 24 91646 0 88516 44 0 44 44 0 187 22 amapchunkpl 152 9049 0 8579 23 0 23 23 0 158 4 amappl16 200 1585 0 1565 11 0 11 11 0 8 9 amappl15 192 6 0 6 1 0 1 1 0 8 1 amappl14 184 411 0 410 1 0 1 1 0 8 0 amappl13 176 118 0 108 1 0 1 1 0 8 0 amappl12 168 693 0 665 2 0 2 2 0 8 0 amappl11 160 7 0 7 1 0 1 1 0 8 1 amappl10 152 60 0 50 1 0 1 1 0 8 0 amappl9 144 270 0 269 1 0 1 1 0 8 0 amappl8 136 98 0 97 1 0 1 1 0 8 0 amappl7 128 153 0 141 1 0 1 1 0 8 0 amappl6 120 149 0 148 1 0 1 1 0 8 0 amappl5 112 89 0 81 1 0 1 1 0 8 0 amappl4 104 261 0 247 1 0 1 1 0 8 0 amappl3 96 1605 0 1499 3 0 3 3 0 8 0 amappl2 88 528 0 473 2 0 2 2 0 8 0 amappl1 80 10362 0 9815 13 0 13 13 0 8 1 amappl 88 2498 0 2338 4 0 4 4 0 92 0 uvmvnodes 80 97 0 0 2 0 2 2 0 8 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 458 0 429 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 458 0 429 1 0 1 1 0 8 0 vmmpekpl 168 5609 0 5576 2 0 2 2 0 8 0 vmmpepl 168 38255 0 36499 87 0 87 87 0 357 8 vmsppl 368 457 0 429 4 0 4 4 0 8 1 rwobjpl 40 14336 0 13408 12 0 12 12 0 8 1 pdppl 4096 922 0 858 96 14 82 82 0 8 18 pvpl 32 221185 0 212534 112 0 112 112 0 265 34 pmappl 216 457 0 429 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 508 0 14 15 0 15 15 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace in_pcbhash_insert(fffff5806c02b680) at in_pcbhash_insert+0x252 sys/netinet/in_pcb.c:1108 in_pcballoc(ffff800010fe08b0,ffffffff83ab9d78,1) at in_pcballoc+0x23a sys/netinet/in_pcb.c:269 rip_attach(ffff800010fe08b0,fc,1) at rip_attach+0x117 sys/netinet/raw_ip.c:489 socreate(2,ffff80003c900f70,3,fc) at socreate+0x22f pru_attach sys/sys/protosw.h:275 [inline] socreate(2,ffff80003c900f70,3,fc) at socreate+0x22f sys/kern/uipc_socket.c:220 sys_socket(ffff80002a771240,ffff80003c9010b0,ffff80003c901000) at sys_socket+0x124 sys/kern/uipc_syscalls.c:102 syscall(ffff80003c9010b0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9010b0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xda7ad57dff0, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace in_pcbhash_insert(fffff5806c02b680) at in_pcbhash_insert+0x252 sys/netinet/in_pcb.c:1108 in_pcballoc(ffff800010fe08b0,ffffffff83ab9d78,1) at in_pcballoc+0x23a sys/netinet/in_pcb.c:269 rip_attach(ffff800010fe08b0,fc,1) at rip_attach+0x117 sys/netinet/raw_ip.c:489 socreate(2,ffff80003c900f70,3,fc) at socreate+0x22f pru_attach sys/sys/protosw.h:275 [inline] socreate(2,ffff80003c900f70,3,fc) at socreate+0x22f sys/kern/uipc_socket.c:220 sys_socket(ffff80002a771240,ffff80003c9010b0,ffff80003c901000) at sys_socket+0x124 sys/kern/uipc_syscalls.c:102 syscall(ffff80003c9010b0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9010b0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xda7ad57dff0, count: -7