uvm_fault(0xffffffff8226b7f8, 0xffff800004d93002, 0, 1) -> e kernel: page fault trap, code=0 Stopped at rtable_satoplen+0x150: movzbl 0xffffffffffffffff(%r13),%r12d ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic kernel page fault uvm_fault(0xffffffff8226b7f8, 0xffff800004d93002, 0, 1) -> e rtable_satoplen(21,ffff800004d92f59) at rtable_satoplen+0x150 sys/net/rtable.c:888 end trace frame: 0xffff800020bd7760, count: 0 ddb{0}> trace rtable_satoplen(21,ffff800004d92f59) at rtable_satoplen+0x150 sys/net/rtable.c:888 rtable_lookup(0,ffff800004d92f09,ffff800004d92f59,ffff800004d92f11,21) at rtable_lookup+0xfd sys/net/rtable.c:391 rtm_output(ffff800004d92f00,ffff800020bd7850,ffff800020bd7858,21,0) at rtm_output+0x10c sys/net/rtsock.c:1122 route_output(fffffd8069bb8d00,fffffd806eadb908,0,0) at route_output+0x79b sys/net/rtsock.c:806 route_usrreq(fffffd806eadb908,9,fffffd8069bb8d00,0,0,ffff800020b28bd0) at route_usrreq+0x35d sys/net/rtsock.c:271 sosend(fffffd806eadb908,0,ffff800020bd7b18,0,0,0) at sosend+0x6eb sys/kern/uipc_socket.c:513 sendit(ffff800020b28bd0,3,ffff800020bd7bd8,0,ffff800020bd7ca0) at sendit+0x590 sys/kern/uipc_syscalls.c:662 sys_sendto(ffff800020b28bd0,ffff800020bd7cb8,ffff800020bd7ca0) at sys_sendto+0x92 syscall(ffff800020bd7d50) at syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(ffff800020bd7d50) at syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 Xsyscall(6,0,ffffffffffffffd8,0,6,a923865c0d8) at Xsyscall+0x128 end of kernel end trace frame: 0xa9536318410, count: -10 ddb{0}> show registers rdi 0 rsi 0xaa rbp 0xffff800020bd76c0 rbx 0xffffffffffffff5a rdx 0xffff800004d92f5d rcx 0xffff800004d93003 rax 0xffff800004d93003 r8 0x21 r9 0x1 r10 0x4 r11 0x2de1b323921df4f5 r12 0 r13 0xffff800004d93003 r14 0xffffffff822062d0 mplsdomain r15 0x4 rip 0xffffffff81bf1310 rtable_satoplen+0x150 cs 0x8 rflags 0x10287 __ALIGN_SIZE+0xf287 rsp 0xffff800020bd7670 ss 0x10 rtable_satoplen+0x150: movzbl 0xffffffffffffffff(%r13),%r12d ddb{0}> show proc PROC (syz-executor.1) pid=201965 stat=onproc flags process=10 proc=4000000 pri=79, usrpri=79, nice=20 forw=0xffffffffffffffff, list=0xffff800020b29c38,0xffff800020b284d8 process=0xffff800020b2a358 user=0xffff800020bd2000, vmspace=0xfffffd806e933440 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 43490 153242 91050 32767 2 0x10 syz-executor.0 43490 433725 91050 32767 2 0x4000010 syz-executor.0 21339 404478 55491 32767 2 0x10 syz-executor.1 21339 490449 55491 32767 3 0x4000090 fsleep syz-executor.1 *21339 201965 55491 32767 7 0x4000010 syz-executor.1 91050 87033 37728 32767 3 0x90 nanosleep syz-executor.0 37728 107168 37320 0 3 0x82 wait syz-executor.0 55491 267201 88714 32767 3 0x90 nanosleep syz-executor.1 88714 266467 37320 0 3 0x82 wait syz-executor.1 73205 382083 0 0 3 0x14200 bored sosplice 37320 340917 73270 0 3 0x82 thrsleep syz-fuzzer 37320 177822 73270 0 3 0x4000082 thrsleep syz-fuzzer 37320 16524 73270 0 3 0x4000082 thrsleep syz-fuzzer 37320 394459 73270 0 3 0x4000082 thrsleep syz-fuzzer 37320 398261 73270 0 3 0x4000082 thrsleep syz-fuzzer 37320 376517 73270 0 3 0x4000082 thrsleep syz-fuzzer 37320 269144 73270 0 3 0x4000082 kqread syz-fuzzer 37320 326839 73270 0 3 0x4000082 thrsleep syz-fuzzer 37320 161812 73270 0 3 0x4000082 thrsleep syz-fuzzer 37320 78380 73270 0 3 0x4000082 thrsleep syz-fuzzer 73270 230928 38493 0 3 0x10008a pause ksh 38493 244185 9329 0 3 0x92 select sshd 41595 314820 1 0 3 0x100083 ttyin getty 9329 67703 1 0 3 0x80 select sshd 54768 460478 9608 73 7 0x100090 syslogd 9608 110157 1 0 3 0x100082 netio syslogd 46973 521260 1 77 3 0x100090 poll dhclient 70626 163793 1 0 3 0x80 poll dhclient 43295 65014 0 0 2 0x14200 zerothread 2862 504443 0 0 3 0x14200 aiodoned aiodoned 18155 45034 0 0 3 0x14200 syncer update 46851 2585 0 0 3 0x14200 cleaner cleaner 33312 39473 0 0 3 0x14200 reaper reaper 72753 219048 0 0 3 0x14200 pgdaemon pagedaemon 59166 509960 0 0 3 0x14200 bored crynlk 65716 218205 0 0 3 0x14200 bored crypto 84952 370169 0 0 3 0x40014200 acpi0 acpi0 82534 357314 0 0 3 0x40014200 idle1 75173 252600 0 0 3 0x14200 bored softnet 97654 327 0 0 3 0x14200 bored systqmp 39614 187485 0 0 3 0x14200 bored systq 49647 165005 0 0 3 0x40014200 bored softclock 18844 274104 0 0 3 0x40014200 idle0 25468 281726 0 0 3 0x14200 bored smr 1 198563 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 21339 (syz-executor.1) thread 0xffff800020b28bd0 (201965) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff8236d8b0) 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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9461 6321K 6321K 78643K 10673 0 0 pcb 25 9K 11K 78643K 459 0 0 rtable 98 3K 3K 78643K 979 0 0 ifaddr 35 10K 10K 78643K 189 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 2K 78643K 44 0 0 iov 0 0K 32K 78643K 87 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1201 75K 75K 78643K 1808 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 18 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 12 0K 0K 78643K 122 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12628 0 0 file desc 8 25K 29K 78643K 849 0 0 sigio 0 0K 0K 78643K 10 0 0 proc 41 38K 58K 78643K 830 0 0 subproc 68 69634K 69634K 78643K 918 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 107 0 0 in_multi 33 2K 2K 78643K 337 0 0 ether_multi 1 0K 0K 78643K 9 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 66 291K 291K 78643K 66 0 0 exec 0 0K 1K 78643K 323 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 83 20K 29K 78643K 3416 0 0 UVM aobj 48 2K 2K 78643K 57 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 39 0 0 NDP 5 0K 0K 78643K 84 0 0 temp 121 2378K 2443K 78643K 6361 0 0 kqueue 0 0K 0K 78643K 9 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 29 0 25 1 0 1 1 0 8 0 inpcbpl 280 446 0 439 1 0 1 1 0 8 0 plimitpl 152 105 0 96 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtentry 112 266 0 226 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpcb 544 160 0 156 1 0 1 1 0 8 0 nd6 48 54 0 50 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1228 0 1040 12 0 12 12 0 8 0 art_table 32 1229 0 1040 2 0 2 2 0 8 0 art_node 16 265 0 231 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 6 2 1 1 1 0 8 0 semapl 112 120 0 110 1 0 1 1 0 8 0 shmpl 112 55 0 9 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2399 0 955 47 0 47 47 0 8 0 ffsino 272 2399 0 955 97 0 97 97 0 8 0 nchpl 144 3714 0 2082 61 0 61 61 0 8 0 uvmvnodes 72 2867 0 0 53 0 53 53 0 8 0 vnodes 200 2867 0 0 151 0 151 151 0 8 0 namei 1024 12532 0 12532 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 9821 0 9821 11 10 1 6 0 8 1 sigapl 432 944 0 928 2 0 2 2 0 8 0 futexpl 56 7951 0 7950 1 0 1 1 0 8 0 knotepl 112 756 0 737 1 0 1 1 0 8 0 kqueuepl 104 219 0 217 1 0 1 1 0 8 0 pipepl 112 880 0 861 5 3 2 2 0 8 1 fdescpl 488 945 0 928 3 0 3 3 0 8 0 filepl 152 6296 0 6198 7 2 5 7 0 8 1 lockfpl 104 260 0 260 2 1 1 1 0 8 1 lockfspl 32 431 0 431 2 1 1 1 0 8 1 sessionpl 112 42 0 32 1 0 1 1 0 8 0 pgrppl 48 51 0 41 1 0 1 1 0 8 0 ucredpl 96 1684 0 1675 1 0 1 1 0 8 0 zombiepl 144 928 0 928 2 1 1 1 0 8 1 processpl 840 961 0 928 4 0 4 4 0 8 0 procpl 600 2359 0 2314 4 0 4 4 0 8 0 srpgc 64 146 0 146 2 1 1 1 0 8 1 sosppl 128 8 0 8 2 1 1 1 0 8 1 sockpl 384 906 0 887 4 1 3 4 0 8 1 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 6 0 0 1 0 1 1 0 8 0 mcl9k 9216 6 0 0 1 0 1 1 0 8 0 mcl8k 8192 8 0 0 1 0 1 1 0 8 0 mcl4k 4096 6 0 0 1 0 1 1 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 130 0 0 16 0 16 16 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 170 0 0 9 0 9 9 0 8 0 bufpl 256 6924 0 1124 363 0 363 363 0 8 0 anonpl 16 116533 0 110082 65 16 49 49 0 125 19 amapchunkpl 152 6000 0 5914 15 6 9 9 0 158 5 amappl16 192 4439 0 4097 53 24 29 30 0 8 10 amappl15 184 216 0 210 1 0 1 1 0 8 0 amappl14 176 324 0 321 2 1 1 1 0 8 0 amappl13 168 122 0 114 1 0 1 1 0 8 0 amappl12 160 238 0 236 1 0 1 1 0 8 0 amappl11 152 192 0 178 1 0 1 1 0 8 0 amappl10 144 82 0 80 2 1 1 1 0 8 0 amappl9 136 723 0 720 1 0 1 1 0 8 0 amappl8 128 346 0 329 1 0 1 1 0 8 0 amappl7 120 91 0 84 1 0 1 1 0 8 0 amappl6 112 142 0 136 1 0 1 1 0 8 0 amappl5 104 285 0 273 1 0 1 1 0 8 0 amappl4 96 1007 0 974 2 1 1 2 0 8 0 amappl3 88 444 0 439 1 0 1 1 0 8 0 amappl2 80 6464 0 6395 2 0 2 2 0 8 0 amappl1 72 31473 0 31012 24 15 9 19 0 8 0 amappl 72 2765 0 2729 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 56 0 9 1 0 1 1 0 8 0 uaddrrnd 24 945 0 928 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 945 0 928 1 0 1 1 0 8 0 vmmpekpl 168 11789 0 11766 2 0 2 2 0 8 0 vmmpepl 168 115102 0 113620 121 45 76 84 0 357 11 vmsppl 360 944 0 928 2 0 2 2 0 8 0 pdppl 4096 1898 0 1856 6 0 6 6 0 8 0 pvpl 32 339437 0 329652 168 39 129 129 0 265 43 pmappl 224 944 0 928 5 3 2 2 0 8 1 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 516 0 3 15 0 15 15 0 8 0