uvm_fault(0xfffff3007f22e170, 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 *458157 67652 0 0x2 0 0 syz-executor rtable_l2(0) at rtable_l2+0x6b sys/net/rtable.c:315 pf_setup_pdesc(ffff80002a7952b8,2,2,ffff80000040ce00,fffff300618f7000,ffff80002a7953ce) at pf_setup_pdesc+0xb1 sys/net/pf.c:8039 pf_test(2,2,ffff8000002a3058,ffff80002a795500) at pf_test+0x329 sys/net/pf.c:8339 ip_output(fffff300618f7000,0,fffff3007346e070,800,0,fffff3007346e108,adac8e923042191a) at ip_output+0xda7 sys/netinet/ip_output.c:401 tcp_output(ffff8000015bd000) at tcp_output+0x3513 sys/netinet/tcp_output.c:1070 tcp_send(ffff800010fe0680,fffff300618f7a00,0,0) at tcp_send+0x191 sys/netinet/tcp_usrreq.c:859 sosend(ffff800010fe0680,0,ffff80002a795938,0,0,80) at sosend+0x804 sys/kern/uipc_socket.c:-1 dofilewritev(ffff80002a766010,3,ffff80002a795938,0,ffff80002a7959e0) at dofilewritev+0x2bd sys/kern/sys_generic.c:384 sys_write(ffff80002a766010,ffff80002a795a90,ffff80002a7959e0) at sys_write+0xa2 sys/kern/sys_generic.c:300 syscall(ffff80002a795a90) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a795a90) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d4ad7e22280, count: 4 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(0xfffff3007f22e170, 0x0, 0, 1) -> e ddb> show kasan No such command ddb> trace rtable_l2(0) at rtable_l2+0x6b sys/net/rtable.c:315 pf_setup_pdesc(ffff80002a7952b8,2,2,ffff80000040ce00,fffff300618f7000,ffff80002a7953ce) at pf_setup_pdesc+0xb1 sys/net/pf.c:8039 pf_test(2,2,ffff8000002a3058,ffff80002a795500) at pf_test+0x329 sys/net/pf.c:8339 ip_output(fffff300618f7000,0,fffff3007346e070,800,0,fffff3007346e108,adac8e923042191a) at ip_output+0xda7 sys/netinet/ip_output.c:401 tcp_output(ffff8000015bd000) at tcp_output+0x3513 sys/netinet/tcp_output.c:1070 tcp_send(ffff800010fe0680,fffff300618f7a00,0,0) at tcp_send+0x191 sys/netinet/tcp_usrreq.c:859 sosend(ffff800010fe0680,0,ffff80002a795938,0,0,80) at sosend+0x804 sys/kern/uipc_socket.c:-1 dofilewritev(ffff80002a766010,3,ffff80002a795938,0,ffff80002a7959e0) at dofilewritev+0x2bd sys/kern/sys_generic.c:384 sys_write(ffff80002a766010,ffff80002a795a90,ffff80002a7959e0) at sys_write+0xa2 sys/kern/sys_generic.c:300 syscall(ffff80002a795a90) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a795a90) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d4ad7e22280, count: -11 ddb> show registers rdi 0x10303 __ALIGN_SIZE+0xf303 rsi 0 rbp 0xffff80002a7951d0 rbx 0x2 rdx 0 rcx 0 rax 0 r8 0xc8 r9 0xffff80002a7953ce r10 0x370a0cc9764eef1b r11 0xf1f4605dda014e34 r12 0xffff8000016dff90 r13 0xffff80000040ce00 r14 0 r15 0x10303 __ALIGN_SIZE+0xf303 rip 0xffffffff8197f46b rtable_l2+0x6b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a7951a0 ss 0x10 rtable_l2+0x6b: movzbl 0(%rax,%rcx,4),%eax ddb> show proc PROC (syz-executor) tid=458157 pid=67652 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=0xffff80002a737230,0xffff80002a766d18 process=0xffff80002a79c010 user=0xffff80002a790000, vmspace=0xfffff3007f22e170 estcpu=0, cpticks=14, pctcpu=0.3, user=2, sys=12, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 30646 125165 77850 0 2 0 syz-executor 65143 231264 16085 0 2 0 syz-executor 65143 169158 16085 0 3 0x4000080 fsleep syz-executor 65143 315015 16085 0 2 0x4000000 syz-executor 10226 482997 26188 0 2 0 syz-executor 10226 195116 26188 0 3 0x4000080 fsleep syz-executor 53585 325694 85432 60929 3 0x90 nanoslp syz-executor 53585 100781 85432 60929 3 0x4000090 kqread syz-executor 41981 356615 84448 0 2 0x1 syz-executor 41981 522298 84448 0 3 0x4000081 fsleep syz-executor 23579 199053 57027 0 2 0xc80 syz-executor 23579 139438 57027 0 3 0x4000080 netacc syz-executor 23579 157761 57027 0 3 0x4000080 fsleep syz-executor 24345 189578 27993 0 2 0xc80 syz-executor 24345 441375 27993 0 3 0x4000080 lockf syz-executor 24345 116957 27993 0 3 0x4000080 fsleep syz-executor 85071 223272 1 0 3 0x82 nanoslp getty 31374 441480 0 0 3 0x14280 nfsidl nfsio 55586 1102 0 0 3 0x14280 nfsidl nfsio 36297 64189 0 0 3 0x14280 nfsidl nfsio 69060 476916 0 0 3 0x14280 nfsidl nfsio 16663 72390 0 0 3 0x14280 nfsidl nfsio 90714 55190 0 0 3 0x14280 nfsidl nfsio 18466 222812 0 0 3 0x14280 nfsidl nfsio 60845 380225 0 0 3 0x14280 nfsidl nfsio 1419 67453 0 0 3 0x14280 nfsidl nfsio 17349 340035 0 0 3 0x14280 nfsidl nfsio 61385 61729 0 0 3 0x14280 nfsidl nfsio 11765 513608 0 0 3 0x14280 nfsidl nfsio 41762 428693 0 0 3 0x14280 nfsidl nfsio 70162 87565 0 0 3 0x14280 nfsidl nfsio 37532 488563 0 0 3 0x14280 nfsidl nfsio 33327 52396 0 0 3 0x14280 nfsidl nfsio 61208 307872 0 0 3 0x14280 nfsidl nfsio 6787 472544 0 0 3 0x14280 nfsidl nfsio 25113 13051 0 0 3 0x14280 nfsidl nfsio 61796 490292 0 0 3 0x14280 nfsidl nfsio 2321 306432 0 0 3 0x14200 acct acct 85432 70239 67652 0 3 0x82 nanoslp syz-executor 26188 337693 67652 0 2 0xc82 syz-executor 77850 216238 67652 0 3 0x82 nanoslp syz-executor 84448 93516 67652 0 3 0x82 nanoslp syz-executor 57027 440673 67652 0 2 0xc82 syz-executor 22789 167095 67652 0 2 0x2 syz-executor 27993 280911 67652 0 2 0xc82 syz-executor 16085 326825 67652 0 2 0xc82 syz-executor *67652 458157 1 0 7 0x2 syz-executor 34197 375443 0 0 3 0x14200 bored smr 39122 78003 0 0 2 0x14200 zerothread 62839 83862 0 0 3 0x14200 aiodoned aiodoned 17796 428800 0 0 3 0x14200 syncer update 88928 279390 0 0 3 0x14200 cleaner cleaner 22516 383379 0 0 3 0x14200 reaper reaper 61326 433955 0 0 3 0x14200 pgdaemon pagedaemon 29909 110510 0 0 3 0x14200 bored viomb 81630 487202 0 0 3 0x40014200 acpi0 acpi0 43448 210505 0 0 3 0x14200 bored softnet0 61590 170616 0 0 3 0x14200 bored systqmp 81862 60816 0 0 3 0x14200 bored systq 36476 93116 0 0 3 0x40014200 tmoslp softclock 581 304922 0 0 3 0x40014200 idle0 1 123137 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11048 12108K 12348K 166960K 12364 0 pcb 18 14K 16K 166960K 176 0 rtable 240 9K 10K 166960K 405 0 pf 30 13K 17K 166960K 48 0 ifaddr 39 7K 8K 166960K 52 0 ifgroup 46 2K 2K 166960K 60 0 sysctl 1 1K 9K 166960K 7 0 counters 32 17K 18K 166960K 40 0 ioctlops 0 0K 4K 166960K 149 0 iov 0 0K 12K 166960K 12 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1284 81K 81K 166960K 1568 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 15 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 26 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 16 61K 93K 166960K 411 0 proc 19 25K 83K 166960K 560 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 33 0 in_multi 92 6K 7K 166960K 105 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 10 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 205 917K 917K 166960K 205 0 exec 0 0K 1K 166960K 490 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 127 82K 168K 166960K 5444 0 UVM aobj 77 3K 5K 166960K 81 0 pinsyscall 19 38K 93K 166960K 1525 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 12 0 NDP 10 0K 2K 166960K 33 0 temp 75 9120K 9170K 166960K 12758 0 kqueue 2 4K 28K 166960K 81 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 51 0 51 1 0 1 1 0 8 1 rtentry 136 120 0 16 4 0 4 4 0 8 0 unpcb 144 167 0 164 1 0 1 1 0 8 0 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpcb 736 230 0 225 7 0 7 7 0 8 6 arp 96 21 0 3 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 568 0 560 12 3 9 12 0 8 8 ip6q 72 2 0 0 1 0 1 1 0 8 0 ip6af 40 2 0 0 1 0 1 1 0 8 0 nd6 112 26 0 3 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 ppxss 1072 7 0 7 1 0 1 1 0 8 1 pfstscr 40 3 0 1 1 0 1 1 0 8 0 pffrag 232 2 0 0 1 0 1 1 0 482 0 pffrnode 88 2 0 0 1 0 1 1 0 8 0 pffrent 40 37 0 34 1 0 1 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 2 1 0 1 1 0 8 0 pfstate 384 2 0 1 1 0 1 1 0 8 0 pfrule 1360 2 0 1 1 0 1 1 0 8 0 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 476 0 46 30 0 30 30 0 8 1 art_table 40 478 0 46 5 0 5 5 0 8 0 art_node 32 120 0 27 1 0 1 1 0 8 0 sysvmsgpl 40 69 0 67 1 0 1 1 0 8 0 semapl 72 22 0 12 1 0 1 1 0 8 0 shmpl 112 78 0 4 3 0 3 3 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2081 0 621 92 0 92 92 0 8 0 ffsino 256 2081 0 621 92 0 92 92 0 8 0 nchpl 144 2687 0 992 64 0 64 64 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 vnodes 216 2254 0 0 126 0 126 126 0 8 0 namei 1024 8661 0 8661 2 0 2 2 0 8 2 kstatmem 264 33 0 12 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 11325 0 11325 8 0 8 8 1 8 8 plimitpl 152 119 0 109 1 0 1 1 0 8 0 sigapl 424 731 0 678 8 0 8 8 0 8 1 knotepl 120 14396 0 14372 10 0 10 10 0 8 8 kqueuepl 184 109 0 106 1 0 1 1 0 8 0 pipepl 304 139 0 112 3 0 3 3 0 8 0 fdescpl 448 697 0 678 5 0 5 5 0 8 2 filepl 120 3664 0 3491 12 0 12 12 0 8 5 lockfpl 104 89 0 85 1 0 1 1 0 8 0 lockfspl 48 42 0 39 1 0 1 1 0 8 0 sessionpl 144 33 0 30 1 0 1 1 0 8 0 pgrppl 48 46 0 35 1 0 1 1 0 8 0 ucredpl 104 584 0 580 1 0 1 1 0 8 0 zombiepl 144 678 0 678 1 0 1 1 0 8 1 processpl 1152 731 0 678 5 0 5 5 0 8 0 procpl 664 1170 0 1108 7 0 7 7 0 8 1 sosppl 176 6 0 6 1 0 1 1 0 8 1 sockpl 552 797 0 786 13 3 10 13 0 8 8 sockpl: pool(0xffffffff83a87ca8:sockpl): free list modified: page 0xffff8000016e0000; item ordinal 0; addr 0xffff8000016e0258 (p 0xffff8000016e0000); offset 0x0=0x0 pool(sockpl): free list modified: page 0xffff8000016e0000; item ordinal 0; addr 0xffff8000016e0258 (p 0xffff8000016e0000); offset 0x0=0x10303 sockpl: pool(0xffffffff83a87ca8:sockpl): page inconsistency: page 0xffff8000016e0000; item ordinal 1; addr 0x73c2d8462aac47cd mcl64k 65536 18 0 15 1 0 1 1 0 8 0 mcl9k128 9344 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 7 0 6 1 0 1 1 0 8 0 mcl4k 4096 2890 0 2839 14 0 14 14 0 8 7 mcl2k 2048 395 0 390 1 0 1 1 0 8 0 mextrefs 64 150 0 147 1 0 1 1 0 8 0 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 7378 0 7231 11 0 11 11 0 8 0 bufpl 272 4745 0 102 310 0 310 310 0 8 0 anonpl 24 122925 0 121452 45 0 45 45 0 187 21 amapchunkpl 152 16347 0 16024 25 0 25 25 0 158 7 amappl16 200 2135 0 2115 14 2 12 14 0 8 8 amappl15 192 55 0 55 1 0 1 1 0 8 1 amappl14 184 412 0 412 1 0 1 1 0 8 1 amappl13 176 117 0 116 1 0 1 1 0 8 0 amappl12 168 934 0 917 2 0 2 2 0 8 1 amappl11 160 43 0 43 1 0 1 1 0 8 1 amappl10 152 61 0 61 1 0 1 1 0 8 1 amappl9 144 301 0 301 1 0 1 1 0 8 1 amappl8 136 97 0 97 1 0 1 1 0 8 1 amappl7 128 187 0 185 1 0 1 1 0 8 0 amappl6 120 147 0 147 1 0 1 1 0 8 1 amappl5 112 96 0 95 1 0 1 1 0 8 0 amappl4 104 265 0 262 1 0 1 1 0 8 0 amappl3 96 3218 0 3146 4 0 4 4 0 8 1 amappl2 88 533 0 524 2 0 2 2 0 8 0 amappl1 80 11290 0 11173 13 0 13 13 0 8 5 amappl 88 4650 0 4539 5 0 5 5 0 92 2 uvmvnodes 80 104 0 0 3 0 3 3 0 8 0 dma32768 32768 1 0 1 1 0 1 1 0 8 1 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 80 0 4 2 0 2 2 0 8 0 uaddrrnd 24 697 0 678 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 697 0 678 1 0 1 1 0 8 0 vmmpekpl 168 7438 0 7405 2 0 2 2 0 8 0 vmmpepl 168 52584 0 51759 90 0 90 90 0 357 50 vmsppl 368 696 0 678 4 0 4 4 0 8 2 rwobjpl 40 17265 0 16786 13 0 13 13 0 8 1 pdppl 4096 1400 0 1356 98 32 66 80 0 8 22 pvpl 32 318183 0 314256 107 0 107 107 0 265 52 pmappl 216 696 0 678 3 0 3 3 0 8 1 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 679 0 32 19 0 19 19 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace rtable_l2(0) at rtable_l2+0x6b sys/net/rtable.c:315 pf_setup_pdesc(ffff80002a7952b8,2,2,ffff80000040ce00,fffff300618f7000,ffff80002a7953ce) at pf_setup_pdesc+0xb1 sys/net/pf.c:8039 pf_test(2,2,ffff8000002a3058,ffff80002a795500) at pf_test+0x329 sys/net/pf.c:8339 ip_output(fffff300618f7000,0,fffff3007346e070,800,0,fffff3007346e108,adac8e923042191a) at ip_output+0xda7 sys/netinet/ip_output.c:401 tcp_output(ffff8000015bd000) at tcp_output+0x3513 sys/netinet/tcp_output.c:1070 tcp_send(ffff800010fe0680,fffff300618f7a00,0,0) at tcp_send+0x191 sys/netinet/tcp_usrreq.c:859 sosend(ffff800010fe0680,0,ffff80002a795938,0,0,80) at sosend+0x804 sys/kern/uipc_socket.c:-1 dofilewritev(ffff80002a766010,3,ffff80002a795938,0,ffff80002a7959e0) at dofilewritev+0x2bd sys/kern/sys_generic.c:384 sys_write(ffff80002a766010,ffff80002a795a90,ffff80002a7959e0) at sys_write+0xa2 sys/kern/sys_generic.c:300 syscall(ffff80002a795a90) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a795a90) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d4ad7e22280, count: -11 ddb> machine ddbcpu 1 No such command ddb> trace rtable_l2(0) at rtable_l2+0x6b sys/net/rtable.c:315 pf_setup_pdesc(ffff80002a7952b8,2,2,ffff80000040ce00,fffff300618f7000,ffff80002a7953ce) at pf_setup_pdesc+0xb1 sys/net/pf.c:8039 pf_test(2,2,ffff8000002a3058,ffff80002a795500) at pf_test+0x329 sys/net/pf.c:8339 ip_output(fffff300618f7000,0,fffff3007346e070,800,0,fffff3007346e108,adac8e923042191a) at ip_output+0xda7 sys/netinet/ip_output.c:401 tcp_output(ffff8000015bd000) at tcp_output+0x3513 sys/netinet/tcp_output.c:1070 tcp_send(ffff800010fe0680,fffff300618f7a00,0,0) at tcp_send+0x191 sys/netinet/tcp_usrreq.c:859 sosend(ffff800010fe0680,0,ffff80002a795938,0,0,80) at sosend+0x804 sys/kern/uipc_socket.c:-1 dofilewritev(ffff80002a766010,3,ffff80002a795938,0,ffff80002a7959e0) at dofilewritev+0x2bd sys/kern/sys_generic.c:384 sys_write(ffff80002a766010,ffff80002a795a90,ffff80002a7959e0) at sys_write+0xa2 sys/kern/sys_generic.c:300 syscall(ffff80002a795a90) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a795a90) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d4ad7e22280, count: -11 ddb>