uvm_fault(0xfffffd807d7a1a28, 0x7fff00000070, 0, 1) -> e kernel: page fault trap, code=0 Stopped at rtable_l2+0x6b: movzbl 0(%rax,%rcx,4),%eax TID PID UID PRFLAGS PFLAGS CPU COMMAND * 21776 89902 0 0 0x4000000 0 syz-executor rtable_l2(0) at rtable_l2+0x6b sys/net/rtable.c:315 in_pcbhash_insert(fffffd806fd1b520) at in_pcbhash_insert+0x193 sys/netinet/in_pcb.c:-1 in_pcballoc(ffff8000015fd150,ffffffff83a0abf8,1) at in_pcballoc+0x23a sys/netinet/in_pcb.c:269 tcp_attach(ffff8000015fd150,0,1) at tcp_attach+0x1c4 sys/netinet/tcp_usrreq.c:496 socreate(2,ffff80003c915850,1,0) at socreate+0x22f pru_attach sys/sys/protosw.h:275 [inline] socreate(2,ffff80003c915850,1,0) at socreate+0x22f sys/kern/uipc_socket.c:220 sys_socket(ffff80002a7a54e0,ffff80003c915990,ffff80003c9158e0) at sys_socket+0x124 sys/kern/uipc_syscalls.c:102 syscall(ffff80003c915990) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c915990) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3d2ec06fb30, count: 7 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(0xfffffd807d7a1a28, 0x7fff00000070, 0, 1) -> e ddb> show kasan No such command ddb> trace rtable_l2(0) at rtable_l2+0x6b sys/net/rtable.c:315 in_pcbhash_insert(fffffd806fd1b520) at in_pcbhash_insert+0x193 sys/netinet/in_pcb.c:-1 in_pcballoc(ffff8000015fd150,ffffffff83a0abf8,1) at in_pcballoc+0x23a sys/netinet/in_pcb.c:269 tcp_attach(ffff8000015fd150,0,1) at tcp_attach+0x1c4 sys/netinet/tcp_usrreq.c:496 socreate(2,ffff80003c915850,1,0) at socreate+0x22f pru_attach sys/sys/protosw.h:275 [inline] socreate(2,ffff80003c915850,1,0) at socreate+0x22f sys/kern/uipc_socket.c:220 sys_socket(ffff80002a7a54e0,ffff80003c915990,ffff80003c9158e0) at sys_socket+0x124 sys/kern/uipc_syscalls.c:102 syscall(ffff80003c915990) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c915990) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3d2ec06fb30, count: -8 ddb> show registers rdi 0x64 rsi 0 rbp 0xffff80003c915650 rbx 0 rdx 0 rcx 0 rax 0x7fff00000070 r8 0x30 r9 0 r10 0xced0363ad47ffbf1 r11 0x83e6ef88e811c59 r12 0xffff800000c55a90 r13 0 r14 0 r15 0x64 rip 0xffffffff8255c15b rtable_l2+0x6b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c915620 ss 0x10 rtable_l2+0x6b: movzbl 0(%rax,%rcx,4),%eax ddb> show proc PROC (syz-executor) tid=21776 pid=89902 tcnt=2 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=0xffff80002a7a4020,0xffffffff83af0300 process=0xffff8000380dd238 user=0xffff80003c910000, vmspace=0xfffffd807d7a1a28 estcpu=10, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 89902 306195 98650 0 2 0 0 syz-executor *89902 21776 98650 0 7 0 0x4000000 syz-executor 95519 94454 72070 0 2 0x100000 0 sh 72070 62348 88487 0 2 0x100002 0 sh 6798 364867 87479 0 2 0 0 syz-executor 6798 210530 87479 0 2 0 0x4000000 syz-executor 48548 197778 29878 0 2 0 0 syz-executor 48548 198514 29878 0 3 0 0x4000080 fsleep syz-executor 93107 154083 56487 -1 3 0x11 0x80 nanoslp syz-executor 93107 386616 56487 -1 3 0x11 0x4000080 lockf syz-executor 93107 327762 56487 -1 3 0x11 0x4000080 fsleep syz-executor 93107 397426 56487 -1 3 0x11 0x4000080 fsleep syz-executor 62580 286367 35209 0 2 0 0 syz-executor 62580 196343 35209 0 2 0 0x4000000 syz-executor 62580 476973 35209 0 3 0 0x4000080 fsleep syz-executor 98595 349988 58974 0 3 0x2 0x80 nanoslp syz-executor 87479 325021 58974 0 3 0x2 0x80 nanoslp syz-executor 56487 407723 58974 0 3 0x2 0x80 nanoslp syz-executor 88487 324377 58974 0 3 0x2 0x80 wait syz-executor 29878 144709 58974 0 3 0x2 0x80 nanoslp syz-executor 98650 481744 58974 0 3 0x2 0x80 nanoslp syz-executor 97584 371102 58974 0 3 0x2 0x80 nanoslp syz-executor 35209 223689 58974 0 3 0x2 0x80 nanoslp syz-executor 58974 444562 48058 0 3 0x2 0x80 kqread syz-executor 48058 435626 22141 0 3 0x100002 0x88 sigsusp ksh 22141 431292 50871 0 3 0x10 0x88 kqread sshd-session 50871 165910 42910 0 3 0x12 0x80 kqread sshd-session 45283 475330 1 0 3 0x100003 0x80 ttyin getty 42910 24045 1 0 3 0 0x88 kqread sshd 59278 486560 21774 73 3 0x1100010 0x80 kqread syslogd 21774 86326 1 0 3 0x100002 0x80 sbwait syslogd 60308 406040 1 0 3 0x100000 0x80 kqread resolvd 36939 333236 57526 77 3 0x100012 0x80 kqread dhcpleased 3009 63175 57526 77 3 0x100012 0x80 kqread dhcpleased 57526 12623 1 0 3 0 0x80 kqread dhcpleased 61942 183369 0 0 3 0x14000 0x200 bored smr 48252 253509 0 0 2 0x14000 0x200 zerothread 30345 481477 0 0 3 0x14000 0x200 aiodoned aiodoned 69167 305069 0 0 3 0x14000 0x200 syncer update 81831 329528 0 0 3 0x14000 0x200 cleaner cleaner 25452 168540 0 0 3 0x14000 0x200 reaper reaper 67239 522707 0 0 3 0x14000 0x200 pgdaemon pagedaemon 85887 131515 0 0 3 0x14000 0x200 bored viomb 12020 388537 0 0 3 0x14000 0x40000200 acpi0 acpi0 12359 301700 0 0 3 0x14000 0x200 bored softnet0 57618 29282 0 0 3 0x14000 0x200 smrbar systqmp 33771 280716 0 0 3 0x14000 0x200 bored systq 27381 401215 0 0 3 0x14000 0x40000200 tmoslp softclock 438 168944 0 0 3 0x14000 0x40000200 idle0 1 72458 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 11044 12146K 12146K 166960K 12133 0 pcb 18 12K 12K 166960K 18 0 rtable 221 6K 7K 166960K 367 0 pf 32 13K 13K 166960K 32 0 ifaddr 41 7K 7K 166960K 46 0 ifgroup 54 2K 2K 166960K 54 0 sysctl 1 1K 9K 166960K 5 0 counters 34 17K 17K 166960K 34 0 ioctlops 0 0K 4K 166960K 32 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1297 82K 82K 166960K 1363 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 2 0K 0K 166960K 2 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 19 69K 81K 166960K 141 0 proc 59 59K 91K 166960K 500 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 in_multi 89 6K 6K 166960K 100 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 43 201K 201K 166960K 43 0 exec 0 0K 1K 166960K 367 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 226 160K 167K 166960K 2923 0 UVM aobj 4 2K 2K 166960K 4 0 pinsyscall 40 80K 89K 166960K 1248 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 20 1K 1K 166960K 28 0 temp 34 9106K 9114K 166960K 3275 0 kqueue 13 20K 20K 166960K 25 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 36 0 33 1 0 1 1 0 8 0 rtentry 136 112 0 13 4 0 4 4 0 8 0 unpcb 144 42 0 23 1 0 1 1 0 8 0 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 9 0 5 1 0 1 1 0 8 0 arp 96 18 0 2 1 0 1 1 0 8 0 inpcb 328 63 0 53 1 0 1 1 0 8 0 nd6 112 24 0 4 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 460 0 0 29 0 29 29 0 8 0 art_table 40 462 0 0 5 0 5 5 0 8 0 art_node 32 112 0 9 1 0 1 1 0 8 0 shmpl 120 1 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1565 0 101 92 0 92 92 0 8 0 ffsino 256 1565 0 101 92 0 92 92 0 8 0 nchpl 144 1765 0 66 64 0 64 64 0 8 0 vnodes 216 1652 0 0 92 0 92 92 0 8 0 namei 1024 5899 0 5899 3 0 3 3 0 8 3 kstatmem 264 25 0 0 2 0 2 2 0 8 0 scxspl 216 6025 0 6025 4 0 4 4 1 8 4 plimitpl 152 28 0 12 1 0 1 1 0 8 0 sigapl 424 439 0 395 6 0 6 6 0 8 1 knotepl 120 2460 0 2413 2 0 2 2 0 8 0 kqueuepl 184 21 0 12 1 0 1 1 0 8 0 pipepl 304 123 0 96 3 0 3 3 0 8 0 fdescpl 448 426 0 395 4 0 4 4 0 8 0 filepl 120 1457 0 1237 7 0 7 7 0 8 0 lockfpl 104 8 0 4 1 0 1 1 0 8 0 lockfspl 48 5 0 2 1 0 1 1 0 8 0 sessionpl 144 25 0 16 1 0 1 1 0 8 0 pgrppl 48 33 0 16 1 0 1 1 0 8 0 ucredpl 104 88 0 76 1 0 1 1 0 8 0 zombiepl 144 397 0 395 1 0 1 1 0 8 0 processpl 1160 439 0 395 4 0 4 4 0 8 0 procpl 664 454 0 402 5 0 5 5 0 8 0 sockpl 552 142 0 110 3 0 3 3 0 8 0 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 2495 0 2440 17 1 16 17 0 8 8 mcl2k 2048 136 0 135 1 0 1 1 0 8 0 mextrefs 64 34 0 34 1 0 1 1 0 8 1 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 4384 0 4237 10 0 10 10 0 8 0 bufpl 272 2225 0 102 142 0 142 142 0 8 0 anonpl 24 84294 0 81226 21 0 21 21 0 187 1 amapchunkpl 152 7813 0 7328 19 0 19 19 0 158 0 amappl16 200 1341 0 1328 5 0 5 5 0 8 4 amappl15 192 2 0 2 1 0 1 1 0 8 1 amappl14 184 410 0 408 1 0 1 1 0 8 0 amappl13 176 116 0 106 1 0 1 1 0 8 0 amappl12 168 660 0 631 2 0 2 2 0 8 0 amappl11 160 6 0 5 1 0 1 1 0 8 0 amappl10 152 61 0 51 1 0 1 1 0 8 0 amappl9 144 270 0 270 1 0 1 1 0 8 1 amappl8 136 98 0 97 1 0 1 1 0 8 0 amappl7 128 172 0 161 1 0 1 1 0 8 0 amappl6 120 167 0 164 1 0 1 1 0 8 0 amappl5 112 91 0 84 1 0 1 1 0 8 0 amappl4 104 260 0 245 1 0 1 1 0 8 0 amappl3 96 1392 0 1298 3 0 3 3 0 8 0 amappl2 88 549 0 479 2 0 2 2 0 8 0 amappl1 80 10053 0 9499 13 0 13 13 0 8 0 amappl 88 2232 0 2071 4 0 4 4 0 92 0 uvmvnodes 80 95 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 426 0 395 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 426 0 395 1 0 1 1 0 8 0 vmmpekpl 168 5461 0 5438 2 0 2 2 0 8 0 vmmpepl 168 36633 0 34833 79 0 79 79 0 357 0 vmsppl 368 425 0 395 4 0 4 4 0 8 1 rwobjpl 40 13661 0 12724 11 0 11 11 0 8 1 pdppl 4096 859 0 790 91 22 69 75 0 8 0 pvpl 32 204245 0 196076 67 0 67 67 0 265 1 pmappl 216 425 0 395 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 496 0 23 14 0 14 14 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace rtable_l2(0) at rtable_l2+0x6b sys/net/rtable.c:315 in_pcbhash_insert(fffffd806fd1b520) at in_pcbhash_insert+0x193 sys/netinet/in_pcb.c:-1 in_pcballoc(ffff8000015fd150,ffffffff83a0abf8,1) at in_pcballoc+0x23a sys/netinet/in_pcb.c:269 tcp_attach(ffff8000015fd150,0,1) at tcp_attach+0x1c4 sys/netinet/tcp_usrreq.c:496 socreate(2,ffff80003c915850,1,0) at socreate+0x22f pru_attach sys/sys/protosw.h:275 [inline] socreate(2,ffff80003c915850,1,0) at socreate+0x22f sys/kern/uipc_socket.c:220 sys_socket(ffff80002a7a54e0,ffff80003c915990,ffff80003c9158e0) at sys_socket+0x124 sys/kern/uipc_syscalls.c:102 syscall(ffff80003c915990) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c915990) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3d2ec06fb30, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace rtable_l2(0) at rtable_l2+0x6b sys/net/rtable.c:315 in_pcbhash_insert(fffffd806fd1b520) at in_pcbhash_insert+0x193 sys/netinet/in_pcb.c:-1 in_pcballoc(ffff8000015fd150,ffffffff83a0abf8,1) at in_pcballoc+0x23a sys/netinet/in_pcb.c:269 tcp_attach(ffff8000015fd150,0,1) at tcp_attach+0x1c4 sys/netinet/tcp_usrreq.c:496 socreate(2,ffff80003c915850,1,0) at socreate+0x22f pru_attach sys/sys/protosw.h:275 [inline] socreate(2,ffff80003c915850,1,0) at socreate+0x22f sys/kern/uipc_socket.c:220 sys_socket(ffff80002a7a54e0,ffff80003c915990,ffff80003c9158e0) at sys_socket+0x124 sys/kern/uipc_syscalls.c:102 syscall(ffff80003c915990) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c915990) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3d2ec06fb30, count: -8