uvm_fault(0xfffff8807f218450, 0x0, 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 *381815 97508 0 0x2 0 0 syz-executor rtable_l2(0) at rtable_l2+0x6b sys/net/rtable.c:315 ether_resolve(ffff8000002a2058,fffff8806ca1ea00,ffff800000c55d70,fffff880781fc2a8,ffff80002a78af1a) at ether_resolve+0x16f sys/net/if_ethersubr.c:233 ether_output(ffff8000002a2058,fffff8806ca1ea00,ffff800000c55d70,fffff880781fc2a8) at ether_output+0x54 ether_encap sys/net/if_ethersubr.c:342 [inline] ether_output(ffff8000002a2058,fffff8806ca1ea00,ffff800000c55d70,fffff880781fc2a8) at ether_output+0x54 sys/net/if_ethersubr.c:371 if_output_tso(ffff8000002a2058,ffff80002a78b0d0,ffff800000c55d70,fffff880781fc2a8,5dc) at if_output_tso+0x200 sys/net/if.c:-1 ip_output(fffff8806ca1ea00,0,fffff88075a3e300,800,0,fffff88075a3e398,a319768c716781b9) at ip_output+0x107e sys/netinet/ip_output.c:437 tcp_output(ffff8000015bae60) at tcp_output+0x3513 sys/netinet/tcp_output.c:1070 tcp_send(ffff800010fdf370,fffff8806ca1e200,0,0) at tcp_send+0x191 sys/netinet/tcp_usrreq.c:859 sosend(ffff800010fdf370,0,ffff80002a78b508,0,0,80) at sosend+0x804 sys/kern/uipc_socket.c:-1 dofilewritev(ffff80002a7567d8,3,ffff80002a78b508,0,ffff80002a78b5b0) at dofilewritev+0x2bd sys/kern/sys_generic.c:384 sys_write(ffff80002a7567d8,ffff80002a78b660,ffff80002a78b5b0) at sys_write+0xa2 sys/kern/sys_generic.c:300 syscall(ffff80002a78b660) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a78b660) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7344dfb0aa20, count: 3 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(0xfffff8807f218450, 0x0, 0, 1) -> e ddb> show kasan No such command ddb> trace rtable_l2(0) at rtable_l2+0x6b sys/net/rtable.c:315 ether_resolve(ffff8000002a2058,fffff8806ca1ea00,ffff800000c55d70,fffff880781fc2a8,ffff80002a78af1a) at ether_resolve+0x16f sys/net/if_ethersubr.c:233 ether_output(ffff8000002a2058,fffff8806ca1ea00,ffff800000c55d70,fffff880781fc2a8) at ether_output+0x54 ether_encap sys/net/if_ethersubr.c:342 [inline] ether_output(ffff8000002a2058,fffff8806ca1ea00,ffff800000c55d70,fffff880781fc2a8) at ether_output+0x54 sys/net/if_ethersubr.c:371 if_output_tso(ffff8000002a2058,ffff80002a78b0d0,ffff800000c55d70,fffff880781fc2a8,5dc) at if_output_tso+0x200 sys/net/if.c:-1 ip_output(fffff8806ca1ea00,0,fffff88075a3e300,800,0,fffff88075a3e398,a319768c716781b9) at ip_output+0x107e sys/netinet/ip_output.c:437 tcp_output(ffff8000015bae60) at tcp_output+0x3513 sys/netinet/tcp_output.c:1070 tcp_send(ffff800010fdf370,fffff8806ca1e200,0,0) at tcp_send+0x191 sys/netinet/tcp_usrreq.c:859 sosend(ffff800010fdf370,0,ffff80002a78b508,0,0,80) at sosend+0x804 sys/kern/uipc_socket.c:-1 dofilewritev(ffff80002a7567d8,3,ffff80002a78b508,0,ffff80002a78b5b0) at dofilewritev+0x2bd sys/kern/sys_generic.c:384 sys_write(ffff80002a7567d8,ffff80002a78b660,ffff80002a78b5b0) at sys_write+0xa2 sys/kern/sys_generic.c:300 syscall(ffff80002a78b660) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a78b660) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7344dfb0aa20, count: -12 ddb> show registers rdi 0x4 rsi 0 rbp 0xffff80002a78ae60 rbx 0xfffff8806ca1ea00 rdx 0 rcx 0 rax 0 r8 0xffff80002a78af1a r9 0x5dc r10 0x36303a446d71f907 r11 0xa3b39dbbde4b0471 r12 0xffff800000c55b20 r13 0xffff80002a78af1a r14 0 r15 0x4 rip 0xffffffff82dda11b rtable_l2+0x6b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a78ae30 ss 0x10 rtable_l2+0x6b: movzbl 0(%rax,%rcx,4),%eax ddb> show proc PROC (syz-executor) tid=381815 pid=97508 tcnt=1 stat=onproc flags process=2 proc=0 runpri=24, usrpri=50, slppri=24, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a757c98,0xffff80002a756a80 process=0xffff80002a764010 user=0xffff80002a786000, vmspace=0xfffff8807f218450 estcpu=0, cpticks=3, pctcpu=0.0, user=0, sys=3, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 23474 395846 11921 0 2 0 0 syz-executor 23474 504673 11921 0 3 0 0x4000080 fsleep syz-executor 79133 132546 55094 0 2 0x10 0 syz-executor 79133 427297 55094 0 2 0x10 0x4000000 syz-executor 22828 20216 23869 0 2 0 0 syz-executor 22828 273986 23869 0 3 0 0x4000080 bell syz-executor 59372 324940 53849 0 3 0 0x80 nanoslp syz-executor 59372 406346 53849 0 3 0 0x4000080 kqread syz-executor 59372 418717 53849 0 3 0 0x4000080 fsleep syz-executor 40723 428888 27217 0 3 0 0x80 nanoslp syz-executor 40723 333379 27217 0 3 0 0x4000080 kqsel syz-executor 40723 497514 27217 0 3 0 0x4000080 ttyin syz-executor 96495 346676 38836 -1 3 0x10 0x80 nanoslp syz-executor 96495 230652 38836 -1 3 0x10 0x4000080 fifor syz-executor 96495 514056 38836 -1 3 0x10 0x4000080 fsleep syz-executor 53849 487248 97508 0 3 0x2 0x80 nanoslp syz-executor 68964 58068 97508 0 3 0x2 0x80 nanoslp syz-executor 23869 502208 97508 0 3 0x2 0x80 nanoslp syz-executor 55094 393125 97508 0 3 0x2 0x80 nanoslp syz-executor 38836 204101 97508 0 3 0x2 0x80 nanoslp syz-executor 27217 420510 97508 0 3 0x2 0x80 nanoslp syz-executor 92086 318135 97508 0 2 0x2 0 syz-executor 11921 362668 97508 0 3 0x2 0x80 nanoslp syz-executor *97508 381815 21072 0 7 0x2 0 syz-executor 21072 421089 99077 0 3 0x100002 0x88 sigsusp ksh 99077 414412 48311 0 3 0x10 0x88 kqread sshd-session 48311 2406 99630 0 3 0x12 0x80 kqread sshd-session 40618 24076 1 0 3 0x100003 0x80 ttyin getty 99630 310835 1 0 3 0 0x88 kqread sshd 38406 176730 81961 73 3 0x1100010 0x80 kqread syslogd 81961 466345 1 0 3 0x100002 0x80 sbwait syslogd 22359 470314 1 0 3 0x100000 0x80 kqread resolvd 86224 439560 87052 77 3 0x100012 0x80 kqread dhcpleased 14946 442895 87052 77 3 0x100012 0x80 kqread dhcpleased 87052 446601 1 0 3 0 0x80 kqread dhcpleased 59982 357981 0 0 3 0x14000 0x200 bored smr 75673 334677 0 0 2 0x14000 0x200 zerothread 14524 47839 0 0 3 0x14000 0x200 aiodoned aiodoned 78080 339709 0 0 3 0x14000 0x200 syncer update 14238 88139 0 0 3 0x14000 0x200 cleaner cleaner 57823 87095 0 0 3 0x14000 0x200 reaper reaper 11696 42212 0 0 3 0x14000 0x200 pgdaemon pagedaemon 40778 58228 0 0 3 0x14000 0x200 bored viomb 78013 36290 0 0 3 0x14000 0x40000200 acpi0 acpi0 48278 53168 0 0 3 0x14000 0x200 bored softnet0 70729 235719 0 0 3 0x14000 0x200 bored systqmp 20394 197925 0 0 3 0x14000 0x200 bored systq 44134 192671 0 0 3 0x14000 0x40000200 tmoslp softclock 78952 67960 0 0 3 0x14000 0x40000200 idle0 1 41322 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 11032 12103K 12199K 166960K 12163 0 pcb 17 12K 12K 166960K 39 0 rtable 257 8K 8K 166960K 395 0 pf 32 13K 15K 166960K 37 0 ifaddr 43 7K 7K 166960K 47 0 ifgroup 50 2K 2K 166960K 54 0 sysctl 3 1K 9K 166960K 8 0 counters 33 17K 18K 166960K 37 0 ioctlops 0 0K 4K 166960K 110 0 iov 1 1K 8K 166960K 6 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1328 83K 84K 166960K 1482 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 7 0K 0K 166960K 8 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 93K 166960K 228 0 sigio 0 0K 0K 166960K 1 0 proc 59 59K 91K 166960K 516 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 10 0 in_multi 99 6K 6K 166960K 103 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 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 370 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 151K 160K 166960K 3610 0 UVM aobj 4 2K 4K 166960K 6 0 pinsyscall 38 76K 94K 166960K 1328 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 4 0 NDP 11 0K 2K 166960K 29 0 temp 35 9110K 9130K 166960K 7022 0 kqueue 17 24K 28K 166960K 53 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 42 0 39 1 0 1 1 0 8 0 rtentry 136 122 0 7 4 0 4 4 0 8 0 unpcb 144 177 0 160 4 0 4 4 0 8 3 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 28 0 23 1 0 1 1 0 8 0 arp 96 21 0 2 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 132 0 121 2 0 2 2 0 8 1 ip6q 80 2 0 1 1 0 1 1 0 8 0 ip6af 40 3 0 2 1 0 1 1 0 8 0 nd6 112 26 0 0 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 0 1 1 0 8 1 pfstscr 40 131 0 130 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 132 0 130 1 0 1 1 0 8 0 pfstate 384 66 0 65 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 472 0 9 30 0 30 30 0 8 0 art_table 40 473 0 9 5 0 5 5 0 8 0 art_node 32 122 0 19 1 0 1 1 0 8 0 semapl 72 6 0 1 1 0 1 1 0 8 0 shmpl 120 2 0 1 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1736 0 272 92 0 92 92 0 8 0 ffsino 256 1736 0 272 92 0 92 92 0 8 0 nchpl 144 2052 0 352 64 0 64 64 0 8 0 vnodes 216 1908 0 0 106 0 106 106 0 8 0 namei 1024 7214 0 7214 2 0 2 2 0 8 2 vcpupl 3968 16 0 16 2 0 2 2 0 8 2 vmpool 808 1 0 1 1 0 1 1 0 8 1 kstatmem 264 27 0 4 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 8789 0 8789 3 0 3 3 1 8 3 plimitpl 152 38 0 19 1 0 1 1 0 8 0 sigapl 424 523 0 481 6 0 6 6 0 8 1 knotepl 120 6551 0 6252 10 0 10 10 0 8 0 kqueuepl 184 60 0 47 1 0 1 1 0 8 0 pipepl 304 128 0 101 3 0 3 3 0 8 0 fdescpl 448 510 0 481 5 0 5 5 0 8 1 filepl 120 2308 0 2081 10 0 10 10 0 8 1 lockfpl 104 36 0 33 1 0 1 1 0 8 0 lockfspl 48 16 0 13 1 0 1 1 0 8 0 sessionpl 144 25 0 17 1 0 1 1 0 8 0 pgrppl 48 34 0 18 1 0 1 1 0 8 0 ucredpl 104 186 0 173 1 0 1 1 0 8 0 zombiepl 144 482 0 481 1 0 1 1 0 8 0 processpl 1160 523 0 481 4 0 4 4 0 8 0 procpl 664 663 0 612 5 0 5 5 0 8 0 sockpl 552 352 0 321 8 0 8 8 0 8 5 mcl64k 65536 6 0 6 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 2594 0 2540 15 0 15 15 0 8 7 mcl2k 2048 196 0 194 1 0 1 1 0 8 0 mextrefs 64 71 0 70 1 0 1 1 0 8 0 mtagpl 96 5 0 5 1 0 1 1 0 8 1 mbufpl 256 5126 0 4963 12 0 12 12 0 8 1 bufpl 272 3408 0 102 221 0 221 221 0 8 0 anonpl 24 90149 0 86964 57 0 57 57 0 187 18 amapchunkpl 152 10163 0 9661 22 0 22 22 0 158 1 amappl16 200 1561 0 1536 21 5 16 21 0 8 8 amappl15 192 4 0 4 1 0 1 1 0 8 1 amappl14 184 422 0 421 1 0 1 1 0 8 0 amappl13 176 116 0 106 1 0 1 1 0 8 0 amappl12 168 744 0 716 2 0 2 2 0 8 0 amappl11 160 3 0 3 1 0 1 1 0 8 1 amappl10 152 78 0 68 1 0 1 1 0 8 0 amappl9 144 269 0 269 1 0 1 1 0 8 1 amappl8 136 90 0 89 1 0 1 1 0 8 0 amappl7 128 141 0 130 1 0 1 1 0 8 0 amappl6 120 155 0 154 1 0 1 1 0 8 0 amappl5 112 90 0 82 1 0 1 1 0 8 0 amappl4 104 267 0 252 1 0 1 1 0 8 0 amappl3 96 1859 0 1762 3 0 3 3 0 8 0 amappl2 88 626 0 558 2 0 2 2 0 8 0 amappl1 80 10443 0 9892 13 0 13 13 0 8 1 amappl 88 2910 0 2746 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 5 0 2 1 0 1 1 0 8 0 uaddrrnd 24 510 0 481 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 510 0 481 1 0 1 1 0 8 0 vmmpekpl 168 6022 0 5989 2 0 2 2 0 8 0 vmmpepl 168 41452 0 39665 96 0 96 96 0 357 6 vmsppl 368 509 0 481 4 0 4 4 0 8 1 rwobjpl 40 14690 0 13742 14 0 14 14 0 8 1 pdppl 4096 1028 0 964 94 28 66 80 0 8 2 pvpl 32 233312 0 224324 130 0 130 130 0 265 32 pmappl 216 510 0 482 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 580 0 28 16 0 16 16 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace rtable_l2(0) at rtable_l2+0x6b sys/net/rtable.c:315 ether_resolve(ffff8000002a2058,fffff8806ca1ea00,ffff800000c55d70,fffff880781fc2a8,ffff80002a78af1a) at ether_resolve+0x16f sys/net/if_ethersubr.c:233 ether_output(ffff8000002a2058,fffff8806ca1ea00,ffff800000c55d70,fffff880781fc2a8) at ether_output+0x54 ether_encap sys/net/if_ethersubr.c:342 [inline] ether_output(ffff8000002a2058,fffff8806ca1ea00,ffff800000c55d70,fffff880781fc2a8) at ether_output+0x54 sys/net/if_ethersubr.c:371 if_output_tso(ffff8000002a2058,ffff80002a78b0d0,ffff800000c55d70,fffff880781fc2a8,5dc) at if_output_tso+0x200 sys/net/if.c:-1 ip_output(fffff8806ca1ea00,0,fffff88075a3e300,800,0,fffff88075a3e398,a319768c716781b9) at ip_output+0x107e sys/netinet/ip_output.c:437 tcp_output(ffff8000015bae60) at tcp_output+0x3513 sys/netinet/tcp_output.c:1070 tcp_send(ffff800010fdf370,fffff8806ca1e200,0,0) at tcp_send+0x191 sys/netinet/tcp_usrreq.c:859 sosend(ffff800010fdf370,0,ffff80002a78b508,0,0,80) at sosend+0x804 sys/kern/uipc_socket.c:-1 dofilewritev(ffff80002a7567d8,3,ffff80002a78b508,0,ffff80002a78b5b0) at dofilewritev+0x2bd sys/kern/sys_generic.c:384 sys_write(ffff80002a7567d8,ffff80002a78b660,ffff80002a78b5b0) at sys_write+0xa2 sys/kern/sys_generic.c:300 syscall(ffff80002a78b660) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a78b660) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7344dfb0aa20, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace rtable_l2(0) at rtable_l2+0x6b sys/net/rtable.c:315 ether_resolve(ffff8000002a2058,fffff8806ca1ea00,ffff800000c55d70,fffff880781fc2a8,ffff80002a78af1a) at ether_resolve+0x16f sys/net/if_ethersubr.c:233 ether_output(ffff8000002a2058,fffff8806ca1ea00,ffff800000c55d70,fffff880781fc2a8) at ether_output+0x54 ether_encap sys/net/if_ethersubr.c:342 [inline] ether_output(ffff8000002a2058,fffff8806ca1ea00,ffff800000c55d70,fffff880781fc2a8) at ether_output+0x54 sys/net/if_ethersubr.c:371 if_output_tso(ffff8000002a2058,ffff80002a78b0d0,ffff800000c55d70,fffff880781fc2a8,5dc) at if_output_tso+0x200 sys/net/if.c:-1 ip_output(fffff8806ca1ea00,0,fffff88075a3e300,800,0,fffff88075a3e398,a319768c716781b9) at ip_output+0x107e sys/netinet/ip_output.c:437 tcp_output(ffff8000015bae60) at tcp_output+0x3513 sys/netinet/tcp_output.c:1070 tcp_send(ffff800010fdf370,fffff8806ca1e200,0,0) at tcp_send+0x191 sys/netinet/tcp_usrreq.c:859 sosend(ffff800010fdf370,0,ffff80002a78b508,0,0,80) at sosend+0x804 sys/kern/uipc_socket.c:-1 dofilewritev(ffff80002a7567d8,3,ffff80002a78b508,0,ffff80002a78b5b0) at dofilewritev+0x2bd sys/kern/sys_generic.c:384 sys_write(ffff80002a7567d8,ffff80002a78b660,ffff80002a78b5b0) at sys_write+0xa2 sys/kern/sys_generic.c:300 syscall(ffff80002a78b660) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a78b660) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7344dfb0aa20, count: -12