login: uvm_fault(0xffffffff82316078, 0xffff800004d88002, 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(0xffffffff82316078, 0xffff800004d88002, 0, 1) -> e rtable_satoplen(21,ffff800004d87f59) at rtable_satoplen+0x150 sys/net/rtable.c:888 end trace frame: 0xffff800020c0cd70, count: 0 ddb{0}> trace rtable_satoplen(21,ffff800004d87f59) at rtable_satoplen+0x150 sys/net/rtable.c:888 rtable_lookup(0,ffff800004d87f09,ffff800004d87f59,ffff800004d87f11,21) at rtable_lookup+0xfd sys/net/rtable.c:391 rtm_output(ffff800004d87f00,ffff800020c0ce60,ffff800020c0ce68,21,0) at rtm_output+0x10c sys/net/rtsock.c:1122 route_output(fffffd807e498f00,fffffd806f6bf780,0,0) at route_output+0x79b sys/net/rtsock.c:806 route_usrreq(fffffd806f6bf780,9,fffffd807e498f00,0,0,ffff800020b384c8) at route_usrreq+0x35d sys/net/rtsock.c:271 sosend(fffffd806f6bf780,0,ffff800020c0d128,0,0,0) at sosend+0x6eb sys/kern/uipc_socket.c:513 sendit(ffff800020b384c8,3,ffff800020c0d1e8,0,ffff800020c0d2b0) at sendit+0x590 sys/kern/uipc_syscalls.c:662 sys_sendto(ffff800020b384c8,ffff800020c0d2c8,ffff800020c0d2b0) at sys_sendto+0x92 syscall(ffff800020c0d360) at syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(ffff800020c0d360) at syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 Xsyscall(6,0,ffffffffffffffd8,0,6,770168d8010) at Xsyscall+0x128 end of kernel end trace frame: 0x772dafcdb10, count: -10 ddb{0}> show registers rdi 0 rsi 0xaa rbp 0xffff800020c0ccd0 rbx 0xffffffffffffff5a rdx 0xffff800004d87f5d rcx 0xffff800004d88003 rax 0xffff800004d88003 r8 0x21 r9 0x1 r10 0x4 r11 0xe924f3ce4e80aa61 r12 0 r13 0xffff800004d88003 r14 0xffffffff821d4d38 mplsdomain r15 0x4 rip 0xffffffff817c8070 rtable_satoplen+0x150 cs 0x8 rflags 0x10287 __ALIGN_SIZE+0xf287 rsp 0xffff800020c0cc80 ss 0x10 rtable_satoplen+0x150: movzbl 0xffffffffffffffff(%r13),%r12d ddb{0}> show proc PROC (syz-executor.0) pid=137031 stat=onproc flags process=10 proc=4000000 pri=51, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800020b399e0,0xffffffff823853b0 process=0xffff800020b3ba50 user=0xffff800020c08000, vmspace=0xfffffd807effd708 estcpu=9, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 4076 524235 84352 32767 2 0x10 syz-executor.0 * 4076 137031 84352 32767 7 0x4000010 syz-executor.0 84352 180637 50245 32767 3 0x90 nanosleep syz-executor.0 50245 291901 20785 0 3 0x82 wait syz-executor.0 84657 423859 72050 32767 3 0x90 piperd syz-executor.1 72050 389578 20785 0 3 0x82 wait syz-executor.1 62315 92505 0 0 3 0x14200 bored sosplice 20785 397506 22171 0 3 0x82 thrsleep syz-fuzzer 20785 177027 22171 0 3 0x4000082 nanosleep syz-fuzzer 20785 351354 22171 0 3 0x4000082 thrsleep syz-fuzzer 20785 73194 22171 0 3 0x4000082 thrsleep syz-fuzzer 20785 269902 22171 0 3 0x4000082 thrsleep syz-fuzzer 20785 84807 22171 0 3 0x4000082 thrsleep syz-fuzzer 20785 362620 22171 0 3 0x4000082 thrsleep syz-fuzzer 20785 98001 22171 0 3 0x4000082 thrsleep syz-fuzzer 20785 344731 22171 0 3 0x4000082 thrsleep syz-fuzzer 20785 224882 22171 0 3 0x4000082 kqread syz-fuzzer 22171 448738 99921 0 3 0x10008a pause ksh 99921 499063 87389 0 3 0x92 select sshd 46625 229160 1 0 3 0x100083 ttyin getty 87389 421136 1 0 3 0x80 select sshd 79509 303403 15424 73 7 0x100090 syslogd 15424 393671 1 0 3 0x100082 netio syslogd 66292 83758 1 77 3 0x100090 poll dhclient 31211 267406 1 0 3 0x80 poll dhclient 15024 362307 0 0 3 0x14200 pgzero zerothread 10885 117418 0 0 3 0x14200 aiodoned aiodoned 60444 176324 0 0 3 0x14200 syncer update 81316 336639 0 0 3 0x14200 cleaner cleaner 3829 308913 0 0 3 0x14200 reaper reaper 57910 147542 0 0 3 0x14200 pgdaemon pagedaemon 75692 39942 0 0 3 0x14200 bored crynlk 60773 282469 0 0 3 0x14200 bored crypto 39575 142986 0 0 3 0x40014200 acpi0 acpi0 35035 218125 0 0 3 0x40014200 idle1 17798 322568 0 0 3 0x14200 bored softnet 49956 485519 0 0 3 0x14200 bored systqmp 6383 320833 0 0 3 0x14200 bored systq 65766 355916 0 0 3 0x40014200 bored softclock 68605 301110 0 0 3 0x40014200 idle0 82196 409163 0 0 3 0x14200 bored smr 1 451993 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 4076 (syz-executor.0) thread 0xffff800020b384c8 (137031) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82389260) 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 9459 6321K 6321K 78643K 10671 0 0 pcb 24 9K 11K 78643K 444 0 0 rtable 98 3K 3K 78643K 986 0 0 ifaddr 36 10K 10K 78643K 193 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 2K 78643K 43 0 0 iov 0 0K 24K 78643K 72 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1201 75K 75K 78643K 1793 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 16 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 12 0K 0K 78643K 116 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12628 0 0 file desc 7 21K 33K 78643K 878 0 0 sigio 0 0K 0K 78643K 10 0 0 proc 41 38K 58K 78643K 863 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 117 0 0 in_multi 33 2K 2K 78643K 347 0 0 ether_multi 1 0K 0K 78643K 13 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 54 238K 238K 78643K 54 0 0 exec 0 0K 1K 78643K 325 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 80 20K 30K 78643K 3534 0 0 UVM aobj 51 3K 3K 78643K 56 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 47 0 0 NDP 7 0K 0K 78643K 84 0 0 temp 120 2374K 2443K 78643K 6449 0 0 kqueue 0 0K 0K 78643K 11 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 479 0 472 1 0 1 1 0 8 0 plimitpl 152 110 0 101 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 tcpqe 32 3 0 3 1 1 0 1 0 8 0 tcpcb 544 197 0 193 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 1257 0 1070 12 0 12 12 0 8 0 art_table 32 1258 0 1070 2 0 2 2 0 8 0 art_node 16 265 0 231 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 3 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 112 0 102 1 0 1 1 0 8 0 shmpl 112 54 0 5 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2407 0 955 47 0 47 47 0 8 0 ffsino 272 2407 0 955 97 0 97 97 0 8 0 nchpl 144 3745 0 2113 61 0 61 61 0 8 0 uvmvnodes 72 2875 0 0 53 0 53 53 0 8 0 vnodes 200 2875 0 0 152 0 152 152 0 8 0 namei 1024 12079 0 12079 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 9859 0 9859 11 10 1 6 0 8 1 sigapl 432 973 0 958 3 1 2 3 0 8 0 futexpl 56 7792 0 7792 1 0 1 1 0 8 1 knotepl 112 774 0 755 1 0 1 1 0 8 0 kqueuepl 104 289 0 287 1 0 1 1 0 8 0 pipepl 112 860 0 841 3 2 1 2 0 8 0 fdescpl 488 974 0 958 3 0 3 3 0 8 1 filepl 152 6345 0 6248 8 3 5 7 0 8 1 lockfpl 104 162 0 162 3 2 1 1 0 8 1 lockfspl 32 311 0 311 3 2 1 1 0 8 1 sessionpl 112 42 0 32 1 0 1 1 0 8 0 pgrppl 48 54 0 44 1 0 1 1 0 8 0 ucredpl 96 1663 0 1654 1 0 1 1 0 8 0 zombiepl 144 958 0 958 2 1 1 1 0 8 1 processpl 840 990 0 958 4 0 4 4 0 8 0 procpl 600 2460 0 2418 5 1 4 5 0 8 0 srpgc 64 140 0 140 4 3 1 1 0 8 1 sosppl 128 11 0 11 2 2 0 1 0 8 0 sockpl 384 931 0 913 4 1 3 4 0 8 1 mcl64k 65536 13 0 0 2 0 2 2 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 12 0 0 2 0 2 2 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k2 2112 8 0 0 1 0 1 1 0 8 0 mcl2k 2048 115 0 0 14 1 13 14 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 186 0 0 10 0 10 10 0 8 0 bufpl 256 6883 0 1122 361 0 361 361 0 8 0 anonpl 16 124332 0 118711 61 31 30 42 0 125 3 amapchunkpl 152 7072 0 6987 23 17 6 11 0 158 2 amappl16 192 4437 0 4094 49 30 19 29 0 8 1 amappl15 184 173 0 169 1 0 1 1 0 8 0 amappl14 176 259 0 252 2 1 1 1 0 8 0 amappl13 168 150 0 147 1 0 1 1 0 8 0 amappl12 160 219 0 216 1 0 1 1 0 8 0 amappl11 152 118 0 107 1 0 1 1 0 8 0 amappl10 144 271 0 271 4 3 1 1 0 8 1 amappl9 136 711 0 707 1 0 1 1 0 8 0 amappl8 128 309 0 288 1 0 1 1 0 8 0 amappl7 120 175 0 168 1 0 1 1 0 8 0 amappl6 112 129 0 121 1 0 1 1 0 8 0 amappl5 104 247 0 236 1 0 1 1 0 8 0 amappl4 96 1045 0 1020 2 1 1 2 0 8 0 amappl3 88 437 0 426 1 0 1 1 0 8 0 amappl2 80 6701 0 6647 2 0 2 2 0 8 0 amappl1 72 32585 0 32144 23 13 10 19 0 8 0 amappl 72 2887 0 2852 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 55 0 5 1 0 1 1 0 8 0 uaddrrnd 24 974 0 958 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 974 0 958 1 0 1 1 0 8 0 vmmpekpl 168 11867 0 11842 2 0 2 2 0 8 0 vmmpepl 168 118026 0 116640 100 30 70 76 0 357 9 vmsppl 360 973 0 958 2 0 2 2 0 8 0 pdppl 4096 1956 0 1916 6 0 6 6 0 8 1 pvpl 32 349865 0 340993 149 51 98 115 0 265 15 pmappl 224 973 0 958 3 2 1 2 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 514 0 4 15 0 15 15 0 8 0