login: uvm_fault(0xffffffff82343e70, 0xffff800004d99002, 0, 1) -> e kernel: page fault trap, code=0 Stopped at rtable_satoplen+0x150: movzbl 0xffffffffffffffff(%r13),%r12d ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic kernel page fault uvm_fault(0xffffffff82343e70, 0xffff800004d99002, 0, 1) -> e rtable_satoplen(21,ffff800004d98f59) at rtable_satoplen+0x150 sys/net/rtable.c:888 end trace frame: 0xffff800020bf9190, count: 0 ddb{1}> trace rtable_satoplen(21,ffff800004d98f59) at rtable_satoplen+0x150 sys/net/rtable.c:888 rtable_lookup(0,ffff800004d98f09,ffff800004d98f59,ffff800004d98f11,21) at rtable_lookup+0xfd sys/net/rtable.c:391 rtm_output(ffff800004d98f00,ffff800020bf9280,ffff800020bf9288,21,0) at rtm_output+0x10c sys/net/rtsock.c:1122 route_output(fffffd806f3a4f00,fffffd806f6bba80,0,0) at route_output+0x79b sys/net/rtsock.c:806 route_usrreq(fffffd806f6bba80,9,fffffd806f3a4f00,0,0,ffff800020b74720) at route_usrreq+0x35d sys/net/rtsock.c:271 sosend(fffffd806f6bba80,0,ffff800020bf9548,0,0,0) at sosend+0x6eb sys/kern/uipc_socket.c:513 sendit(ffff800020b74720,4,ffff800020bf9608,0,ffff800020bf96d0) at sendit+0x590 sys/kern/uipc_syscalls.c:662 sys_sendto(ffff800020b74720,ffff800020bf96e8,ffff800020bf96d0) at sys_sendto+0x92 syscall(ffff800020bf9780) at syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(ffff800020bf9780) at syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 Xsyscall(6,0,ffffffffffffffd8,0,6,b54f1d790d8) at Xsyscall+0x128 end of kernel end trace frame: 0xb576de3a9f0, count: -10 ddb{1}> show registers rdi 0 rsi 0xaa rbp 0xffff800020bf90f0 rbx 0xffffffffffffff5a rdx 0xffff800004d98f5d rcx 0xffff800004d99003 rax 0xffff800004d99003 r8 0x21 r9 0x1 r10 0x4 r11 0x43dc4fabe92db2a9 r12 0 r13 0xffff800004d99003 r14 0xffffffff821ffef0 mplsdomain r15 0x4 rip 0xffffffff81608cc0 rtable_satoplen+0x150 cs 0x8 rflags 0x10287 __ALIGN_SIZE+0xf287 rsp 0xffff800020bf90a0 ss 0x10 rtable_satoplen+0x150: movzbl 0xffffffffffffffff(%r13),%r12d ddb{1}> show proc PROC (syz-executor.0) pid=13485 stat=onproc flags process=10 proc=4000000 pri=68, usrpri=68, nice=20 forw=0xffffffffffffffff, list=0xffff800020b759e0,0xffffffff823650f0 process=0xffff800020b3b708 user=0xffff800020bf4000, vmspace=0xfffffd807effe870 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 83925 120625 26784 32767 7 0x10 syz-executor.0 83925 312736 26784 32767 3 0x4000090 fsleep syz-executor.0 *83925 13485 26784 32767 7 0x4000010 syz-executor.0 26784 296565 17888 32767 3 0x90 nanosleep syz-executor.0 17888 265793 84657 0 3 0x82 wait syz-executor.0 46164 392234 0 0 3 0x14200 bored sosplice 84657 175786 48175 0 3 0x82 thrsleep syz-fuzzer 84657 364801 48175 0 3 0x4000082 nanosleep syz-fuzzer 84657 350694 48175 0 3 0x4000082 thrsleep syz-fuzzer 84657 335043 48175 0 3 0x4000082 thrsleep syz-fuzzer 84657 512669 48175 0 3 0x4000082 thrsleep syz-fuzzer 84657 27350 48175 0 3 0x4000082 thrsleep syz-fuzzer 84657 268236 48175 0 3 0x4000082 thrsleep syz-fuzzer 84657 490673 48175 0 3 0x4000082 kqread syz-fuzzer 84657 516265 48175 0 3 0x4000082 thrsleep syz-fuzzer 84657 361530 48175 0 3 0x4000082 thrsleep syz-fuzzer 48175 327455 85760 0 3 0x10008a pause ksh 85760 272953 10319 0 3 0x92 select sshd 54194 238128 1 0 3 0x100083 ttyin getty 10319 135724 1 0 3 0x80 select sshd 50944 65789 34134 73 2 0x100090 syslogd 34134 372057 1 0 3 0x100082 netio syslogd 92422 309843 1 77 3 0x100090 poll dhclient 979 27818 1 0 3 0x80 poll dhclient 80094 411365 0 0 3 0x14200 pgzero zerothread 53214 255625 0 0 3 0x14200 aiodoned aiodoned 39183 434495 0 0 3 0x14200 syncer update 43266 484966 0 0 3 0x14200 cleaner cleaner 37191 54415 0 0 3 0x14200 reaper reaper 40781 124864 0 0 3 0x14200 pgdaemon pagedaemon 72402 122249 0 0 3 0x14200 bored crynlk 23019 24031 0 0 3 0x14200 bored crypto 48046 74402 0 0 3 0x40014200 acpi0 acpi0 1527 308835 0 0 3 0x40014200 idle1 9537 174438 0 0 3 0x14200 bored softnet 20105 243896 0 0 3 0x14200 bored systqmp 68103 364858 0 0 3 0x14200 bored systq 23345 294507 0 0 3 0x40014200 bored softclock 74497 332815 0 0 3 0x40014200 idle0 36430 138127 0 0 3 0x14200 bored smr 1 112415 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 83925 (syz-executor.0) thread 0xffff800020b74720 (13485) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82399bd0) locked @ /syzkaller/managers/setuid/kernel/sys/arch/amd64/amd64/trap.c:161 #0 witness_lock+0x594 sys/kern/subr_witness.c:1201 #1 solock+0x7e sys/kern/uipc_socket2.c:292 #2 sosend+0x586 sys/kern/uipc_socket.c:501 #3 sendit+0x590 sys/kern/uipc_syscalls.c:662 #4 sys_sendto+0x92 #5 syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] #5 syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 #6 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9457 6319K 6321K 78643K 10614 0 0 pcb 25 9K 11K 78643K 416 0 0 rtable 80 2K 3K 78643K 597 0 0 ifaddr 29 9K 10K 78643K 116 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 2K 78643K 30 0 0 iov 0 0K 24K 78643K 67 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1201 75K 75K 78643K 1556 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 5 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 12 0K 1K 78643K 85 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12628 0 0 file desc 5 13K 33K 78643K 593 0 0 sigio 0 0K 0K 78643K 5 0 0 proc 41 38K 58K 78643K 563 0 0 subproc 34 34817K 69634K 78643K 510 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 66 0 0 in_multi 22 1K 2K 78643K 195 0 0 ether_multi 1 0K 0K 78643K 4 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 72 318K 318K 78643K 72 0 0 exec 0 0K 1K 78643K 282 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 74 12K 29K 78643K 2621 0 0 UVM aobj 26 2K 2K 78643K 28 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 19 0 0 NDP 4 0K 0K 78643K 48 0 0 temp 89 2371K 2437K 78643K 5028 0 0 kqueue 0 0K 0K 78643K 5 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 17 0 14 1 0 1 1 0 8 0 inpcbpl 280 325 0 318 1 0 1 1 0 8 0 plimitpl 152 66 0 59 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtentry 112 158 0 127 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 15 0 15 2 2 0 1 0 8 0 tcpcb 544 143 0 139 1 0 1 1 0 8 0 nd6 48 30 0 28 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 731 0 588 12 0 12 12 0 8 2 art_table 32 732 0 588 2 0 2 2 0 8 0 art_node 16 157 0 129 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 3 1 0 1 1 0 8 0 semapl 112 83 0 73 1 0 1 1 0 8 0 shmpl 112 26 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2139 0 718 47 0 47 47 0 8 0 ffsino 272 2139 0 718 96 0 96 96 0 8 0 nchpl 144 3158 0 1553 61 0 61 61 0 8 0 uvmvnodes 72 2403 0 0 44 0 44 44 0 8 0 vnodes 200 2403 0 0 127 0 127 127 0 8 0 namei 1024 9597 0 9597 1 0 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 8811 0 8811 7 6 1 6 0 8 1 sigapl 432 724 0 711 3 1 2 3 0 8 0 futexpl 56 5796 0 5795 1 0 1 1 0 8 0 knotepl 112 456 0 443 1 0 1 1 0 8 0 kqueuepl 104 169 0 167 1 0 1 1 0 8 0 pipepl 112 630 0 617 3 2 1 2 0 8 0 fdescpl 488 725 0 711 3 0 3 3 0 8 1 filepl 152 4837 0 4763 8 3 5 7 0 8 1 lockfpl 104 168 0 168 2 1 1 1 0 8 1 lockfspl 32 273 0 273 2 1 1 1 0 8 1 sessionpl 112 30 0 21 1 0 1 1 0 8 0 pgrppl 48 37 0 28 1 0 1 1 0 8 0 ucredpl 96 1291 0 1283 1 0 1 1 0 8 0 zombiepl 144 711 0 711 2 1 1 1 0 8 1 processpl 840 741 0 711 4 0 4 4 0 8 0 procpl 600 1795 0 1754 4 0 4 4 0 8 0 srpgc 64 82 0 82 2 1 1 1 0 8 1 sosppl 128 12 0 12 4 3 1 1 0 8 1 sockpl 384 734 0 715 4 1 3 4 0 8 1 mcl64k 65536 8 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 6 0 0 1 0 1 1 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 125 0 0 15 0 15 15 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 174 0 0 9 0 9 9 0 8 0 bufpl 256 6798 0 1122 355 0 355 355 0 8 0 anonpl 16 80831 0 75301 39 8 31 32 0 125 4 amapchunkpl 152 4413 0 4328 15 7 8 9 0 158 4 amappl16 192 2682 0 2346 21 2 19 19 0 8 1 amappl15 184 106 0 100 1 0 1 1 0 8 0 amappl14 176 87 0 84 2 1 1 1 0 8 0 amappl13 168 243 0 240 1 0 1 1 0 8 0 amappl12 160 190 0 188 1 0 1 1 0 8 0 amappl11 152 79 0 68 1 0 1 1 0 8 0 amappl10 144 153 0 149 2 1 1 1 0 8 0 amappl9 136 616 0 614 1 0 1 1 0 8 0 amappl8 128 204 0 185 1 0 1 1 0 8 0 amappl7 120 121 0 110 1 0 1 1 0 8 0 amappl6 112 59 0 52 1 0 1 1 0 8 0 amappl5 104 246 0 234 1 0 1 1 0 8 0 amappl4 96 989 0 962 2 1 1 2 0 8 0 amappl3 88 215 0 209 1 0 1 1 0 8 0 amappl2 80 4979 0 4927 2 0 2 2 0 8 0 amappl1 72 25745 0 25324 23 13 10 19 0 8 0 amappl 72 2104 0 2072 1 0 1 1 0 75 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma64 64 259 0 259 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 17 0 17 1 1 0 1 0 8 0 aobjpl 64 27 0 2 1 0 1 1 0 8 0 uaddrrnd 24 725 0 711 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 725 0 711 1 0 1 1 0 8 0 vmmpekpl 168 9889 0 9865 2 0 2 2 0 8 0 vmmpepl 168 87920 0 86635 85 16 69 72 0 357 8 vmsppl 360 724 0 711 2 0 2 2 0 8 0 pdppl 4096 1458 0 1422 6 0 6 6 0 8 1 pvpl 32 256408 0 247758 122 30 92 102 0 265 7 pmappl 224 724 0 711 3 2 1 2 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 505 0 2 15 0 15 15 0 8 0