uvm_fault(0xfffff8807f233730, 0x6a8f3280, 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 *131078 37312 0 0 0x4000000 0 syz-executor in_pcbhash_insert(fffff8806b6f27b8) at in_pcbhash_insert+0x252 sys/netinet/in_pcb.c:1108 in_pcballoc(ffff800010fe0008,ffffffff839a68a8,1) at in_pcballoc+0x23a sys/netinet/in_pcb.c:269 rip_attach(ffff800010fe0008,2,1) at rip_attach+0x117 sys/netinet/raw_ip.c:489 socreate(2,ffff800037ccfa20,3,2) at socreate+0x22f pru_attach sys/sys/protosw.h:275 [inline] socreate(2,ffff800037ccfa20,3,2) at socreate+0x22f sys/kern/uipc_socket.c:220 sys_socket(ffff80002a7634f0,ffff800037ccfb60,ffff800037ccfab0) at sys_socket+0x124 sys/kern/uipc_syscalls.c:102 syscall(ffff800037ccfb60) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800037ccfb60) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x227f5416b30, 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(0xfffff8807f233730, 0x6a8f3280, 0, 2) -> e ddb> show kasan No such command ddb> trace in_pcbhash_insert(fffff8806b6f27b8) at in_pcbhash_insert+0x252 sys/netinet/in_pcb.c:1108 in_pcballoc(ffff800010fe0008,ffffffff839a68a8,1) at in_pcballoc+0x23a sys/netinet/in_pcb.c:269 rip_attach(ffff800010fe0008,2,1) at rip_attach+0x117 sys/netinet/raw_ip.c:489 socreate(2,ffff800037ccfa20,3,2) at socreate+0x22f pru_attach sys/sys/protosw.h:275 [inline] socreate(2,ffff800037ccfa20,3,2) at socreate+0x22f sys/kern/uipc_socket.c:220 sys_socket(ffff80002a7634f0,ffff800037ccfb60,ffff800037ccfab0) at sys_socket+0x124 sys/kern/uipc_syscalls.c:102 syscall(ffff800037ccfb60) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800037ccfb60) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x227f5416b30, count: -7 ddb> show registers rdi 0xffff800037ccf780 rsi 0x30 rbp 0xffff800037ccf8c0 rbx 0 rdx 0 rcx 0xffff800000c57fc0 rax 0xffff80002a7634f0 r8 0x30 r9 0 r10 0xa62fc1f93ca0ee35 r11 0x500a69d15dff58cf r12 0x6a8f3260 r13 0xfffff8806b6f27d0 r14 0xfffff8806b6f27b8 r15 0xffff800000c57fc8 rip 0xffffffff81aeb552 in_pcbhash_insert+0x252 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800037ccf830 ss 0x10 in_pcbhash_insert+0x252: movq %r13,0x20(%r12) ddb> show proc PROC (syz-executor) tid=131078 pid=37312 tcnt=3 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=0xffff80002a762d28,0xffff8000360bfa20 process=0xffff80003c974da0 user=0xffff800037cca000, vmspace=0xfffff8807f233730 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 13122 61459 76271 0 2 0 0 syz-executor 37312 360912 88236 0 2 0 0 syz-executor *37312 131078 88236 0 7 0 0x4000000 syz-executor 37312 196485 88236 0 3 0 0x4000080 fsleep syz-executor 86875 456956 25326 0 2 0 0 syz-executor 86875 275084 25326 0 3 0 0x4000080 kqread syz-executor 86875 22391 25326 0 3 0 0x4000080 fsleep syz-executor 98299 481742 73034 0 2 0 0 syz-executor 98299 191955 73034 0 2 0 0x4000000 syz-executor 31416 404913 37661 0 2 0 0 syz-executor 31416 120936 37661 0 3 0 0x4000080 ttyin syz-executor 31416 119456 37661 0 3 0 0x4000080 lockf syz-executor 22713 263430 32742 0 2 0 0 syz-executor 22713 188396 32742 0 2 0 0x4000000 syz-executor 22713 38198 32742 0 3 0 0x4000000 inode syz-executor 22713 509069 32742 0 3 0 0x4000000 inode syz-executor 22713 159523 32742 0 3 0 0x4000080 fsleep syz-executor 21753 81411 1 0 3 0 0x80 nanoslp init 22570 222129 0 0 3 0x14000 0x280 nfsidl nfsio 1351 322412 0 0 3 0x14000 0x280 nfsidl nfsio 25331 488880 0 0 3 0x14000 0x280 nfsidl nfsio 63499 149876 0 0 3 0x14000 0x280 nfsidl nfsio 927 184785 0 0 3 0x14000 0x280 nfsidl nfsio 46042 293030 0 0 3 0x14000 0x280 nfsidl nfsio 76275 307781 0 0 3 0x14000 0x280 nfsidl nfsio 49713 188279 0 0 3 0x14000 0x280 nfsidl nfsio 45287 128565 0 0 3 0x14000 0x280 nfsidl nfsio 8650 397337 0 0 3 0x14000 0x280 nfsidl nfsio 31540 37924 0 0 3 0x14000 0x280 nfsidl nfsio 61252 402412 0 0 3 0x14000 0x280 nfsidl nfsio 56119 387154 0 0 3 0x14000 0x280 nfsidl nfsio 51966 327017 0 0 3 0x14000 0x280 nfsidl nfsio 34674 514935 0 0 3 0x14000 0x280 nfsidl nfsio 60258 249885 0 0 3 0x14000 0x280 nfsidl nfsio 70719 193466 0 0 3 0x14000 0x280 nfsidl nfsio 15174 393868 0 0 3 0x14000 0x280 nfsidl nfsio 33433 501419 0 0 3 0x14000 0x280 nfsidl nfsio 5311 64896 0 0 3 0x14000 0x280 nfsidl nfsio 33366 106027 0 0 3 0x14000 0x200 acct acct 46456 343104 33982 0 2 0x2 0 syz-executor 73034 402095 33982 0 3 0x2 0x80 nanoslp syz-executor 32742 221248 33982 0 3 0x2 0x80 nanoslp syz-executor 14810 484806 33982 0 2 0x10000002 0 syz-executor 88236 351344 33982 0 3 0x2 0x80 nanoslp syz-executor 25326 133049 33982 0 3 0x2 0x80 nanoslp syz-executor 76271 359132 33982 0 3 0x2 0x80 nanoslp syz-executor 37661 336301 33982 0 3 0x2 0x80 nanoslp syz-executor 33982 464951 1 0 3 0x2 0x80 kqread syz-executor 31684 446674 0 0 3 0x14000 0x200 bored smr 38632 206982 0 0 2 0x14000 0x200 zerothread 99208 112791 0 0 3 0x14000 0x200 aiodoned aiodoned 81940 291539 0 0 3 0x14000 0x200 syncer update 65494 125984 0 0 3 0x14000 0x200 cleaner cleaner 67818 235175 0 0 3 0x14000 0x200 reaper reaper 12143 311323 0 0 3 0x14000 0x200 pgdaemon pagedaemon 50067 388268 0 0 3 0x14000 0x200 bored viomb 99670 122398 0 0 3 0x14000 0x40000200 acpi0 acpi0 3881 315420 0 0 3 0x14000 0x200 bored softnet0 11989 332357 0 0 3 0x14000 0x200 bored systqmp 68972 178513 0 0 3 0x14000 0x200 bored systq 80805 49421 0 0 3 0x14000 0x40000200 tmoslp softclock 59841 172160 0 0 3 0x14000 0x40000200 idle0 1 280505 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 11033 12191K 12312K 166960K 12390 0 pcb 17 12K 12K 166960K 58 0 rtable 179 5K 7K 166960K 376 0 pf 24 12K 20K 166960K 79 0 ifaddr 31 5K 7K 166960K 52 0 ifgroup 38 1K 2K 166960K 63 0 sysctl 4 1K 9K 166960K 9 0 counters 30 17K 17K 166960K 38 0 ioctlops 0 0K 4K 166960K 87 0 iov 0 0K 16K 166960K 9 0 mount 1 1K 1K 166960K 1 0 log 2 0K 0K 166960K 6 0 vnodes 1361 86K 86K 166960K 1672 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 8 0K 0K 166960K 10 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 16 61K 236K 166960K 305 0 sigio 0 0K 0K 166960K 3 0 proc 11 17K 83K 166960K 518 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 0 0K 0K 166960K 27 0 in_multi 70 4K 6K 166960K 111 0 ether_multi 1 0K 0K 166960K 4 0 mrt 0 0K 0K 166960K 13 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 2K 166960K 372 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 130 78K 167K 166960K 4124 0 UVM aobj 9 2K 2K 166960K 10 0 pinsyscall 18 36K 94K 166960K 1397 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 10 0 NDP 8 0K 2K 166960K 32 0 temp 36 9106K 9114K 166960K 7573 0 kqueue 2 4K 26K 166960K 79 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 57 0 56 1 0 1 1 0 8 0 rtentry 136 112 0 34 4 0 4 4 0 8 0 unpcb 144 177 0 175 3 2 1 3 0 8 0 syncache 336 6 0 6 1 1 0 1 0 8 0 tcpqe 32 4 0 4 2 1 1 1 0 8 1 tcpcb 736 58 0 51 2 0 2 2 0 8 1 arp 96 18 0 6 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 201 0 191 2 0 2 2 0 8 0 nd6 112 25 0 9 1 0 1 1 0 8 0 pkpcb 40 3 0 2 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 4 0 4 1 1 0 1 0 8 0 pfanchor 1288 4 0 0 1 0 1 1 0 8 0 pfrule 1360 33 0 33 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 455 0 132 29 5 24 29 0 8 0 art_table 40 456 0 132 5 0 5 5 0 8 0 art_node 32 112 0 41 1 0 1 1 0 8 0 semapl 72 8 0 2 1 0 1 1 0 8 0 shmpl 112 7 0 1 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1945 0 492 92 0 92 92 0 8 0 ffsino 256 1945 0 492 92 0 92 92 0 8 0 nchpl 144 2351 0 653 64 0 64 64 0 8 0 vnodes 216 2183 0 0 122 0 122 122 0 8 0 namei 1024 7077 0 7075 2 1 1 2 0 8 0 kstatmem 264 33 0 16 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 7817 0 7817 3 2 1 3 1 8 1 plimitpl 152 48 0 38 1 0 1 1 0 8 0 sigapl 424 610 0 556 7 0 7 7 0 8 0 knotepl 120 9248 0 9229 11 9 2 11 0 8 0 kqueuepl 184 107 0 105 2 1 1 2 0 8 0 pipepl 304 132 0 105 3 0 3 3 0 8 0 fdescpl 448 576 0 557 5 1 4 5 0 8 0 filepl 120 2767 0 2595 10 2 8 10 0 8 1 lockfpl 104 57 0 55 1 0 1 1 0 8 0 lockfspl 48 28 0 27 1 0 1 1 0 8 0 sessionpl 144 28 0 26 1 0 1 1 0 8 0 pgrppl 48 38 0 28 1 0 1 1 0 8 0 ucredpl 104 549 0 545 1 0 1 1 0 8 0 zombiepl 144 558 0 556 2 1 1 1 0 8 0 processpl 1152 610 0 556 5 0 5 5 0 8 0 procpl 664 849 0 784 7 0 7 7 0 8 0 sockpl 552 445 0 431 6 4 2 6 0 8 0 mcl64k 65536 8 0 8 2 1 1 1 0 8 1 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl9k128 9344 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 12 0 12 1 1 0 1 0 8 0 mcl4k 4096 2770 0 2720 17 9 8 17 0 8 0 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 257 0 257 4 3 1 3 0 8 1 mextrefs 64 157 0 157 2 1 1 1 0 8 1 mtagpl 96 8 0 6 1 0 1 1 0 8 0 mbufpl 256 6063 0 5940 13 2 11 13 0 8 0 bufpl 272 2770 0 102 178 0 178 178 0 8 0 anonpl 24 79823 0 77390 47 24 23 47 0 187 0 amapchunkpl 152 11779 0 11420 23 4 19 23 0 158 0 amappl16 200 963 0 884 15 10 5 14 0 8 0 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 408 0 408 1 1 0 1 0 8 0 amappl13 176 142 0 142 1 1 0 1 0 8 0 amappl12 168 808 0 792 2 0 2 2 0 8 0 amappl11 160 23 0 23 1 1 0 1 0 8 0 amappl10 152 107 0 107 1 1 0 1 0 8 0 amappl9 144 269 0 269 1 1 0 1 0 8 0 amappl8 136 93 0 92 1 0 1 1 0 8 0 amappl7 128 139 0 137 1 0 1 1 0 8 0 amappl6 120 144 0 144 1 1 0 1 0 8 0 amappl5 112 90 0 90 1 1 0 1 0 8 0 amappl4 104 259 0 257 1 0 1 1 0 8 0 amappl3 96 2246 0 2187 3 0 3 3 0 8 0 amappl2 88 695 0 671 2 0 2 2 0 8 0 amappl1 80 10760 0 10669 13 7 6 13 0 8 0 amappl 88 3409 0 3290 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 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 7 0 7 1 1 0 1 0 8 0 dma128 128 254 0 254 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 9 0 1 1 0 1 1 0 8 0 uaddrrnd 24 576 0 557 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 576 0 557 1 0 1 1 0 8 0 vmmpekpl 168 6477 0 6448 2 0 2 2 0 8 0 vmmpepl 168 44152 0 43292 81 40 41 81 0 357 0 vmsppl 368 575 0 557 4 1 3 4 0 8 0 rwobjpl 40 14731 0 14289 11 0 11 11 0 8 0 pdppl 4096 1158 0 1114 98 52 46 82 0 8 2 pvpl 32 245507 0 240912 98 41 57 98 0 265 0 pmappl 216 575 0 557 3 1 2 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 549 0 81 15 0 15 15 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace in_pcbhash_insert(fffff8806b6f27b8) at in_pcbhash_insert+0x252 sys/netinet/in_pcb.c:1108 in_pcballoc(ffff800010fe0008,ffffffff839a68a8,1) at in_pcballoc+0x23a sys/netinet/in_pcb.c:269 rip_attach(ffff800010fe0008,2,1) at rip_attach+0x117 sys/netinet/raw_ip.c:489 socreate(2,ffff800037ccfa20,3,2) at socreate+0x22f pru_attach sys/sys/protosw.h:275 [inline] socreate(2,ffff800037ccfa20,3,2) at socreate+0x22f sys/kern/uipc_socket.c:220 sys_socket(ffff80002a7634f0,ffff800037ccfb60,ffff800037ccfab0) at sys_socket+0x124 sys/kern/uipc_syscalls.c:102 syscall(ffff800037ccfb60) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800037ccfb60) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x227f5416b30, count: -7 ddb> machine ddbcpu 1 No such command ddb>